Lines Matching full:contents
133 // contents.
146 std::vector<BackgroundContents*> contents;
149 contents.push_back(it->second.contents);
150 return contents;
159 // to store an up-to-date list of the urls. Start tracking contents when they
181 // about it, and the crashed contents can be restarted.
328 // Loads all background contents whose urls have been stored in prefs.
333 const DictionaryValue* contents =
335 if (!contents)
339 for (DictionaryValue::key_iterator it = contents->begin_keys();
340 it != contents->end_keys(); ++it) {
353 LoadBackgroundContentsFromDictionary(profile, *it, contents);
375 const DictionaryValue* contents =
377 if (!contents)
379 LoadBackgroundContentsFromDictionary(profile, extension_id, contents);
385 const DictionaryValue* contents) {
390 contents->GetDictionaryWithoutPathExpansion(extension_id, &dict);
433 BackgroundContents* contents = CreateBackgroundContents(
440 RenderViewHost* render_view_host = contents->render_view_host();
453 BackgroundContents* contents = new BackgroundContents(site, routing_id, this);
457 BackgroundContentsOpenedDetails details = {contents,
465 return contents;
506 BackgroundContents* contents = GetAppBackgroundContents(appid);
507 if (contents) {
508 UnregisterBackgroundContents(contents);
509 // Background contents destructor shuts down the renderer.
510 delete contents;
517 DCHECK(!IsTracked(details->contents));
519 contents_map_[details->application_id].contents = details->contents;
541 return (it != contents_map_.end()) ? it->second.contents : NULL;
545 BackgroundContents* contents) const {
548 if (contents == it->second.contents)