Lines Matching refs:BrowsingInstance
23 // BrowsingInstance class
31 // We further subdivide a BrowsingInstance into SiteInstances, which represent
32 // the documents within each BrowsingInstance that are from the same site and
38 // BrowsingInstance. This is because any two documents from the same site
39 // might be able to script each other if they are in the same BrowsingInstance.
42 // A BrowsingInstance is live as long as any SiteInstance has a reference to
47 // BrowsingInstance has no public members, as it is designed to be
49 // SiteInstance that is part of the same BrowsingInstance, use
55 class CONTENT_EXPORT BrowsingInstance
56 : public base::RefCounted<BrowsingInstance> {
58 // Create a new BrowsingInstance.
59 explicit BrowsingInstance(BrowserContext* context);
61 // Get the browser context to which this BrowsingInstance belongs.
64 // Returns whether this BrowsingInstance has registered a SiteInstance for
80 // BrowsingInstance.
83 // Tracks the number of WebContents currently in this BrowsingInstance.
94 friend class base::RefCounted<BrowsingInstance>;
97 virtual ~BrowsingInstance();
104 // Common browser context to which all SiteInstances in this BrowsingInstance
117 // Number of WebContentses currently using this BrowsingInstance.
120 DISALLOW_COPY_AND_ASSIGN(BrowsingInstance);