Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
URIVisitNotifier Class Reference
Inheritance diagram for URIVisitNotifier:
Inheritance graph
Collaboration diagram for URIVisitNotifier:
Collaboration graph

List of all members.

Public Member Functions

virtual void Visit (nsIContent *aContent)

Public Attributes

nsCAutoString matchURISpec
nsCOMArray< nsIContentcontentVisited

Detailed Description

Definition at line 5334 of file nsDocument.cpp.

Member Function Documentation

virtual void URIVisitNotifier::Visit ( nsIContent aContent) [inline, virtual]

Implements nsUint32ToContentHashEntry::Visitor.

Definition at line 5340 of file nsDocument.cpp.

    // Ensure that the URIs really match before we try to do anything
    nsCOMPtr<nsIURI> uri = nsContentUtils::GetLinkURI(aContent);
    if (!uri) {
      NS_ERROR("Should have found a URI for content in the link map");
    nsCAutoString spec;
    // We use nsCString::Equals here instead of nsIURI::Equals because
    // history matching is all based on spec equality
    if (!spec.Equals(matchURISpec))

    // Throw away the cached link state so it gets refetched by the style
    // system      
    nsCOMPtr<nsILink> link = do_QueryInterface(aContent);
    if (link) {

Here is the call graph for this function:

Member Data Documentation

Definition at line 5338 of file nsDocument.cpp.

Definition at line 5337 of file nsDocument.cpp.

The documentation for this class was generated from the following file: