Home | History | Annotate | Download | only in browser

Lines Matching refs:BackgroundContents

37 // managing the lifetime of BackgroundContents (tracking the set of background
39 // as there are BackgroundContents loaded).
42 // BackgroundContents and their parent app, and shutting them down when the
45 public BackgroundContents::Delegate,
51 // Returns the BackgroundContents associated with the passed application id,
53 BackgroundContents* GetAppBackgroundContents(const string16& appid);
55 // Returns all currently opened BackgroundContents (used by the task manager).
56 std::vector<BackgroundContents*> GetBackgroundContents() const;
60 // BackgroundContents::Delegate implementation.
66 // Gets the parent application id for the passed BackgroundContents. Returns
68 // BackgroundContents has already shut down).
69 const string16& GetParentApplicationId(BackgroundContents* contents) const;
71 // Creates a new BackgroundContents using the passed |site| and
77 BackgroundContents* CreateBackgroundContents(SiteInstance* site,
84 // If the manifest doesn't specify one, then load the BackgroundContents
112 // Loads all registered BackgroundContents at startup.
121 // Load the manifest-specified BackgroundContents for all apps for the
125 // Creates a single BackgroundContents associated with the specified |appid|,
133 // Invoked when a new BackgroundContents is opened.
136 // Invoked when a BackgroundContents object is destroyed.
137 void BackgroundContentsShutdown(BackgroundContents* contents);
141 // RegisterBackgroundContents() for the same BackgroundContents will do
143 void RegisterBackgroundContents(BackgroundContents* contents);
145 // Stops loading the passed BackgroundContents on startup.
146 void UnregisterBackgroundContents(BackgroundContents* contents);
148 // Unregisters and deletes the BackgroundContents associated with the
152 // Returns true if this BackgroundContents is in the contents_list_.
153 bool IsTracked(BackgroundContents* contents) const;
160 // Information we track about each BackgroundContents.
162 // The BackgroundContents whose information we are tracking.
163 BackgroundContents* contents;
164 // The name of the top level frame for this BackgroundContents.
168 // Map associating currently loaded BackgroundContents with their parent