contents 24 android_webview/browser/renderer_host/aw_render_view_host_ext.cc AwRenderViewHostExtClient* client, content::WebContents* contents) contents 25 android_webview/browser/renderer_host/aw_render_view_host_ext.cc : content::WebContentsObserver(contents), contents 45 android_webview/browser/renderer_host/aw_render_view_host_ext.h AwRenderViewHostExtClient* client, content::WebContents* contents); contents 22 android_webview/browser/renderer_host/print_manager.cc PrintManager::PrintManager(content::WebContents* contents, contents 26 android_webview/browser/renderer_host/print_manager.cc : content::WebContentsObserver(contents), contents 45 android_webview/browser/renderer_host/print_manager.h PrintManager(content::WebContents* contents, contents 48 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java private void doArchiveTest(final AwContents contents, final String path, contents 69 android_webview/javatests/src/org/chromium/android_webview/test/ArchiveTest.java contents.saveWebArchive(path, autoName, callback); contents 142 android_webview/javatests/src/org/chromium/android_webview/test/WebViewAsynchronousFindApisTest.java contents().findNext(true); contents 55 android_webview/javatests/src/org/chromium/android_webview/test/WebViewFindApisTestBase.java final AwContents contents = contents 58 android_webview/javatests/src/org/chromium/android_webview/test/WebViewFindApisTestBase.java loadDataSync(contents, contentsClient.getOnPageFinishedHelper(), contents 60 android_webview/javatests/src/org/chromium/android_webview/test/WebViewFindApisTestBase.java return contents; contents 40 android_webview/native/aw_autofill_manager_delegate.cc AwAutofillManagerDelegate::AwAutofillManagerDelegate(WebContents* contents) contents 41 android_webview/native/aw_autofill_manager_delegate.cc : web_contents_(contents), contents 80 android_webview/native/aw_settings.cc AwContents* contents = AwContents::FromWebContents(web_contents()); contents 81 android_webview/native/aw_settings.cc if (!contents) return NULL; contents 82 android_webview/native/aw_settings.cc return contents->render_view_host_ext(); contents 156 android_webview/native/aw_settings.cc AwContents* contents = AwContents::FromWebContents(web_contents()); contents 157 android_webview/native/aw_settings.cc if (!contents) return; contents 159 android_webview/native/aw_settings.cc contents->SetSaveFormData(Java_AwSettings_getSaveFormDataLocked(env, obj)); contents 182 android_webview/native/aw_web_contents_delegate.cc void AwWebContentsDelegate::ActivateContents(WebContents* contents) { contents 51 android_webview/native/aw_web_contents_delegate.h virtual void ActivateContents(content::WebContents* contents) OVERRIDE; contents 25 android_webview/native/external_video_surface_container_impl.h ExternalVideoSurfaceContainerImpl(content::WebContents* contents); contents 167 android_webview/renderer/aw_content_renderer_client.cc std::string contents; contents 169 android_webview/renderer/aw_content_renderer_client.cc contents = AwResource::GetNoDomainPageContent(); contents 171 android_webview/renderer/aw_content_renderer_client.cc contents = AwResource::GetLoadErrorPageContent(); contents 172 android_webview/renderer/aw_content_renderer_client.cc ReplaceSubstringsAfterOffset(&contents, 0, "%e", err); contents 175 android_webview/renderer/aw_content_renderer_client.cc ReplaceSubstringsAfterOffset(&contents, 0, "%s", contents 177 android_webview/renderer/aw_content_renderer_client.cc *error_html = contents; contents 377 apps/app_window.cc WebContents* contents = contents 379 apps/app_window.cc if (!contents) { contents 387 apps/app_window.cc return contents; contents 838 apps/app_window.cc void AppWindow::CloseContents(WebContents* contents) { contents 360 apps/app_window.h virtual void CloseContents(content::WebContents* contents) OVERRIDE; contents 30 ash/shell_factory.h ASH_EXPORT views::Widget* CreateStatusArea(views::View* contents); contents 30 ash/system/tray/fixed_sized_scroll_view.cc contents()->GetPreferredSize() : fixed_size_; contents 37 ash/system/tray/fixed_sized_scroll_view.cc gfx::Rect bounds = gfx::Rect(contents()->GetPreferredSize()); contents 39 ash/system/tray/fixed_sized_scroll_view.cc contents()->SetBoundsRect(bounds); contents 43 ash/system/tray/fixed_sized_scroll_view.cc gfx::Rect bounds = contents()->bounds(); contents 45 ash/system/tray/fixed_sized_scroll_view.cc contents()->SetBoundsRect(bounds); contents 50 ash/system/tray/fixed_sized_scroll_view.cc gfx::Rect bounds = gfx::Rect(contents()->GetPreferredSize()); contents 52 ash/system/tray/fixed_sized_scroll_view.cc contents()->SetBoundsRect(bounds); contents 413 ash/system/tray/tray_background_view.cc void TrayBackgroundView::SetContents(views::View* contents) { contents 415 ash/system/tray/tray_background_view.cc AddChildView(contents); contents 102 ash/system/tray/tray_background_view.h void SetContents(views::View* contents); contents 29 ash/system/tray/tray_notification_view.cc void TrayNotificationView::InitView(views::View* contents) { contents 79 ash/system/tray/tray_notification_view.cc layout->AddView(contents); contents 37 ash/system/tray/tray_notification_view.h void InitView(views::View* contents); contents 590 base/debug/stack_trace_posix.cc std::string contents; contents 591 base/debug/stack_trace_posix.cc if (!ReadProcMaps(&contents)) { contents 597 base/debug/stack_trace_posix.cc if (!ParseProcMaps(contents, ®ions_)) { contents 131 base/file_util.cc std::string* contents, contents 133 base/file_util.cc if (contents) contents 134 base/file_util.cc contents->clear(); contents 150 base/file_util.cc if (contents) contents 151 base/file_util.cc contents->append(buf, std::min(len, max_size - size)); contents 165 base/file_util.cc bool ReadFileToString(const FilePath& path, std::string* contents) { contents 166 base/file_util.cc return ReadFileToString(path, contents, std::numeric_limits<size_t>::max()); contents 145 base/file_util.h BASE_EXPORT bool ReadFileToString(const FilePath& path, std::string* contents); contents 156 base/file_util.h std::string* contents, contents 226 base/file_util_unittest.cc const std::wstring& contents) { contents 230 base/file_util_unittest.cc file << contents; contents 236 base/file_util_unittest.cc wchar_t contents[64]; contents 240 base/file_util_unittest.cc file.getline(contents, arraysize(contents)); contents 242 base/file_util_unittest.cc return std::wstring(contents); contents 559 base/file_util_unittest.cc std::wstring contents = ReadTextFile(link_from); contents 560 base/file_util_unittest.cc EXPECT_EQ(bogus_content, contents); contents 373 base/memory/shared_memory_unittest.cc StringPiece contents = "Hello World"; contents 376 base/memory/shared_memory_unittest.cc ASSERT_TRUE(writable_shmem.CreateAndMapAnonymous(contents.size())); contents 377 base/memory/shared_memory_unittest.cc memcpy(writable_shmem.memory(), contents.data(), contents.size()); contents 385 base/memory/shared_memory_unittest.cc ASSERT_TRUE(readonly_shmem.Map(contents.size())); contents 386 base/memory/shared_memory_unittest.cc EXPECT_EQ(contents, contents 388 base/memory/shared_memory_unittest.cc contents.size())); contents 392 base/memory/shared_memory_unittest.cc ASSERT_TRUE(writable_shmem.Map(contents.size())); contents 418 base/memory/shared_memory_unittest.cc NULL, contents.size(), PROT_READ | PROT_WRITE, MAP_SHARED, handle.fd, 0); contents 448 base/memory/shared_memory_unittest.cc StringPiece contents = "Hello World"; contents 451 base/memory/shared_memory_unittest.cc ASSERT_TRUE(shmem.CreateAndMapAnonymous(contents.size())); contents 452 base/memory/shared_memory_unittest.cc memcpy(shmem.memory(), contents.data(), contents.size()); contents 459 base/memory/shared_memory_unittest.cc ASSERT_TRUE(shared.Map(contents.size())); contents 461 base/memory/shared_memory_unittest.cc contents, contents 462 base/memory/shared_memory_unittest.cc StringPiece(static_cast<const char*>(shared.memory()), contents.size())); contents 467 base/memory/shared_memory_unittest.cc ASSERT_TRUE(readonly.Map(contents.size())); contents 468 base/memory/shared_memory_unittest.cc EXPECT_EQ(contents, contents 470 base/memory/shared_memory_unittest.cc contents.size())); contents 108 base/process/internal_linux.cc void ParseProcStat(const std::string& contents, ProcStatMap* output) { contents 111 base/process/internal_linux.cc SplitStringIntoKeyValuePairs(contents, ' ', '\n', &key_value_pairs); contents 159 base/process/internal_linux.cc std::string contents; contents 160 base/process/internal_linux.cc if (!ReadProcFile(path, &contents)) contents 163 base/process/internal_linux.cc ParseProcStat(contents, &proc_stat); contents 32 base/sys_info_linux.cc std::string contents; contents 33 base/sys_info_linux.cc base::ReadFileToString(base::FilePath("/proc/sys/kernel/shmmax"), &contents); contents 34 base/sys_info_linux.cc DCHECK(!contents.empty()); contents 35 base/sys_info_linux.cc if (!contents.empty() && contents[contents.length() - 1] == '\n') { contents 36 base/sys_info_linux.cc contents.erase(contents.length() - 1); contents 40 base/sys_info_linux.cc if (!base::StringToInt64(contents, &limit)) { contents 84 base/sys_info_linux.cc std::string contents; contents 85 base/sys_info_linux.cc ReadFileToString(FilePath("/proc/cpuinfo"), &contents); contents 86 base/sys_info_linux.cc DCHECK(!contents.empty()); contents 87 base/sys_info_linux.cc if (!contents.empty()) { contents 88 base/sys_info_linux.cc std::istringstream iss(contents); contents 246 cc/trees/layer_tree_host_impl_unittest.cc scoped_ptr<LayerImpl> contents = contents 248 cc/trees/layer_tree_host_impl_unittest.cc contents->SetDrawsContent(true); contents 249 cc/trees/layer_tree_host_impl_unittest.cc contents->SetBounds(content_size); contents 250 cc/trees/layer_tree_host_impl_unittest.cc contents->SetContentBounds(content_size); contents 251 cc/trees/layer_tree_host_impl_unittest.cc contents->SetPosition(gfx::PointF()); contents 252 cc/trees/layer_tree_host_impl_unittest.cc contents->SetAnchorPoint(gfx::PointF()); contents 254 cc/trees/layer_tree_host_impl_unittest.cc scroll->AddChild(contents.Pass()); contents 1251 cc/trees/layer_tree_host_impl_unittest.cc scoped_ptr<LayerImpl> contents = contents 1253 cc/trees/layer_tree_host_impl_unittest.cc contents->SetDrawsContent(true); contents 1254 cc/trees/layer_tree_host_impl_unittest.cc contents->SetBounds(content_size); contents 1255 cc/trees/layer_tree_host_impl_unittest.cc contents->SetContentBounds(content_size); contents 1262 cc/trees/layer_tree_host_impl_unittest.cc scroll->AddChild(contents.Pass()); contents 1358 cc/trees/layer_tree_host_impl_unittest.cc scoped_ptr<LayerImpl> contents = contents 1360 cc/trees/layer_tree_host_impl_unittest.cc contents->SetDrawsContent(true); contents 1361 cc/trees/layer_tree_host_impl_unittest.cc contents->SetBounds(content_size); contents 1362 cc/trees/layer_tree_host_impl_unittest.cc contents->SetContentBounds(content_size); contents 1373 cc/trees/layer_tree_host_impl_unittest.cc scroll->AddChild(contents.Pass()); contents 6185 cc/trees/layer_tree_host_impl_unittest.cc scoped_ptr<LayerImpl> contents = contents 6187 cc/trees/layer_tree_host_impl_unittest.cc contents->SetDrawsContent(true); contents 6188 cc/trees/layer_tree_host_impl_unittest.cc contents->SetBounds(content_size); contents 6189 cc/trees/layer_tree_host_impl_unittest.cc contents->SetContentBounds(content_size); contents 6190 cc/trees/layer_tree_host_impl_unittest.cc contents->SetPosition(gfx::PointF()); contents 6191 cc/trees/layer_tree_host_impl_unittest.cc contents->SetAnchorPoint(gfx::PointF()); contents 6193 cc/trees/layer_tree_host_impl_unittest.cc outer_scroll->AddChild(contents.Pass()); contents 261 chrome/browser/accessibility/accessibility_extension_api.cc content::WebContents* contents = NULL; contents 268 chrome/browser/accessibility/accessibility_extension_api.cc &contents, contents 279 chrome/browser/accessibility/accessibility_extension_api.cc InfoBarService::FromWebContents(contents)->infobar_manager(); contents 208 chrome/browser/android/tab_android.cc std::vector<content::WebContents*> contents = contents 211 chrome/browser/android/tab_android.cc for (size_t i = 0; i < contents.size(); ++i) { contents 213 chrome/browser/android/tab_android.cc GetPrerenderContents(contents.at(i)); contents 32 chrome/browser/apps/ephemeral_app_launcher.cc Profile* ProfileForWebContents(content::WebContents* contents) { contents 33 chrome/browser/apps/ephemeral_app_launcher.cc if (!contents) contents 36 chrome/browser/apps/ephemeral_app_launcher.cc return Profile::FromBrowserContext(contents->GetBrowserContext()); contents 39 chrome/browser/apps/ephemeral_app_launcher.cc gfx::NativeWindow NativeWindowForWebContents(content::WebContents* contents) { contents 40 chrome/browser/apps/ephemeral_app_launcher.cc if (!contents) contents 43 chrome/browser/apps/ephemeral_app_launcher.cc return contents->GetView()->GetTopLevelNativeWindow(); contents 44 chrome/browser/autocomplete/autocomplete_browsertest.cc base::UTF16ToUTF8(match.contents).c_str(), contents 80 chrome/browser/autocomplete/autocomplete_match.cc contents(match.contents), contents 116 chrome/browser/autocomplete/autocomplete_match.cc contents = match.contents; contents 176 chrome/browser/autocomplete/autocomplete_match.cc (elem1.contents < elem2.contents) : (elem1.relevance > elem2.relevance); contents 485 chrome/browser/autocomplete/autocomplete_match.cc ValidateClassifications(contents, contents_class); contents 296 chrome/browser/autocomplete/autocomplete_match.h base::string16 contents; contents 134 chrome/browser/autocomplete/autocomplete_provider_unittest.cc match.contents = match.fill_into_edit; contents 63 chrome/browser/autocomplete/autocomplete_result.cc (elem1.contents < elem2.contents) : contents 135 chrome/browser/autocomplete/autocomplete_result.cc DCHECK_EQ(AutocompleteMatch::SanitizeString(i->contents), i->contents); contents 353 chrome/browser/autocomplete/autocomplete_result.cc DCHECK_EQ(AutocompleteMatch::SanitizeString(match.contents), match.contents); contents 167 chrome/browser/autocomplete/base_search_provider.cc match.contents); contents 449 chrome/browser/autocomplete/base_search_provider.cc match.contents = suggestion.match_contents(); contents 460 chrome/browser/autocomplete/base_search_provider.cc suggestion.suggestion().length() - match.contents.length())); contents 889 chrome/browser/autocomplete/base_search_provider.cc if (i->contents == match.contents && i->type == match.type) { contents 166 chrome/browser/autocomplete/bookmark_provider.cc match.contents = net::FormatUrl(url, languages_, contents 173 chrome/browser/autocomplete/bookmark_provider.cc match.contents); contents 141 chrome/browser/autocomplete/builtin_provider.cc match.contents = match_string; contents 83 chrome/browser/autocomplete/extension_app_provider.cc match.contents = AutocompleteMatch::SanitizeString(app.name); contents 155 chrome/browser/autocomplete/extension_app_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16(cases[i].match_contents), match.contents); contents 275 chrome/browser/autocomplete/history_quick_provider.cc match.contents = net::FormatUrl(info.url(), languages_, format_types, contents 278 chrome/browser/autocomplete/history_quick_provider.cc SpansFromTermMatch(new_matches, match.contents.length(), true); contents 449 chrome/browser/autocomplete/history_url_provider.cc match.contents = display_string; contents 457 chrome/browser/autocomplete/history_url_provider.cc AutocompleteMatch::ClassifyMatchInString(text, match.contents, contents 463 chrome/browser/autocomplete/history_url_provider.cc match.contents.length(), ACMatchClassification::URL, contents 1101 chrome/browser/autocomplete/history_url_provider.cc match.contents = net::FormatUrl(info.url(), languages, contents 1108 chrome/browser/autocomplete/history_url_provider.cc inline_autocomplete_offset - match_start, match.contents.length(), contents 1112 chrome/browser/autocomplete/history_url_provider.cc match.contents.length(), ACMatchClassification::URL, contents 846 chrome/browser/autocomplete/history_url_provider_unittest.cc const char* contents; contents 908 chrome/browser/autocomplete/history_url_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16(test_cases[i].contents), match.contents); contents 487 chrome/browser/autocomplete/keyword_provider.cc match->contents.assign( contents 496 chrome/browser/autocomplete/keyword_provider.cc match->contents.assign(element->short_name()); contents 497 chrome/browser/autocomplete/keyword_provider.cc AutocompleteMatch::ClassifyLocationInString(0, match->contents.length(), contents 498 chrome/browser/autocomplete/keyword_provider.cc match->contents.length(), ACMatchClassification::NONE, contents 513 chrome/browser/autocomplete/keyword_provider.cc match->contents.assign(l10n_util::GetStringFUTF16(message_id, contents 519 chrome/browser/autocomplete/keyword_provider.cc remaining_input.length(), match->contents.length(), contents 592 chrome/browser/autocomplete/keyword_provider.cc match->contents.assign(base::UTF8ToUTF16(suggestion.description)); contents 253 chrome/browser/autocomplete/keyword_provider_unittest.cc &AutocompleteMatch::contents); contents 292 chrome/browser/autocomplete/search_provider.cc match.contents.assign(l10n_util::GetStringUTF16(IDS_EMPTY_KEYWORD_VALUE)); contents 1302 chrome/browser/autocomplete/search_provider.cc match.contents = navigation.match_contents(); contents 162 chrome/browser/autocomplete/search_provider_unittest.cc bool FindMatchWithContents(const base::string16& contents, contents 389 chrome/browser/autocomplete/search_provider_unittest.cc bool SearchProviderTest::FindMatchWithContents(const base::string16& contents, contents 393 chrome/browser/autocomplete/search_provider_unittest.cc if (i->contents == contents) { contents 443 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16(expected_matches[i]), matches[i].contents) << contents 1167 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16(cases[i].matches[j]), matches[j].contents) << contents 1182 chrome/browser/autocomplete/search_provider_unittest.cc std::string contents; contents 1436 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16(cases[i].matches[j].contents), contents 1437 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].contents) << description; contents 1443 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(kNotApplicable, cases[i].matches[j].contents) << contents 1455 chrome/browser/autocomplete/search_provider_unittest.cc std::string contents; contents 1697 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16(cases[i].matches[j].contents), contents 1698 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].contents) << description; contents 1704 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(kNotApplicable, cases[i].matches[j].contents) << contents 1719 chrome/browser/autocomplete/search_provider_unittest.cc std::string contents; contents 2179 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16(cases[i].matches[j].contents), contents 2180 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].contents) << description; contents 2188 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(kNotApplicable, cases[i].matches[j].contents) << contents 2201 chrome/browser/autocomplete/search_provider_unittest.cc std::string contents; contents 2647 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16(cases[i].matches[j].contents), contents 2648 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].contents) << description; contents 2656 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(kNotApplicable, cases[i].matches[j].contents) << contents 2742 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].contents) << description; contents 2851 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].contents); contents 2977 chrome/browser/autocomplete/search_provider_unittest.cc matches[j].contents); contents 3244 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(url, match_inline.contents); contents 3251 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(url, match_prevent.contents); contents 3264 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(ASCIIToUTF16("www.wow.com"), match.contents); contents 3484 chrome/browser/autocomplete/search_provider_unittest.cc std::string contents; contents 3553 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(match.contents, contents 3554 chrome/browser/autocomplete/search_provider_unittest.cc base::UTF16ToUTF8(matches[j].contents)); contents 3566 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].contents, kNotApplicable); contents 3580 chrome/browser/autocomplete/search_provider_unittest.cc std::string contents; contents 3702 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].contents, contents 3703 chrome/browser/autocomplete/search_provider_unittest.cc base::UTF16ToUTF8(matches[j].contents)); contents 3734 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(input_str, base::UTF16ToUTF8(matches[0].contents)); contents 3743 chrome/browser/autocomplete/search_provider_unittest.cc std::string contents; contents 3816 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].contents, contents 3817 chrome/browser/autocomplete/search_provider_unittest.cc base::UTF16ToUTF8(matches[j].contents)); contents 3822 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(cases[i].matches[j].contents, kNotApplicable); contents 3832 chrome/browser/autocomplete/search_provider_unittest.cc std::string contents; contents 3898 chrome/browser/autocomplete/search_provider_unittest.cc EXPECT_EQ(match.contents, base::UTF16ToUTF8(matches[j].contents)); contents 153 chrome/browser/autocomplete/shortcuts_backend.cc normalized_match.contents, contents 89 chrome/browser/autocomplete/shortcuts_backend_unittest.cc match.contents = base::ASCIIToUTF16("test"); contents 95 chrome/browser/autocomplete/shortcuts_backend_unittest.cc new TemplateURLRef::SearchTermsArgs(match.contents)); contents 223 chrome/browser/autocomplete/shortcuts_backend_unittest.cc match.contents = base::UTF8ToUTF16("roosevelt"); contents 239 chrome/browser/autocomplete/shortcuts_backend_unittest.cc EXPECT_EQ(match.fill_into_edit, match_core.contents); contents 258 chrome/browser/autocomplete/shortcuts_backend_unittest.cc EXPECT_EQ(shortcut.match_core.contents, contents 259 chrome/browser/autocomplete/shortcuts_backend_unittest.cc shortcut_iter->second.match_core.contents); contents 262 chrome/browser/autocomplete/shortcuts_backend_unittest.cc shortcut.match_core.contents = base::ASCIIToUTF16("Google Web Search"); contents 268 chrome/browser/autocomplete/shortcuts_backend_unittest.cc EXPECT_EQ(shortcut.match_core.contents, contents 269 chrome/browser/autocomplete/shortcuts_backend_unittest.cc shortcut_iter->second.match_core.contents); contents 236 chrome/browser/autocomplete/shortcuts_provider.cc match.contents = shortcut.match_core.contents; contents 300 chrome/browser/autocomplete/shortcuts_provider.cc match.contents, match.contents_class); contents 51 chrome/browser/autocomplete/shortcuts_provider_unittest.cc std::string contents; contents 322 chrome/browser/autocomplete/shortcuts_provider_unittest.cc ASCIIToUTF16(cur.contents), cur.contents_class, contents 762 chrome/browser/autocomplete/shortcuts_provider_unittest.cc match.contents = ASCIIToUTF16(shortcuts_to_test_delete[0].contents); contents 777 chrome/browser/autocomplete/shortcuts_provider_unittest.cc match.contents = ASCIIToUTF16(shortcuts_to_test_delete[3].contents); contents 236 chrome/browser/autocomplete/zero_suggest_provider.cc match.contents = net::FormatUrl(navigation.url(), languages, contents 240 chrome/browser/autocomplete/zero_suggest_provider.cc match.contents); contents 243 chrome/browser/autocomplete/zero_suggest_provider.cc match.contents.length(), ACMatchClassification::URL, contents 306 chrome/browser/background/background_contents_service.cc std::vector<BackgroundContents*> contents; contents 309 chrome/browser/background/background_contents_service.cc contents.push_back(it->second.contents); contents 310 chrome/browser/background/background_contents_service.cc return contents; contents 527 chrome/browser/background/background_contents_service.cc const base::DictionaryValue* contents = contents 529 chrome/browser/background/background_contents_service.cc if (!contents) contents 534 chrome/browser/background/background_contents_service.cc for (base::DictionaryValue::Iterator it(*contents); contents 551 chrome/browser/background/background_contents_service.cc LoadBackgroundContentsFromDictionary(profile, it.key(), contents); contents 581 chrome/browser/background/background_contents_service.cc const base::DictionaryValue* contents = contents 583 chrome/browser/background/background_contents_service.cc if (!contents) contents 585 chrome/browser/background/background_contents_service.cc LoadBackgroundContentsFromDictionary(profile, extension_id, contents); contents 591 chrome/browser/background/background_contents_service.cc const base::DictionaryValue* contents) { contents 597 chrome/browser/background/background_contents_service.cc if (!contents->GetDictionaryWithoutPathExpansion(extension_id, &dict) || contents 642 chrome/browser/background/background_contents_service.cc BackgroundContents* contents = CreateBackgroundContents( contents 653 chrome/browser/background/background_contents_service.cc contents->web_contents()->GetController().LoadURL( contents 665 chrome/browser/background/background_contents_service.cc BackgroundContents* contents = new BackgroundContents( contents 670 chrome/browser/background/background_contents_service.cc BackgroundContentsOpenedDetails details = {contents, contents 681 chrome/browser/background/background_contents_service.cc return contents; contents 715 chrome/browser/background/background_contents_service.cc const base::DictionaryValue* contents = contents 717 chrome/browser/background/background_contents_service.cc return contents->HasKey(app); contents 732 chrome/browser/background/background_contents_service.cc BackgroundContents* contents = GetAppBackgroundContents(appid); contents 733 chrome/browser/background/background_contents_service.cc if (contents) { contents 734 chrome/browser/background/background_contents_service.cc UnregisterBackgroundContents(contents); contents 736 chrome/browser/background/background_contents_service.cc delete contents; contents 743 chrome/browser/background/background_contents_service.cc DCHECK(!IsTracked(details->contents)); contents 745 chrome/browser/background/background_contents_service.cc contents_map_[details->application_id].contents = details->contents; contents 769 chrome/browser/background/background_contents_service.cc return (it != contents_map_.end()) ? it->second.contents : NULL; contents 773 chrome/browser/background/background_contents_service.cc BackgroundContents* contents) const { contents 776 chrome/browser/background/background_contents_service.cc if (contents == it->second.contents) contents 97 chrome/browser/background/background_contents_service.h const base::string16& GetParentApplicationId(BackgroundContents* contents) const; contents 156 chrome/browser/background/background_contents_service.h const base::DictionaryValue* contents); contents 174 chrome/browser/background/background_contents_service.h void BackgroundContentsShutdown(BackgroundContents* contents); contents 180 chrome/browser/background/background_contents_service.h void RegisterBackgroundContents(BackgroundContents* contents); contents 183 chrome/browser/background/background_contents_service.h void UnregisterBackgroundContents(BackgroundContents* contents); contents 190 chrome/browser/background/background_contents_service.h bool IsTracked(BackgroundContents* contents) const; contents 208 chrome/browser/background/background_contents_service.h BackgroundContents* contents; contents 226 chrome/browser/background/background_contents_service_unittest.cc MockBackgroundContents* contents = new MockBackgroundContents(&profile); contents 227 chrome/browser/background/background_contents_service_unittest.cc EXPECT_FALSE(service.IsTracked(contents)); contents 228 chrome/browser/background/background_contents_service_unittest.cc contents->SendOpenedNotification(&service); contents 229 chrome/browser/background/background_contents_service_unittest.cc EXPECT_TRUE(service.IsTracked(contents)); contents 230 chrome/browser/background/background_contents_service_unittest.cc delete contents; contents 231 chrome/browser/background/background_contents_service_unittest.cc EXPECT_FALSE(service.IsTracked(contents)); contents 243 chrome/browser/background/background_contents_service_unittest.cc scoped_ptr<MockBackgroundContents> contents( contents 246 chrome/browser/background/background_contents_service_unittest.cc contents->SendOpenedNotification(&service); contents 248 chrome/browser/background/background_contents_service_unittest.cc contents->Navigate(url); contents 250 chrome/browser/background/background_contents_service_unittest.cc EXPECT_EQ(url.spec(), GetPrefURLForApp(&profile, contents->appid())); contents 253 chrome/browser/background/background_contents_service_unittest.cc contents->Navigate(url2); contents 255 chrome/browser/background/background_contents_service_unittest.cc EXPECT_EQ(url.spec(), GetPrefURLForApp(&profile, contents->appid())); contents 268 chrome/browser/background/background_contents_service_unittest.cc MockBackgroundContents* contents = new MockBackgroundContents(&profile); contents 270 chrome/browser/background/background_contents_service_unittest.cc contents->SendOpenedNotification(&service); contents 271 chrome/browser/background/background_contents_service_unittest.cc contents->Navigate(url); contents 273 chrome/browser/background/background_contents_service_unittest.cc EXPECT_EQ(url.spec(), GetPrefURLForApp(&profile, contents->appid())); contents 276 chrome/browser/background/background_contents_service_unittest.cc contents->MockClose(&profile); contents 290 chrome/browser/background/background_contents_service_unittest.cc scoped_ptr<MockBackgroundContents> contents(new MockBackgroundContents( contents 292 chrome/browser/background/background_contents_service_unittest.cc contents->SendOpenedNotification(&service); contents 293 chrome/browser/background/background_contents_service_unittest.cc contents->Navigate(url); contents 295 chrome/browser/background/background_contents_service_unittest.cc EXPECT_EQ(url.spec(), GetPrefURLForApp(&profile, contents->appid())); contents 303 chrome/browser/background/background_contents_service_unittest.cc scoped_ptr<MockBackgroundContents> contents(new MockBackgroundContents( contents 305 chrome/browser/background/background_contents_service_unittest.cc contents->SendOpenedNotification(&service); contents 306 chrome/browser/background/background_contents_service_unittest.cc contents->Navigate(url); contents 322 chrome/browser/background/background_contents_service_unittest.cc MockBackgroundContents* contents = new MockBackgroundContents(&profile, contents 326 chrome/browser/background/background_contents_service_unittest.cc contents->SendOpenedNotification(&service); contents 327 chrome/browser/background/background_contents_service_unittest.cc EXPECT_EQ(contents, service.GetAppBackgroundContents(contents->appid())); contents 337 chrome/browser/background/background_contents_service_unittest.cc contents->Navigate(url); contents 342 chrome/browser/background/background_contents_service_unittest.cc EXPECT_FALSE(service.IsTracked(contents)); contents 126 chrome/browser/background/background_mode_manager_unittest.cc const base::string16& contents) OVERRIDE {} contents 658 chrome/browser/captive_portal/captive_portal_browsertest.cc WebContents* contents = controller->GetWebContents(); contents 660 chrome/browser/captive_portal/captive_portal_browsertest.cc ASSERT_EQ(1u, tabs_needing_navigation_.count(contents)); contents 661 chrome/browser/captive_portal/captive_portal_browsertest.cc ASSERT_EQ(0u, tabs_navigated_to_final_destination_.count(contents)); contents 663 chrome/browser/captive_portal/captive_portal_browsertest.cc if (contents->GetTitle() != base::ASCIIToUTF16(kInternetConnectedTitle)) contents 665 chrome/browser/captive_portal/captive_portal_browsertest.cc tabs_navigated_to_final_destination_.insert(contents); contents 1963 chrome/browser/chrome_content_browser_client.cc WebContents* contents = contents 1965 chrome/browser/chrome_content_browser_client.cc if (!contents) { contents 1973 chrome/browser/chrome_content_browser_client.cc Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext()); contents 2003 chrome/browser/chrome_content_browser_client.cc render_view_id, callback_context, contents); contents 44 chrome/browser/chromeos/dbus/printer_service_provider.cc void ActivateContents(Browser* browser, content::WebContents* contents) { contents 46 chrome/browser/chromeos/dbus/printer_service_provider.cc browser->tab_strip_model()->GetIndexOfWebContents(contents), false); contents 207 chrome/browser/chromeos/drive/file_cache_unittest.cc std::string contents; contents 208 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(base::ReadFileToString(cache_file_path, &contents)); contents 209 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(src_contents, contents); contents 230 chrome/browser/chromeos/drive/file_cache_unittest.cc contents.clear(); contents 231 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_TRUE(base::ReadFileToString(cache_file_path, &contents)); contents 232 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ(src_contents, contents); contents 494 chrome/browser/chromeos/drive/file_cache_unittest.cc std::string contents; contents 496 chrome/browser/chromeos/drive/file_cache_unittest.cc &contents)); contents 497 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ("koo", contents); contents 498 chrome/browser/chromeos/drive/file_cache_unittest.cc contents.clear(); contents 500 chrome/browser/chromeos/drive/file_cache_unittest.cc &contents)); contents 501 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ("kyu", contents); contents 507 chrome/browser/chromeos/drive/file_cache_unittest.cc contents.clear(); contents 509 chrome/browser/chromeos/drive/file_cache_unittest.cc &contents)); contents 510 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ("koo", contents); contents 511 chrome/browser/chromeos/drive/file_cache_unittest.cc contents.clear(); contents 513 chrome/browser/chromeos/drive/file_cache_unittest.cc &contents)); contents 514 chrome/browser/chromeos/drive/file_cache_unittest.cc EXPECT_EQ("kyu", contents); contents 320 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc std::string contents = "test content"; contents 321 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc EXPECT_TRUE(google_apis::test_util::WriteStringToFile(temp_file, contents)); contents 383 chrome/browser/chromeos/drive/file_system/copy_operation_unittest.cc EXPECT_EQ(contents, copied_contents); contents 50 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc content::WebContents* const contents = function->GetAssociatedWebContents(); contents 52 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc contents ? contents->GetRenderViewHost() : NULL; contents 59 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc GetLoggedInProfileInfoList(content::WebContents* contents) { contents 87 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc if (contents) { contents 89 chrome/browser/chromeos/extensions/file_manager/private_api_misc.cc ash::GetAvatarImageForContext(contents->GetBrowserContext()); contents 317 chrome/browser/chromeos/first_run/drive_first_run_controller.cc BackgroundContents* contents = background_contents_service contents 326 chrome/browser/chromeos/first_run/drive_first_run_controller.cc contents->web_contents()->GetController().LoadURL( contents 629 chrome/browser/chromeos/login/oauth2_browsertest.cc void JsExpect(content::WebContents* contents, contents 633 chrome/browser/chromeos/login/oauth2_browsertest.cc contents, contents 571 chrome/browser/chromeos/memory/oom_priority_manager.cc WebContents* contents = model->GetWebContentsAt(i); contents 572 chrome/browser/chromeos/memory/oom_priority_manager.cc if (!contents->IsCrashed()) { contents 576 chrome/browser/chromeos/memory/oom_priority_manager.cc IsReloadableUI(contents->GetLastCommittedURL()); contents 577 chrome/browser/chromeos/memory/oom_priority_manager.cc stats.is_playing_audio = chrome::IsPlayingAudio(contents); contents 581 chrome/browser/chromeos/memory/oom_priority_manager.cc stats.last_active = contents->GetLastActiveTime(); contents 582 chrome/browser/chromeos/memory/oom_priority_manager.cc stats.renderer_handle = contents->GetRenderProcessHost()->GetHandle(); contents 583 chrome/browser/chromeos/memory/oom_priority_manager.cc stats.title = contents->GetTitle(); contents 584 chrome/browser/chromeos/memory/oom_priority_manager.cc stats.tab_contents_id = IdFromWebContents(contents); contents 79 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc std::map<std::string, std::string> contents; contents 80 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc resource_cache_->LoadAllSubkeys(kKey1, &contents); contents 81 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc ASSERT_EQ(1u, contents.size()); contents 82 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_EQ(kData2, contents.begin()->second); contents 91 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc resource_cache_->LoadAllSubkeys(kKey1, &contents); contents 92 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_TRUE(contents.empty()); contents 102 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc std::map<std::string, std::string> contents; contents 103 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc resource_cache_->LoadAllSubkeys(kKey1, &contents); contents 104 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc ASSERT_EQ(1u, contents.size()); contents 105 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_EQ(kData2, contents.begin()->second); contents 113 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc resource_cache_->LoadAllSubkeys(kKey1, &contents); contents 114 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_TRUE(contents.empty()); contents 139 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc std::map<std::string, std::string> contents; contents 140 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc resource_cache_->LoadAllSubkeys(kKey1, &contents); contents 141 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc ASSERT_EQ(1u, contents.size()); contents 142 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_EQ(kData1, contents.begin()->second); contents 152 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc resource_cache_->LoadAllSubkeys(kKey1, &contents); contents 153 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_TRUE(contents.empty()); contents 165 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc std::map<std::string, std::string> contents; contents 166 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc resource_cache_->LoadAllSubkeys(kKey1, &contents); contents 167 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc ASSERT_EQ(1u, contents.size()); contents 168 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_EQ(kData1, contents.begin()->second); contents 169 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc resource_cache_->LoadAllSubkeys(kKey2, &contents); contents 170 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc ASSERT_EQ(1u, contents.size()); contents 171 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_EQ(kData2, contents.begin()->second); contents 188 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc resource_cache_->LoadAllSubkeys(kKey1, &contents); contents 189 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_TRUE(contents.empty()); contents 193 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc resource_cache_->LoadAllSubkeys(kKey2, &contents); contents 194 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc ASSERT_EQ(1u, contents.size()); contents 195 chrome/browser/chromeos/policy/cloud_external_data_store_unittest.cc EXPECT_EQ(kData2, contents.begin()->second); contents 1304 chrome/browser/chromeos/policy/device_local_account_browsertest.cc content::WebContents* contents = web_ui->GetWebContents(); contents 1305 chrome/browser/chromeos/policy/device_local_account_browsertest.cc ASSERT_TRUE(contents); contents 1307 chrome/browser/chromeos/policy/device_local_account_browsertest.cc ASSERT_TRUE(content::ExecuteScriptAndExtractString(contents, contents 1384 chrome/browser/chromeos/policy/device_local_account_browsertest.cc ASSERT_TRUE(content::ExecuteScript(contents, contents 65 chrome/browser/chromeos/system/automatic_reboot_manager.cc std::string contents; contents 69 chrome/browser/chromeos/system/automatic_reboot_manager.cc contents.append(buffer, length); contents 72 chrome/browser/chromeos/system/automatic_reboot_manager.cc if (!base::StringToDouble(contents.substr(0, contents.find(' ')), &seconds) || contents 482 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc std::string contents; contents 483 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc if (!base::ReadFileToString(update_reboot_needed_uptime_file_, &contents)) { contents 487 chrome/browser/chromeos/system/automatic_reboot_manager_unittest.cc if (!base::StringToDouble(contents.substr(0, contents.find(' ')), &seconds) || contents 81 chrome/browser/chromeos/version_loader.cc std::string VersionLoader::ParseFirmware(const std::string& contents) { contents 91 chrome/browser/chromeos/version_loader.cc base::SplitString(contents, '\n', &lines); contents 126 chrome/browser/chromeos/version_loader.cc std::string contents; contents 128 chrome/browser/chromeos/version_loader.cc if (base::ReadFileToString(file_path, &contents)) { contents 129 chrome/browser/chromeos/version_loader.cc *firmware = ParseFirmware(contents); contents 84 chrome/browser/chromeos/version_loader.h static std::string ParseFirmware(const std::string& contents); contents 258 chrome/browser/devtools/devtools_sanity_browsertest.cc content::WebContents* contents, bool is_docked) { contents 260 chrome/browser/devtools/devtools_sanity_browsertest.cc contents->GetRenderViewHost(), is_docked); contents 279 chrome/browser/devtools/devtools_sanity_browsertest.cc content::WebContents* contents = contents 281 chrome/browser/devtools/devtools_sanity_browsertest.cc if (devtools_window->web_contents() != contents) { contents 214 chrome/browser/devtools/devtools_window.cc content::WebContents* contents) { contents 593 chrome/browser/devtools/devtools_window.cc bool DevToolsWindow::InterceptPageBeforeUnload(content::WebContents* contents) { contents 596 chrome/browser/devtools/devtools_window.cc contents->GetRenderViewHost()); contents 615 chrome/browser/devtools/devtools_window.cc content::WebContents* contents) { contents 618 chrome/browser/devtools/devtools_window.cc contents->GetRenderViewHost()); contents 631 chrome/browser/devtools/devtools_window.cc content::WebContents* contents = contents 633 chrome/browser/devtools/devtools_window.cc DevToolsWindow* window = AsDevToolsWindow(contents->GetRenderViewHost()); contents 640 chrome/browser/devtools/devtools_window.cc void DevToolsWindow::OnPageCloseCanceled(content::WebContents* contents) { contents 643 chrome/browser/devtools/devtools_window.cc contents->GetRenderViewHost()); contents 939 chrome/browser/devtools/devtools_window.cc void DevToolsWindow::WebContentsFocused(content::WebContents* contents) { contents 945 chrome/browser/devtools/devtools_window.cc inspected_browser->window()->WebContentsFocused(contents); contents 993 chrome/browser/devtools/devtools_window.cc void DevToolsWindow::ActivateContents(content::WebContents* contents) { contents 187 chrome/browser/devtools/devtools_window.h static bool HandleBeforeUnload(content::WebContents* contents, contents 196 chrome/browser/devtools/devtools_window.h static bool InterceptPageBeforeUnload(content::WebContents* contents); contents 204 chrome/browser/devtools/devtools_window.h static bool NeedsToInterceptBeforeUnload(content::WebContents* contents); contents 208 chrome/browser/devtools/devtools_window.h static void OnPageCloseCanceled(content::WebContents* contents); contents 293 chrome/browser/devtools/devtools_window.h virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; contents 303 chrome/browser/devtools/devtools_window.h virtual void ActivateContents(content::WebContents* contents) OVERRIDE; contents 60 chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc explicit LoadSuccessObserver(content::WebContents* contents) contents 61 chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc : content::WebContentsObserver(contents), contents 65 chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc web_contents_(contents), contents 198 chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc content::WebContents* contents = contents 200 chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc LoadSuccessObserver observer(contents); contents 222 chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc content::WebContents* contents = contents 224 chrome/browser/dom_distiller/dom_distiller_viewer_source_browsertest.cc LoadSuccessObserver observer(contents); contents 1956 chrome/browser/download/download_browsertest.cc WebContents* contents = contents 1958 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(contents); contents 1961 chrome/browser/download/download_browsertest.cc contents, contents 1976 chrome/browser/download/download_browsertest.cc WebContents* contents = browser()->tab_strip_model()->GetActiveWebContents(); contents 1977 chrome/browser/download/download_browsertest.cc ASSERT_TRUE(contents); contents 1980 chrome/browser/download/download_browsertest.cc contents, contents 37 chrome/browser/download/download_request_limiter.cc content::WebContents* contents, contents 39 chrome/browser/download/download_request_limiter.cc : content::WebContentsObserver(contents), contents 40 chrome/browser/download/download_request_limiter.cc web_contents_(contents), contents 46 chrome/browser/download/download_request_limiter.cc &contents->GetController()); contents 51 chrome/browser/download/download_request_limiter.cc contents->GetController().GetActiveEntry(); contents 378 chrome/browser/download/download_request_limiter.cc content::WebContents* contents) { contents 380 chrome/browser/download/download_request_limiter.cc contents->GetBrowserContext())->GetHostContentSettingsMap(); contents 467 chrome/browser/download/download_request_limiter.cc content::WebContents* contents) { contents 468 chrome/browser/download/download_request_limiter.cc DCHECK(ContainsKey(state_map_, contents)); contents 469 chrome/browser/download/download_request_limiter.cc state_map_.erase(contents); contents 247 chrome/browser/download/download_request_limiter.h void Remove(TabDownloadState* state, content::WebContents* contents); contents 251 chrome/browser/download/download_request_limiter.h content::WebContents* contents); contents 176 chrome/browser/download/download_request_limiter_unittest.cc void SetHostContentSetting(WebContents* contents, ContentSetting setting) { contents 178 chrome/browser/download/download_request_limiter_unittest.cc ContentSettingsPattern::FromURL(contents->GetURL()), contents 803 chrome/browser/download/save_page_browsertest.cc std::string contents; contents 804 chrome/browser/download/save_page_browsertest.cc EXPECT_TRUE(base::ReadFileToString(filename, &contents)); contents 805 chrome/browser/download/save_page_browsertest.cc EXPECT_EQ("foo", contents); contents 1924 chrome/browser/drive/fake_drive_service_unittest.cc std::string contents("hogefugapiyo"); contents 1925 chrome/browser/drive/fake_drive_service_unittest.cc ASSERT_TRUE(test_util::WriteStringToFile(local_file_path, contents)); contents 1937 chrome/browser/drive/fake_drive_service_unittest.cc contents.size(), contents 1950 chrome/browser/drive/fake_drive_service_unittest.cc 0, contents.size() / 2, contents.size(), "text/plain", contents 1962 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_GE(static_cast<int64>(contents.size() / 2), contents 1968 chrome/browser/drive/fake_drive_service_unittest.cc contents.size() / 2, contents.size(), contents.size(), "text/plain", contents 1977 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_EQ(static_cast<int64>(contents.size()), contents 1983 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_GE(static_cast<int64>(contents.size() - contents.size() / 2), contents 1985 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_EQ(base::MD5String(contents), entry->file_md5()); contents 1993 chrome/browser/drive/fake_drive_service_unittest.cc std::string contents("hogefugapiyo"); contents 1994 chrome/browser/drive/fake_drive_service_unittest.cc ASSERT_TRUE(test_util::WriteStringToFile(local_file_path, contents)); contents 2003 chrome/browser/drive/fake_drive_service_unittest.cc contents.size(), contents 2020 chrome/browser/drive/fake_drive_service_unittest.cc 0, contents.size() / 2, contents.size(), "test/foo", contents 2032 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_GE(static_cast<int64>(contents.size() / 2), contents 2038 chrome/browser/drive/fake_drive_service_unittest.cc contents.size() / 2, contents.size(), contents.size(), "test/foo", contents 2047 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_EQ(static_cast<int64>(contents.size()), entry->file_size()); contents 2052 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_GE(static_cast<int64>(contents.size() - contents.size() / 2), contents 2054 chrome/browser/drive/fake_drive_service_unittest.cc EXPECT_EQ(base::MD5String(contents), entry->file_md5()); contents 353 chrome/browser/errorpage_browsertest.cc explicit TestFailProvisionalLoadObserver(content::WebContents* contents) contents 354 chrome/browser/errorpage_browsertest.cc : content::WebContentsObserver(contents) {} contents 200 chrome/browser/extensions/activity_log/activity_log.cc content::WebContents* contents = NULL; contents 208 chrome/browser/extensions/activity_log/activity_log.cc &contents, contents 212 chrome/browser/extensions/activity_log/activity_log.cc *url = contents->GetURL(); contents 257 chrome/browser/extensions/activity_log/activity_log_unittest.cc content::WebContents *contents = contentses[0]; contents 258 chrome/browser/extensions/activity_log/activity_log_unittest.cc ASSERT_TRUE(prerender_manager->IsWebContentsPrerendering(contents, NULL)); contents 264 chrome/browser/extensions/activity_log/activity_log_unittest.cc OnScriptsExecuted(contents, executing_scripts, 0, url); contents 237 chrome/browser/extensions/activity_log/uma_policy.cc void UmaPolicy::TabChangedAt(content::WebContents* contents, contents 242 chrome/browser/extensions/activity_log/uma_policy.cc if (!contents) contents 245 chrome/browser/extensions/activity_log/uma_policy.cc std::string url = CleanURL(contents->GetLastCommittedURL()); contents 246 chrome/browser/extensions/activity_log/uma_policy.cc int32 tab_id = SessionID::IdForTab(contents); contents 273 chrome/browser/extensions/activity_log/uma_policy.cc content::WebContents* contents, contents 275 chrome/browser/extensions/activity_log/uma_policy.cc if (!contents) contents 277 chrome/browser/extensions/activity_log/uma_policy.cc std::string url = CleanURL(contents->GetLastCommittedURL()); contents 278 chrome/browser/extensions/activity_log/uma_policy.cc int32 tab_id = SessionID::IdForTab(contents); contents 81 chrome/browser/extensions/activity_log/uma_policy.h virtual void TabChangedAt(content::WebContents* contents, contents 86 chrome/browser/extensions/activity_log/uma_policy.h content::WebContents* contents, contents 282 chrome/browser/extensions/api/alarms/alarms_api_unittest.cc contents()->GetRenderViewHost()->GetProcess())->sink(); contents 213 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc content::WebContents* contents = contents 215 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc if (!contents) contents 218 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc contents->GetRenderWidgetHostView()->GetRenderWidgetHost(); contents 222 chrome/browser/extensions/api/automation_internal/automation_internal_api.cc AutomationWebContentsObserver::CreateForWebContents(contents); contents 51 chrome/browser/extensions/api/capture_web_contents_function.cc WebContents* contents = GetWebContentsForID(context_id_); contents 52 chrome/browser/extensions/api/capture_web_contents_function.cc if (!contents) contents 69 chrome/browser/extensions/api/capture_web_contents_function.cc RenderViewHost* render_view_host = contents->GetRenderViewHost(); contents 92 chrome/browser/extensions/api/capture_web_contents_function.cc WebContents* contents = GetWebContentsForID(context_id_); contents 93 chrome/browser/extensions/api/capture_web_contents_function.cc if (!contents) { contents 99 chrome/browser/extensions/api/capture_web_contents_function.cc RenderWidgetHost* render_widget_host = contents->GetRenderViewHost(); contents 96 chrome/browser/extensions/api/declarative_content/content_action_unittest.cc scoped_ptr<content::WebContents> contents = env.MakeTab(); contents 97 chrome/browser/extensions/api/declarative_content/content_action_unittest.cc const int tab_id = ExtensionTabUtil::GetTabId(contents.get()); contents 100 chrome/browser/extensions/api/declarative_content/content_action_unittest.cc env.profile(), contents.get() contents 66 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc content::WebContents* contents, contents 68 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc const int tab_id = ExtensionTabUtil::GetTabId(contents); contents 70 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc renderer_data.page_url_matches = url_matcher_.MatchURL(contents->GetURL()); contents 79 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc profile(), contents contents 99 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc content::WebContents* contents, contents 114 chrome/browser/extensions/api/declarative_content/content_rules_registry.cc Apply(contents, no_css_selectors); contents 71 chrome/browser/extensions/api/declarative_content/content_rules_registry.h void Apply(content::WebContents* contents, contents 97 chrome/browser/extensions/api/developer_private/developer_private_api.cc GURL GetImageURLFromData(std::string contents) { contents 99 chrome/browser/extensions/api/developer_private/developer_private_api.cc base::Base64Encode(contents, &contents_base64); contents 128 chrome/browser/extensions/api/developer_private/developer_private_api.cc std::string contents; contents 129 chrome/browser/extensions/api/developer_private/developer_private_api.cc if (path.empty() || !base::ReadFileToString(path, &contents)) contents 132 chrome/browser/extensions/api/developer_private/developer_private_api.cc return GetImageURLFromData(contents); contents 897 chrome/browser/extensions/api/extension_action/extension_action_api.cc WebContents* contents = NULL; contents 899 chrome/browser/extensions/api/extension_action/extension_action_api.cc tab_id, GetProfile(), include_incognito(), NULL, NULL, &contents, NULL); contents 900 chrome/browser/extensions/api/extension_action/extension_action_api.cc if (!result || !contents) { contents 907 chrome/browser/extensions/api/extension_action/extension_action_api.cc content::NavigationEntry* entry = contents->GetController().GetVisibleEntry(); contents 917 chrome/browser/extensions/api/extension_action/extension_action_api.cc extensions::TabHelper::FromWebContents(contents)-> contents 110 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc WebContents* contents = WebContents::FromRenderViewHost(rvh); contents 112 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc WebContentsModalDialogManager::FromWebContents(contents); contents 119 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc contents = window ? window->web_contents() : NULL; contents 121 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc return contents; contents 450 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc WebContents* contents = contents 452 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc if (!contents) { contents 460 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc new MediaGalleriesDialogController(contents, *extension, cb); contents 549 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc WebContents* contents = GetWebContents(render_view_host(), profile, app_id); contents 550 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc if (!contents) { contents 556 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc NULL, NULL, &contents, NULL); contents 557 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc if (!found_tab || !contents) { contents 574 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc new SelectDirectoryDialog(contents, callback); contents 729 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc WebContents* contents = contents 731 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc if (!contents) { contents 738 chrome/browser/extensions/api/media_galleries/media_galleries_api.cc MakeDialog(contents, *extension, cb); contents 431 chrome/browser/extensions/api/messaging/message_service.cc WebContents* contents = NULL; contents 434 chrome/browser/extensions/api/messaging/message_service.cc NULL, NULL, &contents, NULL)) { contents 436 chrome/browser/extensions/api/messaging/message_service.cc contents->GetRenderProcessHost(), contents 437 chrome/browser/extensions/api/messaging/message_service.cc contents->GetRenderViewHost()->GetRoutingID(), contents 441 chrome/browser/extensions/api/messaging/message_service.cc if (contents && contents->GetController().NeedsReload()) { contents 404 chrome/browser/extensions/api/omnibox/omnibox_api.cc match->contents.assign(description); contents 98 chrome/browser/extensions/api/omnibox/omnibox_api_browsertest.cc EXPECT_EQ(description, result.match_at(1).contents); contents 54 chrome/browser/extensions/api/omnibox/omnibox_api_testbase.h base::UTF16ToUTF8(match.contents).c_str(), contents 125 chrome/browser/extensions/api/processes/processes_api.cc content::WebContents* contents = contents 127 chrome/browser/extensions/api/processes/processes_api.cc if (contents) { contents 128 chrome/browser/extensions/api/processes/processes_api.cc tab_id = ExtensionTabUtil::GetTabId(contents); contents 581 chrome/browser/extensions/api/processes/processes_api.cc content::WebContents* contents = NULL; contents 588 chrome/browser/extensions/api/processes/processes_api.cc &contents, contents 596 chrome/browser/extensions/api/processes/processes_api.cc int process_id = contents->GetRenderProcessHost()->GetID(); contents 408 chrome/browser/extensions/api/sessions/sessions_api.cc const content::WebContents* contents) { contents 410 chrome/browser/extensions/api/sessions/sessions_api.cc ExtensionTabUtil::CreateTabValue(contents, GetExtension())); contents 451 chrome/browser/extensions/api/sessions/sessions_api.cc std::vector<content::WebContents*> contents = contents 453 chrome/browser/extensions/api/sessions/sessions_api.cc DCHECK(contents.size()); contents 457 chrome/browser/extensions/api/sessions/sessions_api.cc ExtensionTabUtil::GetWindowIdOfTab(contents[0])); contents 460 chrome/browser/extensions/api/sessions/sessions_api.cc SetResultRestoredTab(contents[0]); contents 491 chrome/browser/extensions/api/sessions/sessions_api.cc std::vector<content::WebContents*> contents = contents 497 chrome/browser/extensions/api/sessions/sessions_api.cc if (!contents.size()) { contents 505 chrome/browser/extensions/api/sessions/sessions_api.cc ExtensionTabUtil::GetWindowIdOfTab(contents[0])); contents 508 chrome/browser/extensions/api/sessions/sessions_api.cc SetResultRestoredTab(contents[0]); contents 532 chrome/browser/extensions/api/sessions/sessions_api.cc content::WebContents* contents = tab_strip->GetActiveWebContents(); contents 535 chrome/browser/extensions/api/sessions/sessions_api.cc SessionRestore::RestoreForeignSessionTab(contents, *tab, contents 76 chrome/browser/extensions/api/sessions/sessions_api.h void SetResultRestoredTab(const content::WebContents* contents); contents 25 chrome/browser/extensions/api/system_cpu/cpu_info_provider_linux.cc std::string contents; contents 26 chrome/browser/extensions/api/system_cpu/cpu_info_provider_linux.cc if (!base::ReadFileToString(base::FilePath(kProcStat), &contents)) contents 29 chrome/browser/extensions/api/system_cpu/cpu_info_provider_linux.cc std::istringstream iss(contents); contents 172 chrome/browser/extensions/api/tabs/tabs_api.cc content::WebContents** contents, contents 176 chrome/browser/extensions/api/tabs/tabs_api.cc browser, tab_strip, contents, tab_index)) contents 587 chrome/browser/extensions/api/tabs/tabs_api.cc WebContents* contents = NULL; contents 593 chrome/browser/extensions/api/tabs/tabs_api.cc contents = source_tab_strip->DetachWebContentsAt(tab_index); contents 594 chrome/browser/extensions/api/tabs/tabs_api.cc if (contents) { contents 596 chrome/browser/extensions/api/tabs/tabs_api.cc target_tab_strip->InsertWebContentsAt(urls.size(), contents, contents 602 chrome/browser/extensions/api/tabs/tabs_api.cc if (!contents && urls.empty() && window_type != Browser::TYPE_POPUP) { contents 802 chrome/browser/extensions/api/tabs/tabs_api.cc WebContents* contents = tab_strip->GetActiveWebContents(); contents 803 chrome/browser/extensions/api/tabs/tabs_api.cc if (!contents) { contents 807 chrome/browser/extensions/api/tabs/tabs_api.cc SetResult(ExtensionTabUtil::CreateTabValue(contents, contents 1134 chrome/browser/extensions/api/tabs/tabs_api.cc WebContents* contents = NULL; contents 1141 chrome/browser/extensions/api/tabs/tabs_api.cc &contents, contents 1146 chrome/browser/extensions/api/tabs/tabs_api.cc SetResult(ExtensionTabUtil::CreateTabValue(contents, contents 1156 chrome/browser/extensions/api/tabs/tabs_api.cc WebContents* contents = dispatcher()->delegate()->GetAssociatedWebContents(); contents 1157 chrome/browser/extensions/api/tabs/tabs_api.cc if (contents) contents 1158 chrome/browser/extensions/api/tabs/tabs_api.cc SetResult(ExtensionTabUtil::CreateTabValue(contents, GetExtension())); contents 1239 chrome/browser/extensions/api/tabs/tabs_api.cc WebContents* contents = NULL; contents 1246 chrome/browser/extensions/api/tabs/tabs_api.cc contents = browser->tab_strip_model()->GetActiveWebContents(); contents 1247 chrome/browser/extensions/api/tabs/tabs_api.cc if (!contents) { contents 1251 chrome/browser/extensions/api/tabs/tabs_api.cc tab_id = SessionID::IdForTab(contents); contents 1263 chrome/browser/extensions/api/tabs/tabs_api.cc &contents, contents 1269 chrome/browser/extensions/api/tabs/tabs_api.cc web_contents_ = contents; contents 1295 chrome/browser/extensions/api/tabs/tabs_api.cc DCHECK_EQ(contents, tab_strip->GetActiveWebContents()); contents 1310 chrome/browser/extensions/api/tabs/tabs_api.cc tab_index = tab_strip->GetIndexOfWebContents(contents); contents 1470 chrome/browser/extensions/api/tabs/tabs_api.cc WebContents* contents = NULL; contents 1477 chrome/browser/extensions/api/tabs/tabs_api.cc &contents, contents 1558 chrome/browser/extensions/api/tabs/tabs_api.cc contents, source_tab_strip, *new_index, GetExtension())); contents 1638 chrome/browser/extensions/api/tabs/tabs_api.cc WebContents* contents = NULL; contents 1644 chrome/browser/extensions/api/tabs/tabs_api.cc &contents, contents 1659 chrome/browser/extensions/api/tabs/tabs_api.cc contents->Close(); contents 1677 chrome/browser/extensions/api/tabs/tabs_api.cc WebContents* contents = browser->tab_strip_model()->GetActiveWebContents(); contents 1678 chrome/browser/extensions/api/tabs/tabs_api.cc if (!contents) { contents 1684 chrome/browser/extensions/api/tabs/tabs_api.cc SessionID::IdForTab(contents), contents 1688 chrome/browser/extensions/api/tabs/tabs_api.cc return contents; contents 1711 chrome/browser/extensions/api/tabs/tabs_api.cc WebContents* contents = NULL; contents 1722 chrome/browser/extensions/api/tabs/tabs_api.cc &contents, contents 1727 chrome/browser/extensions/api/tabs/tabs_api.cc if (!browser || !contents) contents 1733 chrome/browser/extensions/api/tabs/tabs_api.cc contents = browser->tab_strip_model()->GetActiveWebContents(); contents 1734 chrome/browser/extensions/api/tabs/tabs_api.cc if (!contents) contents 1738 chrome/browser/extensions/api/tabs/tabs_api.cc if (contents->GetController().NeedsReload()) { contents 1747 chrome/browser/extensions/api/tabs/tabs_api.cc TranslateTabHelper::FromWebContents(contents); contents 1759 chrome/browser/extensions/api/tabs/tabs_api.cc content::Source<WebContents>(contents)); contents 1762 chrome/browser/extensions/api/tabs/tabs_api.cc content::Source<NavigationController>(&(contents->GetController()))); contents 1765 chrome/browser/extensions/api/tabs/tabs_api.cc content::Source<NavigationController>(&(contents->GetController()))); contents 1809 chrome/browser/extensions/api/tabs/tabs_api.cc content::WebContents* contents = NULL; contents 1819 chrome/browser/extensions/api/tabs/tabs_api.cc &contents, contents 1825 chrome/browser/extensions/api/tabs/tabs_api.cc CHECK(contents); contents 1829 chrome/browser/extensions/api/tabs/tabs_api.cc content::RenderProcessHost* process = contents->GetRenderProcessHost(); contents 1832 chrome/browser/extensions/api/tabs/tabs_api.cc contents->GetURL(), contents 1833 chrome/browser/extensions/api/tabs/tabs_api.cc contents->GetURL(), contents 1846 chrome/browser/extensions/api/tabs/tabs_api.cc content::WebContents* contents = NULL; contents 1853 chrome/browser/extensions/api/tabs/tabs_api.cc &contents, contents 1856 chrome/browser/extensions/api/tabs/tabs_api.cc contents && browser; contents 1861 chrome/browser/extensions/api/tabs/tabs_api.cc return TabHelper::FromWebContents(contents)->script_executor(); contents 41 chrome/browser/extensions/api/tabs/tabs_event_router.cc WebContents* contents, contents 49 chrome/browser/extensions/api/tabs/tabs_event_router.cc ExtensionTabUtil::ScrubTabValueForExtension(contents, contents 55 chrome/browser/extensions/api/tabs/tabs_event_router.cc event_args->Set(2, ExtensionTabUtil::CreateTabValue(contents, extension)); contents 65 chrome/browser/extensions/api/tabs/tabs_event_router.cc const WebContents* contents) { contents 69 chrome/browser/extensions/api/tabs/tabs_event_router.cc if (!complete_waiting_on_load_ || contents->IsLoading()) contents 81 chrome/browser/extensions/api/tabs/tabs_event_router.cc const WebContents* contents) { contents 88 chrome/browser/extensions/api/tabs/tabs_event_router.cc if (contents->GetURL() != url_) { contents 89 chrome/browser/extensions/api/tabs/tabs_event_router.cc url_ = contents->GetURL(); contents 110 chrome/browser/extensions/api/tabs/tabs_event_router.cc WebContents* contents = browser->tab_strip_model()->GetWebContentsAt(i); contents 111 chrome/browser/extensions/api/tabs/tabs_event_router.cc int tab_id = ExtensionTabUtil::GetTabId(contents); contents 138 chrome/browser/extensions/api/tabs/tabs_event_router.cc void TabsEventRouter::RegisterForTabNotifications(WebContents* contents) { contents 141 chrome/browser/extensions/api/tabs/tabs_event_router.cc content::Source<NavigationController>(&contents->GetController())); contents 148 chrome/browser/extensions/api/tabs/tabs_event_router.cc content::Source<WebContents>(contents)); contents 151 chrome/browser/extensions/api/tabs/tabs_event_router.cc content::Source<WebContents>(contents)); contents 154 chrome/browser/extensions/api/tabs/tabs_event_router.cc void TabsEventRouter::UnregisterForTabNotifications(WebContents* contents) { contents 156 chrome/browser/extensions/api/tabs/tabs_event_router.cc content::Source<NavigationController>(&contents->GetController())); contents 158 chrome/browser/extensions/api/tabs/tabs_event_router.cc content::Source<WebContents>(contents)); contents 160 chrome/browser/extensions/api/tabs/tabs_event_router.cc content::Source<WebContents>(contents)); contents 179 chrome/browser/extensions/api/tabs/tabs_event_router.cc static void WillDispatchTabCreatedEvent(WebContents* contents, contents 185 chrome/browser/extensions/api/tabs/tabs_event_router.cc contents, extension); contents 191 chrome/browser/extensions/api/tabs/tabs_event_router.cc void TabsEventRouter::TabCreatedAt(WebContents* contents, contents 194 chrome/browser/extensions/api/tabs/tabs_event_router.cc Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext()); contents 200 chrome/browser/extensions/api/tabs/tabs_event_router.cc base::Bind(&WillDispatchTabCreatedEvent, contents, active); contents 203 chrome/browser/extensions/api/tabs/tabs_event_router.cc RegisterForTabNotifications(contents); contents 206 chrome/browser/extensions/api/tabs/tabs_event_router.cc void TabsEventRouter::TabInsertedAt(WebContents* contents, contents 210 chrome/browser/extensions/api/tabs/tabs_event_router.cc int tab_id = ExtensionTabUtil::GetTabId(contents); contents 211 chrome/browser/extensions/api/tabs/tabs_event_router.cc if (!GetTabEntry(contents)) { contents 214 chrome/browser/extensions/api/tabs/tabs_event_router.cc TabCreatedAt(contents, index, active); contents 224 chrome/browser/extensions/api/tabs/tabs_event_router.cc ExtensionTabUtil::GetWindowIdOfTab(contents))); contents 229 chrome/browser/extensions/api/tabs/tabs_event_router.cc Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext()); contents 234 chrome/browser/extensions/api/tabs/tabs_event_router.cc void TabsEventRouter::TabDetachedAt(WebContents* contents, int index) { contents 235 chrome/browser/extensions/api/tabs/tabs_event_router.cc if (!GetTabEntry(contents)) { contents 242 chrome/browser/extensions/api/tabs/tabs_event_router.cc new FundamentalValue(ExtensionTabUtil::GetTabId(contents))); contents 247 chrome/browser/extensions/api/tabs/tabs_event_router.cc ExtensionTabUtil::GetWindowIdOfTab(contents))); contents 252 chrome/browser/extensions/api/tabs/tabs_event_router.cc Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext()); contents 260 chrome/browser/extensions/api/tabs/tabs_event_router.cc WebContents* contents, contents 262 chrome/browser/extensions/api/tabs/tabs_event_router.cc int tab_id = ExtensionTabUtil::GetTabId(contents); contents 269 chrome/browser/extensions/api/tabs/tabs_event_router.cc ExtensionTabUtil::GetWindowIdOfTab(contents)); contents 274 chrome/browser/extensions/api/tabs/tabs_event_router.cc Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext()); contents 283 chrome/browser/extensions/api/tabs/tabs_event_router.cc UnregisterForTabNotifications(contents); contents 333 chrome/browser/extensions/api/tabs/tabs_event_router.cc WebContents* contents = tab_strip_model->GetWebContentsAt(index); contents 334 chrome/browser/extensions/api/tabs/tabs_event_router.cc if (!contents) contents 336 chrome/browser/extensions/api/tabs/tabs_event_router.cc int tab_id = ExtensionTabUtil::GetTabId(contents); contents 363 chrome/browser/extensions/api/tabs/tabs_event_router.cc void TabsEventRouter::TabMoved(WebContents* contents, contents 368 chrome/browser/extensions/api/tabs/tabs_event_router.cc new FundamentalValue(ExtensionTabUtil::GetTabId(contents))); contents 373 chrome/browser/extensions/api/tabs/tabs_event_router.cc ExtensionTabUtil::GetWindowIdOfTab(contents))); contents 380 chrome/browser/extensions/api/tabs/tabs_event_router.cc Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext()); contents 387 chrome/browser/extensions/api/tabs/tabs_event_router.cc void TabsEventRouter::TabUpdated(WebContents* contents, bool did_navigate) { contents 388 chrome/browser/extensions/api/tabs/tabs_event_router.cc TabEntry* entry = GetTabEntry(contents); contents 394 chrome/browser/extensions/api/tabs/tabs_event_router.cc changed_properties.reset(entry->DidNavigate(contents)); contents 396 chrome/browser/extensions/api/tabs/tabs_event_router.cc changed_properties.reset(entry->UpdateLoadState(contents)); contents 399 chrome/browser/extensions/api/tabs/tabs_event_router.cc DispatchTabUpdatedEvent(contents, changed_properties.Pass()); contents 402 chrome/browser/extensions/api/tabs/tabs_event_router.cc void TabsEventRouter::FaviconUrlUpdated(WebContents* contents) { contents 404 chrome/browser/extensions/api/tabs/tabs_event_router.cc contents->GetController().GetVisibleEntry(); contents 412 chrome/browser/extensions/api/tabs/tabs_event_router.cc DispatchTabUpdatedEvent(contents, changed_properties.Pass()); contents 445 chrome/browser/extensions/api/tabs/tabs_event_router.cc WebContents* contents, contents 448 chrome/browser/extensions/api/tabs/tabs_event_router.cc DCHECK(contents); contents 455 chrome/browser/extensions/api/tabs/tabs_event_router.cc args_base->AppendInteger(ExtensionTabUtil::GetTabId(contents)); contents 463 chrome/browser/extensions/api/tabs/tabs_event_router.cc Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext()); contents 471 chrome/browser/extensions/api/tabs/tabs_event_router.cc contents, contents 477 chrome/browser/extensions/api/tabs/tabs_event_router.cc const WebContents* contents) { contents 478 chrome/browser/extensions/api/tabs/tabs_event_router.cc int tab_id = ExtensionTabUtil::GetTabId(contents); contents 494 chrome/browser/extensions/api/tabs/tabs_event_router.cc WebContents* contents = content::Source<WebContents>(source).ptr(); contents 496 chrome/browser/extensions/api/tabs/tabs_event_router.cc content::Source<NavigationController>(&contents->GetController())); contents 498 chrome/browser/extensions/api/tabs/tabs_event_router.cc content::Source<WebContents>(contents)); contents 500 chrome/browser/extensions/api/tabs/tabs_event_router.cc content::Source<WebContents>(contents)); contents 510 chrome/browser/extensions/api/tabs/tabs_event_router.cc void TabsEventRouter::TabChangedAt(WebContents* contents, contents 513 chrome/browser/extensions/api/tabs/tabs_event_router.cc TabUpdated(contents, false); contents 544 chrome/browser/extensions/api/tabs/tabs_event_router.cc void TabsEventRouter::TabPinnedStateChanged(WebContents* contents, int index) { contents 548 chrome/browser/extensions/api/tabs/tabs_event_router.cc if (ExtensionTabUtil::GetTabStripModel(contents, &tab_strip, &tab_index)) { contents 553 chrome/browser/extensions/api/tabs/tabs_event_router.cc DispatchTabUpdatedEvent(contents, changed_properties.Pass()); contents 42 chrome/browser/extensions/api/tabs/tabs_event_router.h virtual void TabInsertedAt(content::WebContents* contents, int index, contents 45 chrome/browser/extensions/api/tabs/tabs_event_router.h content::WebContents* contents, contents 47 chrome/browser/extensions/api/tabs/tabs_event_router.h virtual void TabDetachedAt(content::WebContents* contents, contents 56 chrome/browser/extensions/api/tabs/tabs_event_router.h virtual void TabMoved(content::WebContents* contents, contents 59 chrome/browser/extensions/api/tabs/tabs_event_router.h virtual void TabChangedAt(content::WebContents* contents, contents 66 chrome/browser/extensions/api/tabs/tabs_event_router.h virtual void TabPinnedStateChanged(content::WebContents* contents, contents 75 chrome/browser/extensions/api/tabs/tabs_event_router.h void TabCreatedAt(content::WebContents* contents, int index, bool active); contents 79 chrome/browser/extensions/api/tabs/tabs_event_router.h void TabUpdated(content::WebContents* contents, bool did_navigate); contents 82 chrome/browser/extensions/api/tabs/tabs_event_router.h void FaviconUrlUpdated(content::WebContents* contents); contents 105 chrome/browser/extensions/api/tabs/tabs_event_router.h content::WebContents* contents, contents 114 chrome/browser/extensions/api/tabs/tabs_event_router.h void RegisterForTabNotifications(content::WebContents* contents); contents 117 chrome/browser/extensions/api/tabs/tabs_event_router.h void UnregisterForTabNotifications(content::WebContents* contents); contents 140 chrome/browser/extensions/api/tabs/tabs_event_router.h const content::WebContents* contents); contents 145 chrome/browser/extensions/api/tabs/tabs_event_router.h base::DictionaryValue* DidNavigate(const content::WebContents* contents); contents 159 chrome/browser/extensions/api/tabs/tabs_event_router.h TabEntry* GetTabEntry(const content::WebContents* contents); contents 136 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc content::WebContents* contents = NULL; contents 138 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc tab_id, GetProfile(), true, NULL, NULL, &contents, NULL)) { contents 145 chrome/browser/extensions/api/webrtc_audio_private/webrtc_audio_private_api.cc RenderViewHost* rvh = contents->GetRenderViewHost(); contents 38 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc content::WebContents* contents = NULL; contents 40 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc tab_id, GetProfile(), true, NULL, NULL, &contents, NULL)) { contents 46 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc if (!contents) { contents 52 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc if (contents->GetURL().GetOrigin().spec() != security_origin) { contents 58 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_api.cc return contents->GetRenderProcessHost(); contents 46 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc content::WebContents* contents = contents 49 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc parameters.AppendInteger(extensions::ExtensionTabUtil::GetTabId(contents)); contents 50 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc parameters.AppendString(contents->GetURL().GetOrigin().spec()); contents 138 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc content::WebContents* contents = contents 141 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc parameters.AppendInteger(extensions::ExtensionTabUtil::GetTabId(contents)); contents 142 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc parameters.AppendString(contents->GetURL().GetOrigin().spec()); contents 171 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc parameters.AppendInteger(extensions::ExtensionTabUtil::GetTabId(contents)); contents 172 chrome/browser/extensions/api/webrtc_logging_private/webrtc_logging_private_apitest.cc parameters.AppendString(contents->GetURL().GetOrigin().spec()); contents 155 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc content::WebContents* contents = contents 159 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc content::TitleWatcher watcher(contents, expected_title); contents 172 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc content::WebContents* contents = contents 176 chrome/browser/extensions/api/webstore_private/webstore_private_apitest.cc content::TitleWatcher watcher(contents, expected_title); contents 443 chrome/browser/extensions/app_process_apitest.cc WebContents* contents = browser()->tab_strip_model()->GetWebContentsAt(0); contents 445 chrome/browser/extensions/app_process_apitest.cc contents->GetRenderProcessHost()->GetID())); contents 457 chrome/browser/extensions/app_process_apitest.cc contents->GetRenderProcessHost()->GetID())); contents 467 chrome/browser/extensions/app_process_apitest.cc contents->GetRenderProcessHost()->GetID())); contents 498 chrome/browser/extensions/app_process_apitest.cc WebContents* contents = browser()->tab_strip_model()->GetWebContentsAt(0); contents 500 chrome/browser/extensions/app_process_apitest.cc contents->GetRenderProcessHost()->GetID())); contents 516 chrome/browser/extensions/app_process_apitest.cc contents->GetRenderProcessHost()->GetID())); contents 532 chrome/browser/extensions/app_process_apitest.cc contents->GetRenderProcessHost()->GetID())); contents 563 chrome/browser/extensions/app_process_apitest.cc WebContents* contents = browser()->tab_strip_model()->GetWebContentsAt(0); contents 565 chrome/browser/extensions/app_process_apitest.cc contents->GetRenderProcessHost()->GetID())); contents 577 chrome/browser/extensions/app_process_apitest.cc ASSERT_TRUE(content::ExecuteScript(contents, "location.reload();")); contents 581 chrome/browser/extensions/app_process_apitest.cc contents->GetRenderProcessHost()->GetID())); contents 593 chrome/browser/extensions/app_process_apitest.cc ASSERT_TRUE(content::ExecuteScript(contents, "location = location;")); contents 597 chrome/browser/extensions/app_process_apitest.cc contents->GetRenderProcessHost()->GetID())); contents 812 chrome/browser/extensions/app_process_apitest.cc WebContents* contents = browser()->tab_strip_model()->GetWebContentsAt(0); contents 814 chrome/browser/extensions/app_process_apitest.cc contents->GetRenderProcessHost()->GetID())); contents 817 chrome/browser/extensions/app_process_apitest.cc contents, contents 832 chrome/browser/extensions/app_process_apitest.cc contents, contents 149 chrome/browser/extensions/bookmark_app_helper.cc content::WebContents* contents) contents 173 chrome/browser/extensions/bookmark_app_helper.cc new FaviconDownloader(contents, contents 42 chrome/browser/extensions/bookmark_app_helper.h content::WebContents* contents); contents 88 chrome/browser/extensions/bookmark_app_helper_unittest.cc content::WebContents* contents) contents 89 chrome/browser/extensions/bookmark_app_helper_unittest.cc : BookmarkAppHelper(service, web_app_info, contents) {} contents 43 chrome/browser/extensions/extension_api_unittest.h content::WebContents* contents() { return contents_; } contents 541 chrome/browser/extensions/extension_browsertest.cc void ExtensionBrowserTest::OpenWindow(content::WebContents* contents, contents 548 chrome/browser/extensions/extension_browsertest.cc ASSERT_TRUE(content::ExecuteScript(contents, contents 562 chrome/browser/extensions/extension_browsertest.cc EXPECT_EQ(contents->GetRenderProcessHost(), newtab->GetRenderProcessHost()); contents 564 chrome/browser/extensions/extension_browsertest.cc EXPECT_NE(contents->GetRenderProcessHost(), newtab->GetRenderProcessHost()); contents 570 chrome/browser/extensions/extension_browsertest.cc void ExtensionBrowserTest::NavigateInRenderer(content::WebContents* contents, contents 577 chrome/browser/extensions/extension_browsertest.cc contents, contents 585 chrome/browser/extensions/extension_browsertest.cc EXPECT_EQ(url, contents->GetController().GetLastCommittedEntry()->GetURL()); contents 268 chrome/browser/extensions/extension_browsertest.h void OpenWindow(content::WebContents* contents, contents 275 chrome/browser/extensions/extension_browsertest.h void NavigateInRenderer(content::WebContents* contents, const GURL& url); contents 185 chrome/browser/extensions/extension_install_prompt.cc gfx::NativeWindow NativeWindowForWebContents(content::WebContents* contents) { contents 186 chrome/browser/extensions/extension_install_prompt.cc if (!contents) contents 189 chrome/browser/extensions/extension_install_prompt.cc return contents->GetView()->GetTopLevelNativeWindow(); contents 493 chrome/browser/extensions/extension_install_prompt.cc ExtensionInstallPrompt::ShowParams::ShowParams(content::WebContents* contents) contents 494 chrome/browser/extensions/extension_install_prompt.cc : parent_web_contents(contents), contents 495 chrome/browser/extensions/extension_install_prompt.cc parent_window(NativeWindowForWebContents(contents)), contents 496 chrome/browser/extensions/extension_install_prompt.cc navigator(contents) { contents 538 chrome/browser/extensions/extension_install_prompt.cc ExtensionInstallPrompt::ExtensionInstallPrompt(content::WebContents* contents) contents 544 chrome/browser/extensions/extension_install_prompt.cc install_ui_(ExtensionInstallUI::Create(ProfileForWebContents(contents))), contents 545 chrome/browser/extensions/extension_install_prompt.cc show_params_(contents), contents 235 chrome/browser/extensions/extension_install_prompt.h explicit ShowParams(content::WebContents* contents); contents 267 chrome/browser/extensions/extension_install_prompt.h explicit ExtensionInstallPrompt(content::WebContents* contents); contents 45 chrome/browser/extensions/extension_tab_util.cc WindowController* GetAppWindowController(const WebContents* contents) { contents 46 chrome/browser/extensions/extension_tab_util.cc Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext()); contents 51 chrome/browser/extensions/extension_tab_util.cc registry->GetAppWindowForRenderViewHost(contents->GetRenderViewHost()); contents 86 chrome/browser/extensions/extension_tab_util.cc const WebContents* contents, contents 92 chrome/browser/extensions/extension_tab_util.cc WindowController* controller = GetAppWindowController(contents); contents 98 chrome/browser/extensions/extension_tab_util.cc CreateTabValue(contents, tab_strip, tab_index); contents 99 chrome/browser/extensions/extension_tab_util.cc ScrubTabValueForExtension(contents, extension, result); contents 119 chrome/browser/extensions/extension_tab_util.cc const WebContents* contents, contents 124 chrome/browser/extensions/extension_tab_util.cc WindowController* controller = GetAppWindowController(contents); contents 129 chrome/browser/extensions/extension_tab_util.cc ExtensionTabUtil::GetTabStripModel(contents, &tab_strip, &tab_index); contents 132 chrome/browser/extensions/extension_tab_util.cc bool is_loading = contents->IsLoading(); contents 133 chrome/browser/extensions/extension_tab_util.cc result->SetInteger(keys::kIdKey, GetTabId(contents)); contents 135 chrome/browser/extensions/extension_tab_util.cc result->SetInteger(keys::kWindowIdKey, GetWindowIdOfTab(contents)); contents 146 chrome/browser/extensions/extension_tab_util.cc contents->GetBrowserContext()->IsOffTheRecord()); contents 148 chrome/browser/extensions/extension_tab_util.cc contents->GetView()->GetContainerSize().width()); contents 150 chrome/browser/extensions/extension_tab_util.cc contents->GetView()->GetContainerSize().height()); contents 154 chrome/browser/extensions/extension_tab_util.cc result->SetString(keys::kUrlKey, contents->GetURL().spec()); contents 155 chrome/browser/extensions/extension_tab_util.cc result->SetString(keys::kTitleKey, contents->GetTitle()); contents 157 chrome/browser/extensions/extension_tab_util.cc NavigationEntry* entry = contents->GetController().GetVisibleEntry(); contents 172 chrome/browser/extensions/extension_tab_util.cc const WebContents* contents, contents 178 chrome/browser/extensions/extension_tab_util.cc extension, GetTabId(contents), APIPermission::kTab); contents 220 chrome/browser/extensions/extension_tab_util.cc WebContents** contents, contents 223 chrome/browser/extensions/extension_tab_util.cc DCHECK(contents); contents 225 chrome/browser/extensions/extension_tab_util.cc *contents = browser->tab_strip_model()->GetActiveWebContents(); contents 226 chrome/browser/extensions/extension_tab_util.cc if (*contents) { contents 228 chrome/browser/extensions/extension_tab_util.cc *tab_id = GetTabId(*contents); contents 240 chrome/browser/extensions/extension_tab_util.cc WebContents** contents, contents 257 chrome/browser/extensions/extension_tab_util.cc if (contents) contents 258 chrome/browser/extensions/extension_tab_util.cc *contents = target_contents; contents 76 chrome/browser/extensions/extension_tab_util.h static void ScrubTabValueForExtension(const content::WebContents* contents, contents 90 chrome/browser/extensions/extension_tab_util.h content::WebContents** contents, contents 97 chrome/browser/extensions/extension_tab_util.h content::WebContents** contents, contents 41 chrome/browser/extensions/extension_tab_util_android.cc const WebContents* contents, contents 58 chrome/browser/extensions/extension_tab_util_android.cc const WebContents* contents, contents 75 chrome/browser/extensions/extension_tab_util_android.cc content::WebContents** contents, contents 87 chrome/browser/extensions/extension_tab_util_android.cc content::WebContents** contents, contents 114 chrome/browser/extensions/external_provider_impl_unittest.cc std::string contents; contents 117 chrome/browser/extensions/external_provider_impl_unittest.cc &contents); contents 120 chrome/browser/extensions/external_provider_impl_unittest.cc response->set_content(contents); contents 102 chrome/browser/extensions/isolated_app_browsertest.cc bool WARN_UNUSED_RESULT HasCookie(WebContents* contents, std::string cookie) { contents 105 chrome/browser/extensions/isolated_app_browsertest.cc ui_test_utils::GetCookies(contents->GetURL(), contents, &value_size, contents 110 chrome/browser/extensions/isolated_app_browsertest.cc const extensions::Extension* GetInstalledApp(WebContents* contents) { contents 113 chrome/browser/extensions/isolated_app_browsertest.cc Profile::FromBrowserContext(contents->GetBrowserContext()); contents 118 chrome/browser/extensions/isolated_app_browsertest.cc contents->GetRenderViewHost()->GetProcess()->GetID()); contents 32 chrome/browser/extensions/test_extension_dir.cc base::StringPiece contents) { contents 34 chrome/browser/extensions/test_extension_dir.cc base::checked_cast<int>(contents.size()), contents 36 chrome/browser/extensions/test_extension_dir.cc dir_.path().Append(filename), contents.data(), contents.size())); contents 29 chrome/browser/extensions/test_extension_dir.h base::StringPiece contents); contents 92 chrome/browser/extensions/test_extension_environment.cc scoped_ptr<content::WebContents> contents( contents 95 chrome/browser/extensions/test_extension_environment.cc SessionTabHelper::CreateForWebContents(contents.get()); contents 96 chrome/browser/extensions/test_extension_environment.cc return contents.Pass(); contents 278 chrome/browser/extensions/user_script_master.cc base::StringPiece contents = script.js_scripts()[j].GetContent(); contents 279 chrome/browser/extensions/user_script_master.cc pickle.WriteData(contents.data(), contents.length()); contents 282 chrome/browser/extensions/user_script_master.cc base::StringPiece contents = script.css_scripts()[j].GetContent(); contents 283 chrome/browser/extensions/user_script_master.cc pickle.WriteData(contents.data(), contents.length()); contents 50 chrome/browser/extensions/webstore_inline_installer_browsertest.cc explicit ProgrammableInstallPrompt(WebContents* contents) contents 51 chrome/browser/extensions/webstore_inline_installer_browsertest.cc : ExtensionInstallPrompt(contents) contents 86 chrome/browser/extensions/webstore_inline_installer_browsertest.cc WebstoreInlineInstallerForTest(WebContents* contents, contents 91 chrome/browser/extensions/webstore_inline_installer_browsertest.cc contents, contents 119 chrome/browser/extensions/webstore_inline_installer_browsertest.cc WebContents* contents, contents 124 chrome/browser/extensions/webstore_inline_installer_browsertest.cc contents, webstore_item_id, requestor_url, callback); contents 13 chrome/browser/extensions/webstore_inline_installer_factory.cc content::WebContents* contents, contents 18 chrome/browser/extensions/webstore_inline_installer_factory.cc contents, webstore_item_id, requestor_url, callback); contents 30 chrome/browser/extensions/webstore_inline_installer_factory.h content::WebContents* contents, contents 21 chrome/browser/extensions/webstore_inline_installer_unittest.cc explicit TestWebstoreInlineInstaller(content::WebContents* contents, contents 36 chrome/browser/extensions/webstore_inline_installer_unittest.cc content::WebContents* contents, contents 38 chrome/browser/extensions/webstore_inline_installer_unittest.cc : WebstoreInlineInstaller(contents, contents 572 chrome/browser/extensions/webstore_installer.cc content::WebContents* contents = web_contents(); contents 573 chrome/browser/extensions/webstore_installer.cc if (!contents) { contents 577 chrome/browser/extensions/webstore_installer.cc if (!contents->GetRenderProcessHost()) { contents 581 chrome/browser/extensions/webstore_installer.cc if (!contents->GetRenderViewHost()) { contents 586 chrome/browser/extensions/webstore_installer.cc content::NavigationController& controller = contents->GetController(); contents 600 chrome/browser/extensions/webstore_installer.cc int render_process_host_id = contents->GetRenderProcessHost()->GetID(); contents 602 chrome/browser/extensions/webstore_installer.cc contents->GetRenderViewHost()->GetRoutingID(); contents 203 chrome/browser/extensions/webstore_startup_installer_browsertest.cc WebContents* contents = browser()->tab_strip_model()->GetActiveWebContents(); contents 205 chrome/browser/extensions/webstore_startup_installer_browsertest.cc InfoBarService::FromWebContents(contents)->infobar_manager(); contents 357 chrome/browser/first_run/first_run.cc content::WebContents* contents = contents 362 chrome/browser/first_run/first_run.cc if (contents && contents 363 chrome/browser/first_run/first_run.cc (contents->GetURL().GetOrigin().spec() == contents 365 chrome/browser/first_run/first_run.cc gaia::IsGaiaSignonRealm(contents->GetURL().GetOrigin()) || contents 366 chrome/browser/first_run/first_run.cc signin::IsContinueUrlForWebBasedSigninFlow(contents->GetURL()) || contents 367 chrome/browser/first_run/first_run.cc (contents->GetURL() == contents 372 chrome/browser/first_run/first_run.cc if (contents && contents->GetURL().SchemeIs(content::kChromeUIScheme)) { contents 374 chrome/browser/first_run/first_run.cc if (contents->GetURL().host() == chrome::kChromeUIMetroFlowHost) contents 379 chrome/browser/first_run/first_run.cc if (contents->GetURL().host() == chrome::kChromeUINewTabHost) { contents 381 chrome/browser/first_run/first_run.cc Profile::FromBrowserContext(contents->GetBrowserContext()); contents 61 chrome/browser/google/google_url_tracker_infobar_delegate.cc content::WebContents* contents = web_contents(); contents 66 chrome/browser/google/google_url_tracker_infobar_delegate.cc contents->OpenURL(content::OpenURLParams( contents 21 chrome/browser/guestview/webview/plugin_permission_helper.cc PluginPermissionHelper::PluginPermissionHelper(WebContents* contents) contents 22 chrome/browser/guestview/webview/plugin_permission_helper.cc : content::WebContentsObserver(contents), contents 116 chrome/browser/guestview/webview/webview_guest.cc void AttachWebViewHelpers(WebContents* contents) { contents 117 chrome/browser/guestview/webview/webview_guest.cc FaviconTabHelper::CreateForWebContents(contents); contents 119 chrome/browser/guestview/webview/webview_guest.cc contents); contents 121 chrome/browser/guestview/webview/webview_guest.cc PluginPermissionHelper::CreateForWebContents(contents); contents 169 chrome/browser/guestview/webview/webview_guest.cc WebViewGuest* WebViewGuest::FromWebContents(WebContents* contents) { contents 170 chrome/browser/guestview/webview/webview_guest.cc GuestView* guest = GuestView::FromWebContents(contents); contents 175 chrome/browser/guestview/webview/webview_guest.cc int WebViewGuest::GetViewInstanceId(WebContents* contents) { contents 176 chrome/browser/guestview/webview/webview_guest.cc WebViewGuest* guest = FromWebContents(contents); contents 40 chrome/browser/guestview/webview/webview_guest.h static WebViewGuest* FromWebContents(content::WebContents* contents); contents 43 chrome/browser/guestview/webview/webview_guest.h static int GetViewInstanceId(content::WebContents* contents); contents 393 chrome/browser/history/expire_history_backend_unittest.cc std::string contents; contents 394 chrome/browser/history/expire_history_backend_unittest.cc EXPECT_TRUE(base::ReadFileToString(filename, &contents)); contents 395 chrome/browser/history/expire_history_backend_unittest.cc return contents.find(str) != std::string::npos; contents 30 chrome/browser/history/select_favicon_frames.cc SkBitmap SampleNearestNeighbor(const SkBitmap& contents, int desired_size) { contents 35 chrome/browser/history/select_favicon_frames.cc if (!contents.isOpaque()) contents 41 chrome/browser/history/select_favicon_frames.cc canvas.drawBitmapRect(contents, NULL, dest); contents 38 chrome/browser/history/shortcuts_database.cc s->BindString16(4, shortcut.match_core.contents); contents 69 chrome/browser/history/shortcuts_database.cc const base::string16& contents, contents 78 chrome/browser/history/shortcuts_database.cc contents(contents), contents 48 chrome/browser/history/shortcuts_database.h const base::string16& contents, contents 59 chrome/browser/history/shortcuts_database.h base::string16 contents; contents 33 chrome/browser/history/shortcuts_database_unittest.cc std::string contents; contents 128 chrome/browser/history/shortcuts_database_unittest.cc ASCIIToUTF16(info.contents), info.contents_class, contents 160 chrome/browser/history/shortcuts_database_unittest.cc shortcut.match_core.contents = ASCIIToUTF16("gro.todhsals"); contents 167 chrome/browser/history/shortcuts_database_unittest.cc EXPECT_TRUE(it->second.match_core.contents == shortcut.match_core.contents); contents 21 chrome/browser/loadtimes_extension_bindings_browsertest.cc content::WebContents* contents = contents 24 chrome/browser/loadtimes_extension_bindings_browsertest.cc contents, contents 33 chrome/browser/loadtimes_extension_bindings_browsertest.cc contents, contents 38 chrome/browser/loadtimes_extension_bindings_browsertest.cc contents, contents 51 chrome/browser/loadtimes_extension_bindings_browsertest.cc content::WebContents* contents = contents 54 chrome/browser/loadtimes_extension_bindings_browsertest.cc contents, "window.before = window.chrome.loadTimes()")); contents 56 chrome/browser/loadtimes_extension_bindings_browsertest.cc contents, "window.location.href = window.location + \"#\"")); contents 58 chrome/browser/loadtimes_extension_bindings_browsertest.cc contents, "window.after = window.chrome.loadTimes()")); contents 68 chrome/browser/loadtimes_extension_bindings_browsertest.cc content::WebContents* contents = contents 71 chrome/browser/loadtimes_extension_bindings_browsertest.cc contents, "window.before = window.chrome.loadTimes()")); contents 74 chrome/browser/loadtimes_extension_bindings_browsertest.cc contents, "window.after = window.chrome.loadTimes()")); contents 385 chrome/browser/managed_mode/managed_mode_url_filter.cc void ManagedModeURLFilter::SetContents(scoped_ptr<Contents> contents) { contents 387 chrome/browser/managed_mode/managed_mode_url_filter.cc contents_ = contents.Pass(); contents 14 chrome/browser/media/audio_stream_monitor.cc AudioStreamMonitor::AudioStreamMonitor(content::WebContents* contents) contents 15 chrome/browser/media/audio_stream_monitor.cc : web_contents_(contents), contents 66 chrome/browser/media/audio_stream_monitor.h explicit AudioStreamMonitor(content::WebContents* contents); contents 332 chrome/browser/media/webrtc_log_uploader.cc std::string contents; contents 335 chrome/browser/media/webrtc_log_uploader.cc if (!base::ReadFileToString(upload_list_path, &contents)) { contents 344 chrome/browser/media/webrtc_log_uploader.cc int i = contents.size() - 1; contents 346 chrome/browser/media/webrtc_log_uploader.cc if (contents[i] == '\n') contents 352 chrome/browser/media/webrtc_log_uploader.cc contents.erase(0, i + 2); contents 358 chrome/browser/media/webrtc_log_uploader.cc contents += ",," + local_log_id + '\n'; contents 361 chrome/browser/media/webrtc_log_uploader.cc base::WriteFile(upload_list_path, &contents[0], contents.size()); contents 362 chrome/browser/media/webrtc_log_uploader.cc if (written != static_cast<int>(contents.size())) { contents 377 chrome/browser/media/webrtc_log_uploader.cc std::string contents; contents 380 chrome/browser/media/webrtc_log_uploader.cc if (!base::ReadFileToString(upload_list_path, &contents)) { contents 391 chrome/browser/media/webrtc_log_uploader.cc size_t pos = contents.find(",," + local_log_id); contents 393 chrome/browser/media/webrtc_log_uploader.cc contents.insert(pos, time_now_str); contents 394 chrome/browser/media/webrtc_log_uploader.cc contents.insert(pos + time_now_str.length() + 1, report_id); contents 396 chrome/browser/media/webrtc_log_uploader.cc contents += time_now_str + "," + report_id + ",\n"; contents 400 chrome/browser/media/webrtc_log_uploader.cc base::WriteFile(upload_list_path, &contents[0], contents.size()); contents 401 chrome/browser/media/webrtc_log_uploader.cc if (written != static_cast<int>(contents.size())) { contents 103 chrome/browser/media/webrtc_log_uploader_unittest.cc std::string contents; contents 104 chrome/browser/media/webrtc_log_uploader_unittest.cc int read = base::ReadFileToString(test_list_path_, &contents); contents 112 chrome/browser/media/webrtc_log_uploader_unittest.cc base::SplitString(contents, '\n', &lines); contents 43 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc FileSystemOperation::FileEntryList* contents, contents 50 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc *contents = file_list; contents 56 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc FileSystemOperation::FileEntryList* contents, contents 58 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc DCHECK(contents); contents 62 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc url, base::Bind(&ReadDirectoryTestHelperCallback, &run_loop, contents, contents 91 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc std::map<std::string, base::FilePath> contents; contents 92 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc contents["a.jpg"] = library_path().AppendASCII("a.jpg"); contents 93 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc return contents; contents 108 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc std::map<std::string, base::FilePath> contents; contents 109 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc contents["a.jpg"] = library_path().AppendASCII("orig.jpg"); contents 110 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc return contents; contents 226 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc FileSystemOperation::FileEntryList contents; contents 229 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 271 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc FileSystemOperation::FileEntryList contents; contents 274 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 277 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc ASSERT_EQ(1u, contents.size()); contents 279 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc EXPECT_TRUE(contents.front().is_directory); contents 282 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc contents.back().name); contents 286 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc FileSystemOperation::FileEntryList contents; contents 289 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 292 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc ASSERT_EQ(2u, contents.size()); contents 294 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc EXPECT_TRUE(contents.front().is_directory); contents 296 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc EXPECT_EQ("Album1", contents.front().name); contents 297 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc EXPECT_EQ("has_originals", contents.back().name); contents 301 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc FileSystemOperation::FileEntryList contents; contents 304 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 307 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc ASSERT_EQ(1u, contents.size()); contents 309 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc EXPECT_FALSE(contents.front().is_directory); contents 311 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc EXPECT_EQ("a.jpg", contents.back().name); contents 315 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc FileSystemOperation::FileEntryList contents; contents 318 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 320 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc ASSERT_EQ(0u, contents.size()); contents 324 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 326 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc ASSERT_EQ(0u, contents.size()); contents 330 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc FileSystemOperation::FileEntryList contents; contents 334 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 337 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc ASSERT_EQ(2u, contents.size()); contents 338 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc EXPECT_TRUE(contents.front().is_directory); contents 339 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc EXPECT_EQ("Originals", contents.front().name); contents 340 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc EXPECT_FALSE(contents.back().is_directory); contents 341 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc EXPECT_EQ("a.jpg", contents.back().name); contents 345 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 347 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc ASSERT_EQ(1u, contents.size()); contents 349 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc EXPECT_FALSE(contents.front().is_directory); contents 350 chrome/browser/media_galleries/fileapi/iphoto_file_util_unittest.cc EXPECT_EQ("a.jpg", contents.front().name); contents 42 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc FileSystemOperation::FileEntryList* contents, contents 48 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc *contents = file_list; contents 54 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc FileSystemOperation::FileEntryList* contents, contents 56 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc DCHECK(contents); contents 60 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc url, base::Bind(&ReadDirectoryTestHelperCallback, &run_loop, contents, contents 194 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc FileSystemOperation::FileEntryList contents; contents 197 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 239 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc FileSystemOperation::FileEntryList contents; contents 242 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 245 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc ASSERT_EQ(2u, contents.size()); contents 247 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_FALSE(contents.front().is_directory); contents 248 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_TRUE(contents.back().is_directory); contents 251 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc contents.front().name); contents 253 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc contents.back().name); contents 259 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc FileSystemOperation::FileEntryList contents; contents 262 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 265 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc ASSERT_EQ(1u, contents.size()); contents 267 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_TRUE(contents.front().is_directory); contents 269 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc contents.back().name); contents 275 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc FileSystemOperation::FileEntryList contents; contents 278 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 281 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc ASSERT_EQ(2u, contents.size()); contents 283 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_TRUE(contents.front().is_directory); contents 284 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_TRUE(contents.back().is_directory); contents 287 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc contents.front().name); contents 289 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc contents.back().name); contents 297 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc FileSystemOperation::FileEntryList contents; contents 302 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 304 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc ASSERT_EQ(1u, contents.size()); contents 305 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_FALSE(contents.front().is_directory); contents 307 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc contents.front().name); contents 318 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc FileSystemOperation::FileEntryList contents; contents 323 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 325 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc ASSERT_EQ(1u, contents.size()); contents 326 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_TRUE(contents.front().is_directory); contents 327 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_EQ(base::FilePath().AppendASCII("foo").value(), contents.front().name); contents 329 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc contents.clear(); contents 333 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 335 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc ASSERT_EQ(1u, contents.size()); contents 336 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_TRUE(contents.front().is_directory); contents 337 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_EQ(base::FilePath().AppendASCII("bar").value(), contents.front().name); contents 339 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc contents.clear(); contents 343 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 345 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc ASSERT_EQ(1u, contents.size()); contents 346 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc EXPECT_FALSE(contents.front().is_directory); contents 348 chrome/browser/media_galleries/fileapi/itunes_file_util_unittest.cc contents.front().name); contents 136 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc FileSystemOperation::FileEntryList* contents, contents 142 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc *contents = file_list; contents 148 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc FileSystemOperation::FileEntryList* contents, contents 150 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc DCHECK(contents); contents 154 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc url, base::Bind(&ReadDirectoryTestHelperCallback, &run_loop, contents, contents 297 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc FileSystemOperation::FileEntryList contents; contents 300 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 303 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc ASSERT_EQ(test_folders.size(), contents.size()); contents 305 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc for (size_t i = 0; i < contents.size(); ++i) { contents 306 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc EXPECT_TRUE(contents[i].is_directory); contents 311 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc contents[i].last_modified_time; contents 317 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::FilePath(contents[i].name).AsUTF8Unsafe()); contents 343 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc FileSystemOperation::FileEntryList contents; contents 346 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 352 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc FileSystemOperation::FileEntryList contents; contents 355 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 358 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc EXPECT_EQ(0u, contents.size()); contents 435 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc FileSystemOperation::FileEntryList contents; contents 438 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 441 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc ASSERT_EQ(expected_names.size(), contents.size()); contents 442 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc for (size_t i = 0; i < contents.size(); ++i) { contents 444 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::FilePath(contents[i].name).AsUTF8Unsafe()); contents 445 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc EXPECT_EQ(test_folders[i]->timestamp(), contents[i].last_modified_time); contents 446 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc EXPECT_TRUE(contents[i].is_directory); contents 454 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc FileSystemOperation::FileEntryList contents; contents 457 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 460 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc ASSERT_EQ(2u, contents.size()); contents 462 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc EXPECT_TRUE(contents.front().is_directory); contents 463 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc EXPECT_TRUE(contents.back().is_directory); contents 465 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc EXPECT_EQ(0, contents.front().size); contents 466 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc EXPECT_EQ(0, contents.back().size); contents 468 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc EXPECT_EQ(FILE_PATH_LITERAL("albums"), contents.front().name); contents 469 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc EXPECT_EQ(FILE_PATH_LITERAL("folders"), contents.back().name); contents 573 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc FileSystemOperation::FileEntryList contents; contents 577 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc ReadDirectoryTestHelper(operation_runner(), url, &contents, &completed); contents 580 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc EXPECT_EQ(1u, contents.size()); contents 582 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc base::FilePath(contents.begin()->name).AsUTF8Unsafe()); contents 583 chrome/browser/media_galleries/fileapi/picasa_file_util_unittest.cc EXPECT_FALSE(contents.begin()->is_directory); contents 118 chrome/browser/media_galleries/media_file_system_registry.cc void OnWebContentsDestroyedOrNavigated(WebContents* contents); contents 138 chrome/browser/media_galleries/media_file_system_registry.cc WebContents* contents = WebContents::FromRenderViewHost(rvh); contents 139 chrome/browser/media_galleries/media_file_system_registry.cc RenderProcessHost* rph = contents->GetRenderProcessHost(); contents 148 chrome/browser/media_galleries/media_file_system_registry.cc state->AddWebContentsObserver(contents); contents 226 chrome/browser/media_galleries/media_file_system_registry.cc WebContents* contents) { contents 227 chrome/browser/media_galleries/media_file_system_registry.cc RenderProcessHost* rph = contents->GetRenderProcessHost(); contents 231 chrome/browser/media_galleries/media_file_system_registry.cc rph_info->second->RemoveWebContentsObserver(contents); contents 251 chrome/browser/memory_details.cc WebContents* contents = WebContents::FromRenderViewHost(host); contents 253 chrome/browser/memory_details.cc if (contents) { contents 254 chrome/browser/memory_details.cc url = contents->GetURL(); contents 256 chrome/browser/memory_details.cc &chrome_browser->site_data[contents->GetBrowserContext()]; contents 257 chrome/browser/memory_details.cc SiteDetails::CollectSiteInfo(contents, site_data); contents 259 chrome/browser/memory_details.cc extensions::ViewType type = extensions::GetViewType(contents); contents 293 chrome/browser/memory_details.cc if (!contents) { contents 318 chrome/browser/memory_details.cc base::string16 title = contents->GetTitle(); contents 335 chrome/browser/memory_details.cc contents->GetController().GetPendingEntry(); contents 337 chrome/browser/memory_details.cc contents->GetController().GetLastCommittedEntry(); contents 623 chrome/browser/net/dns_probe_browsertest.cc WebContents* contents = contents 627 chrome/browser/net/dns_probe_browsertest.cc contents, contents 72 chrome/browser/net/firefox_proxy_settings.cc std::string contents; contents 73 chrome/browser/net/firefox_proxy_settings.cc if (!base::ReadFileToString(pref_file, &contents)) contents 77 chrome/browser/net/firefox_proxy_settings.cc Tokenize(contents, "\n", &lines); contents 140 chrome/browser/net/net_error_tab_helper.cc NetErrorTabHelper::NetErrorTabHelper(WebContents* contents) contents 141 chrome/browser/net/net_error_tab_helper.cc : WebContentsObserver(contents), contents 150 chrome/browser/net/net_error_tab_helper.cc if (contents) contents 151 chrome/browser/net/net_error_tab_helper.cc InitializePref(contents); contents 196 chrome/browser/net/net_error_tab_helper.cc void NetErrorTabHelper::InitializePref(WebContents* contents) { contents 197 chrome/browser/net/net_error_tab_helper.cc DCHECK(contents); contents 199 chrome/browser/net/net_error_tab_helper.cc BrowserContext* browser_context = contents->GetBrowserContext(); contents 78 chrome/browser/net/net_error_tab_helper.h explicit NetErrorTabHelper(content::WebContents* contents); contents 92 chrome/browser/net/net_error_tab_helper.h void InitializePref(content::WebContents* contents); contents 236 chrome/browser/net/proxy_browsertest.cc std::string contents; contents 241 chrome/browser/net/proxy_browsertest.cc &contents)); contents 243 chrome/browser/net/proxy_browsertest.cc std::string("data:,") + contents); contents 560 chrome/browser/notifications/desktop_notification_service.cc WebContents* contents) { contents 569 chrome/browser/notifications/desktop_notification_service.cc PermissionBubbleManager::FromWebContents(contents); contents 578 chrome/browser/notifications/desktop_notification_service.cc InfoBarService::FromWebContents(contents); contents 369 chrome/browser/notifications/message_center_notification_manager.cc content::WebContents* contents = contents 371 chrome/browser/notifications/message_center_notification_manager.cc if (!contents) { contents 378 chrome/browser/notifications/message_center_notification_manager.cc contents->DownloadImage( contents 165 chrome/browser/password_manager/chrome_password_manager_client.cc content::WebContents* contents) { contents 167 chrome/browser/password_manager/chrome_password_manager_client.cc ChromePasswordManagerClient::FromWebContents(contents); contents 175 chrome/browser/password_manager/chrome_password_manager_client.cc content::WebContents* contents) { contents 177 chrome/browser/password_manager/chrome_password_manager_client.cc ChromePasswordManagerClient::FromWebContents(contents); contents 59 chrome/browser/password_manager/chrome_password_manager_client.h content::WebContents* contents); contents 64 chrome/browser/password_manager/chrome_password_manager_client.h content::WebContents* contents); contents 289 chrome/browser/policy/policy_browsertest.cc content::WebContents* contents = contents 291 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(url, contents->GetURL()); contents 293 chrome/browser/policy/policy_browsertest.cc EXPECT_NE(title, contents->GetTitle()); contents 300 chrome/browser/policy/policy_browsertest.cc content::WebContents* contents = contents 302 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(url, contents->GetURL()); contents 304 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(title, contents->GetTitle()); contents 309 chrome/browser/policy/policy_browsertest.cc contents, contents 356 chrome/browser/policy/policy_browsertest.cc bool IsWebGLEnabled(content::WebContents* contents) { contents 359 chrome/browser/policy/policy_browsertest.cc contents, contents 367 chrome/browser/policy/policy_browsertest.cc bool IsJavascriptEnabled(content::WebContents* contents) { contents 369 chrome/browser/policy/policy_browsertest.cc contents->GetMainFrame(), "123"); contents 453 chrome/browser/policy/policy_browsertest.cc bool ContainsVisibleElement(content::WebContents* contents, contents 457 chrome/browser/policy/policy_browsertest.cc contents, contents 729 chrome/browser/policy/policy_browsertest.cc content::WebContents* contents = contents 737 chrome/browser/policy/policy_browsertest.cc contents->GetRenderViewHost()->ForwardMouseEvent(click_event); contents 739 chrome/browser/policy/policy_browsertest.cc contents->GetRenderViewHost()->ForwardMouseEvent(click_event); contents 1174 chrome/browser/policy/policy_browsertest.cc content::WebContents* contents = contents 1176 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(IsWebGLEnabled(contents)); contents 1183 chrome/browser/policy/policy_browsertest.cc content::CrashTab(contents); contents 1185 chrome/browser/policy/policy_browsertest.cc EXPECT_FALSE(IsWebGLEnabled(contents)); contents 1190 chrome/browser/policy/policy_browsertest.cc content::CrashTab(contents); contents 1192 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(IsWebGLEnabled(contents)); contents 1336 chrome/browser/policy/policy_browsertest.cc content::WebContents* contents = contents 1338 chrome/browser/policy/policy_browsertest.cc ASSERT_TRUE(contents); contents 1339 chrome/browser/policy/policy_browsertest.cc InfoBarService* infobar_service = InfoBarService::FromWebContents(contents); contents 1371 chrome/browser/policy/policy_browsertest.cc content::WebContents* contents = contents 1375 chrome/browser/policy/policy_browsertest.cc contents->GetRenderViewHost()); contents 1390 chrome/browser/policy/policy_browsertest.cc contents->GetRenderViewHost())); contents 1394 chrome/browser/policy/policy_browsertest.cc contents->GetRenderViewHost())); contents 1409 chrome/browser/policy/policy_browsertest.cc content::WebContents* contents = contents 1414 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(ContainsVisibleElement(contents, contents 1419 chrome/browser/policy/policy_browsertest.cc if (ContainsVisibleElement(contents, "footer")) contents 1420 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(ContainsVisibleElement(contents, "chrome-web-store-link")); contents 1430 chrome/browser/policy/policy_browsertest.cc EXPECT_FALSE(ContainsVisibleElement(contents, contents 1432 chrome/browser/policy/policy_browsertest.cc EXPECT_FALSE(ContainsVisibleElement(contents, "chrome-web-store-link")); contents 1756 chrome/browser/policy/policy_browsertest.cc content::WebContents* contents = contents 1758 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(GURL(content::kAboutBlankURL), contents->GetURL()); contents 1760 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(GURL(chrome::kChromeUIPolicyURL), contents->GetURL()); contents 1770 chrome/browser/policy/policy_browsertest.cc content::WaitForLoadStop(contents); contents 1771 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(GURL(chrome::kChromeUICreditsURL), contents->GetURL()); contents 1777 chrome/browser/policy/policy_browsertest.cc content::WaitForLoadStop(contents); contents 1778 chrome/browser/policy/policy_browsertest.cc EXPECT_EQ(GURL(chrome::kChromeUINewTabURL), contents->GetURL()); contents 1810 chrome/browser/policy/policy_browsertest.cc content::WebContents* contents = contents 1812 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(IsJavascriptEnabled(contents)); contents 1824 chrome/browser/policy/policy_browsertest.cc EXPECT_FALSE(IsJavascriptEnabled(contents)); contents 1831 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(IsJavascriptEnabled(contents)); contents 1835 chrome/browser/policy/policy_browsertest.cc EXPECT_FALSE(IsJavascriptEnabled(contents)); contents 1841 chrome/browser/policy/policy_browsertest.cc EXPECT_TRUE(IsJavascriptEnabled(contents)); contents 1876 chrome/browser/policy/policy_browsertest.cc content::WebContents* contents = contents 1878 chrome/browser/policy/policy_browsertest.cc ASSERT_TRUE(contents); contents 1879 chrome/browser/policy/policy_browsertest.cc InfoBarService* infobar_service = InfoBarService::FromWebContents(contents); contents 1905 chrome/browser/policy/policy_browsertest.cc TranslateTabHelper::FromWebContents(contents); contents 2651 chrome/browser/policy/policy_browsertest.cc content::WebContents* contents = contents 2655 chrome/browser/policy/policy_browsertest.cc contents, contents 402 chrome/browser/policy/policy_prefs_browsertest.cc content::WebContents* contents = contents 407 chrome/browser/policy/policy_prefs_browsertest.cc ASSERT_TRUE(content::ExecuteScriptAndExtractString(contents, javascript.str(), contents 18 chrome/browser/prefs/pref_hash_store_impl.cc const HashStoreContents& contents) { contents 19 chrome/browser/prefs/pref_hash_store_impl.cc const base::DictionaryValue* store_contents = contents.GetContents(); contents 20 chrome/browser/prefs/pref_hash_store_impl.cc std::string super_mac = contents.GetSuperMac(); contents 23 chrome/browser/prefs/pref_hash_store_impl.cc calculator.Validate(contents.hash_store_id(), contents 62 chrome/browser/prefs/pref_hash_store_impl.cc scoped_ptr<HashStoreContents> contents) contents 64 chrome/browser/prefs/pref_hash_store_impl.cc contents_(contents.Pass()), contents 45 chrome/browser/prefs/pref_hash_store_impl.h scoped_ptr<HashStoreContents> contents); contents 32 chrome/browser/prefs/pref_hash_store_impl_unittest.cc scoped_ptr<base::DictionaryValue> contents; contents 44 chrome/browser/prefs/pref_hash_store_impl_unittest.cc data_->contents.reset(); contents 49 chrome/browser/prefs/pref_hash_store_impl_unittest.cc virtual bool IsInitialized() const OVERRIDE { return data_->contents; } contents 62 chrome/browser/prefs/pref_hash_store_impl_unittest.cc return data_->contents.get(); contents 87 chrome/browser/prefs/pref_hash_store_impl_unittest.cc if (!data_->contents) contents 88 chrome/browser/prefs/pref_hash_store_impl_unittest.cc data_->contents.reset(new base::DictionaryValue); contents 89 chrome/browser/prefs/pref_hash_store_impl_unittest.cc return data_->contents.get(); contents 201 chrome/browser/prefs/profile_pref_store_manager_unittest.cc std::string contents; contents 202 chrome/browser/prefs/profile_pref_store_manager_unittest.cc EXPECT_TRUE(base::ReadFileToString(path, &contents)); contents 203 chrome/browser/prefs/profile_pref_store_manager_unittest.cc ReplaceSubstringsAfterOffset(&contents, 0u, find, replace); contents 204 chrome/browser/prefs/profile_pref_store_manager_unittest.cc EXPECT_EQ(static_cast<int>(contents.length()), contents 205 chrome/browser/prefs/profile_pref_store_manager_unittest.cc base::WriteFile(path, contents.c_str(), contents.length())); contents 25 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc PrefServiceHashStoreContents contents("store_id", &local_state_); contents 26 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_EQ("store_id", contents.hash_store_id()); contents 31 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc PrefServiceHashStoreContents contents("store_id", &local_state_); contents 32 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_FALSE(contents.IsInitialized()); contents 33 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc (*contents.GetMutableContents())->Set("foo", new base::StringValue("bar")); contents 34 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_TRUE(contents.IsInitialized()); contents 37 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc PrefServiceHashStoreContents contents("store_id", &local_state_); contents 38 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_TRUE(contents.IsInitialized()); contents 47 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc PrefServiceHashStoreContents contents("store_id", &local_state_); contents 48 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_FALSE(contents.IsInitialized()); contents 49 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc (*contents.GetMutableContents())->Set("foo", new base::StringValue("bar")); contents 50 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_TRUE(contents.IsInitialized()); contents 57 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc PrefServiceHashStoreContents contents("store_id", &local_state_); contents 58 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_TRUE(contents.IsInitialized()); contents 59 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc contents.Reset(); contents 60 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_FALSE(contents.IsInitialized()); contents 63 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc PrefServiceHashStoreContents contents("store_id", &local_state_); contents 64 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_FALSE(contents.IsInitialized()); contents 74 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc PrefServiceHashStoreContents contents("store_id", &local_state_); contents 75 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_FALSE(contents.GetVersion(&version)); contents 76 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc (*contents.GetMutableContents())->Set("foo", new base::StringValue("bar")); contents 77 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_FALSE(contents.GetVersion(&version)); contents 80 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc PrefServiceHashStoreContents contents("store_id", &local_state_); contents 81 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_FALSE(contents.GetVersion(&version)); contents 82 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc contents.SetVersion(1); contents 83 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_TRUE(contents.GetVersion(&version)); contents 90 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc PrefServiceHashStoreContents contents("store_id", &local_state_); contents 91 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_TRUE(contents.GetVersion(&version)); contents 101 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc PrefServiceHashStoreContents contents("store_id", &local_state_); contents 102 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_EQ(NULL, contents.GetContents()); contents 103 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc (*contents.GetMutableContents())->Set("foo", new base::StringValue("bar")); contents 104 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_FALSE(contents.GetContents() == NULL); contents 106 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_TRUE(contents.GetContents()->GetString("foo", &actual_value)); contents 113 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc PrefServiceHashStoreContents contents("store_id", &local_state_); contents 114 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_FALSE(contents.GetContents() == NULL); contents 120 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc PrefServiceHashStoreContents contents("store_id", &local_state_); contents 121 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_TRUE(contents.GetSuperMac().empty()); contents 122 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc (*contents.GetMutableContents())->Set("foo", new base::StringValue("bar")); contents 123 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_TRUE(contents.GetSuperMac().empty()); contents 124 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc contents.SetSuperMac("0123456789"); contents 125 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_EQ("0123456789", contents.GetSuperMac()); contents 128 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc PrefServiceHashStoreContents contents("store_id", &local_state_); contents 129 chrome/browser/prefs/tracked/pref_service_hash_store_contents_unittest.cc ASSERT_EQ("0123456789", contents.GetSuperMac()); contents 530 chrome/browser/prerender/prerender_browsertest.cc void OnPrerenderCreated(TestPrerenderContents* contents) { contents 532 chrome/browser/prerender/prerender_browsertest.cc contents_ = contents; contents 538 chrome/browser/prerender/prerender_browsertest.cc virtual void OnPrerenderStart(PrerenderContents* contents) OVERRIDE { contents 542 chrome/browser/prerender/prerender_browsertest.cc virtual void OnPrerenderStopLoading(PrerenderContents* contents) OVERRIDE { contents 548 chrome/browser/prerender/prerender_browsertest.cc virtual void OnPrerenderStop(PrerenderContents* contents) OVERRIDE { contents 559 chrome/browser/prerender/prerender_browsertest.cc PrerenderContents* contents, PrerenderContents* replacement) OVERRIDE { contents 607 chrome/browser/prerender/prerender_browsertest.cc TestPrerenderContents* contents = contents 612 chrome/browser/prerender/prerender_browsertest.cc expected.handle->OnPrerenderCreated(contents); contents 613 chrome/browser/prerender/prerender_browsertest.cc return contents; contents 1381 chrome/browser/prerender/prerender_browsertest.cc prerender_data ? prerender_data->contents() : NULL); contents 1529 chrome/browser/prerender/prerender_browsertest.cc EXPECT_FALSE(prerenders[0]->contents()); contents 1533 chrome/browser/prerender/prerender_browsertest.cc TestPrerenderContents* prerender_contents = prerenders[0]->contents(); contents 1683 chrome/browser/prerender/prerender_browsertest.cc ASSERT_FALSE(prerender->contents()); contents 2070 chrome/browser/prerender/prerender_browsertest.cc WaitForASCIITitle(prerender->contents()->prerender_contents(), kReadyTitle); contents 2071 chrome/browser/prerender/prerender_browsertest.cc EXPECT_TRUE(DidPrerenderPass(prerender->contents()->prerender_contents())); contents 2319 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(prerenders[0]->contents()); contents 2362 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(prerenders[0]->contents()); contents 2393 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(prerender->contents()); contents 2561 chrome/browser/prerender/prerender_browsertest.cc WaitForASCIITitle(prerender->contents()->prerender_contents(), kReadyTitle); contents 2562 chrome/browser/prerender/prerender_browsertest.cc EXPECT_TRUE(DidPrerenderPass(prerender->contents()->prerender_contents())); contents 2591 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(prerender->contents()); contents 2592 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(prerender->contents()->prerender_contents()); contents 2593 chrome/browser/prerender/prerender_browsertest.cc prerender->contents()->prerender_contents()->GetController(). contents 3159 chrome/browser/prerender/prerender_browsertest.cc EXPECT_FALSE(prerender->contents()); contents 3187 chrome/browser/prerender/prerender_browsertest.cc EXPECT_FALSE(prerender->contents()); contents 3257 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(prerender->contents()); contents 3258 chrome/browser/prerender/prerender_browsertest.cc prerender->contents()->set_should_be_shown(false); contents 3787 chrome/browser/prerender/prerender_browsertest.cc WaitForASCIITitle(prerender->contents()->prerender_contents(), kReadyTitle); contents 3789 chrome/browser/prerender/prerender_browsertest.cc EXPECT_TRUE(DidPrerenderPass(prerender->contents()->prerender_contents())); contents 3831 chrome/browser/prerender/prerender_browsertest.cc WaitForASCIITitle(prerender->contents()->prerender_contents(), kReadyTitle); contents 3832 chrome/browser/prerender/prerender_browsertest.cc EXPECT_TRUE(DidPrerenderPass(prerender->contents()->prerender_contents())); contents 4071 chrome/browser/prerender/prerender_browsertest.cc ASSERT_TRUE(prerender2->contents()); contents 4072 chrome/browser/prerender/prerender_browsertest.cc prerender2->contents()->set_skip_final_checks(true); contents 196 chrome/browser/prerender/prerender_contents.cc PrerenderContents* contents) { contents 200 chrome/browser/prerender/prerender_contents.cc PrerenderContents* contents) { contents 204 chrome/browser/prerender/prerender_contents.cc PrerenderContents* contents, PrerenderContents* replacement) { contents 75 chrome/browser/prerender/prerender_contents.h virtual void OnPrerenderStart(PrerenderContents* contents) = 0; contents 78 chrome/browser/prerender/prerender_contents.h virtual void OnPrerenderStopLoading(PrerenderContents* contents); contents 81 chrome/browser/prerender/prerender_contents.h virtual void OnPrerenderDomContentLoaded(PrerenderContents* contents); contents 86 chrome/browser/prerender/prerender_contents.h virtual void OnPrerenderStop(PrerenderContents* contents) = 0; contents 90 chrome/browser/prerender/prerender_contents.h PrerenderContents* contents, PrerenderContents* replacement); contents 23 chrome/browser/prerender/prerender_handle.cc prerender_data_->contents()->RemoveObserver(this); contents 53 chrome/browser/prerender/prerender_handle.cc return prerender_data_->contents()->has_finished_loading(); contents 58 chrome/browser/prerender/prerender_handle.cc return prerender_data_ ? prerender_data_->contents() : NULL; contents 67 chrome/browser/prerender/prerender_handle.cc return prerender_data_->contents()->Matches(url, session_storage_namespace); contents 83 chrome/browser/prerender/prerender_handle.cc DCHECK_EQ(prerender_data_->contents(), prerender_contents); contents 92 chrome/browser/prerender/prerender_handle.cc DCHECK_EQ(prerender_data_->contents(), prerender_contents); contents 101 chrome/browser/prerender/prerender_handle.cc DCHECK_EQ(prerender_data_->contents(), prerender_contents); contents 113 chrome/browser/prerender/prerender_handle.cc PrerenderContents* contents, PrerenderContents* replacement) { contents 122 chrome/browser/prerender/prerender_handle.cc contents->RemoveObserver(this); contents 138 chrome/browser/prerender/prerender_handle.cc return prerender_data_->contents()->GetSessionStorageNamespace(); contents 144 chrome/browser/prerender/prerender_handle.cc return prerender_data_->contents()->child_id(); contents 79 chrome/browser/prerender/prerender_handle.h PrerenderContents* contents() const; contents 110 chrome/browser/prerender/prerender_handle.h PrerenderContents* contents, PrerenderContents* replacement) OVERRIDE; contents 397 chrome/browser/prerender/prerender_manager.cc active_prerenders_.front()->contents(); contents 429 chrome/browser/prerender/prerender_manager.cc RecordEvent(prerender_data->contents(), contents 435 chrome/browser/prerender/prerender_manager.cc RecordEvent(prerender_data->contents(), PRERENDER_EVENT_SWAPIN_CANDIDATE); contents 436 chrome/browser/prerender/prerender_manager.cc DCHECK(prerender_data->contents()); contents 450 chrome/browser/prerender/prerender_manager.cc RecordEvent(prerender_data->contents(), contents 455 chrome/browser/prerender/prerender_manager.cc prerender_data->contents()->GetSessionStorageNamespace(); contents 461 chrome/browser/prerender/prerender_manager.cc RecordEvent(prerender_data->contents(), contents 465 chrome/browser/prerender/prerender_manager.cc RecordEvent(prerender_data->contents(), contents 501 chrome/browser/prerender/prerender_manager.cc RecordEvent(prerender_data->contents(), PRERENDER_EVENT_SWAPIN_NO_DELEGATE); contents 512 chrome/browser/prerender/prerender_manager.cc if (IsNoSwapInExperiment(prerender_data->contents()->experiment_id())) contents 516 chrome/browser/prerender/prerender_manager.cc prerender_data->contents()->prerender_contents()) { contents 527 chrome/browser/prerender/prerender_manager.cc prerender_data->contents()->Destroy(FINAL_STATUS_NAVIGATION_UNCOMMITTED); contents 534 chrome/browser/prerender/prerender_manager.cc prerender_data->contents()->Destroy(FINAL_STATUS_WINDOW_OPENER); contents 540 chrome/browser/prerender/prerender_manager.cc prerender_data->contents()->Destroy(FINAL_STATUS_PAGE_BEING_CAPTURED); contents 547 chrome/browser/prerender/prerender_manager.cc if (!prerender_data->contents()->prerendering_has_started()) { contents 549 chrome/browser/prerender/prerender_manager.cc prerender_data->contents()->origin()); contents 550 chrome/browser/prerender/prerender_manager.cc prerender_data->contents()->Destroy(FINAL_STATUS_WOULD_HAVE_BEEN_USED); contents 557 chrome/browser/prerender/prerender_manager.cc DestroyAndMarkMatchCompleteAsUsed(prerender_data->contents(), contents 564 chrome/browser/prerender/prerender_manager.cc if (prerender_data->contents()->IsCrossSiteNavigationPending()) { contents 566 chrome/browser/prerender/prerender_manager.cc prerender_data->contents(), contents 575 chrome/browser/prerender/prerender_manager.cc prerender_data->contents()->origin()); contents 576 chrome/browser/prerender/prerender_manager.cc prerender_data->contents()->Destroy(FINAL_STATUS_WOULD_HAVE_BEEN_USED); contents 581 chrome/browser/prerender/prerender_manager.cc if (!prerender_data->contents()->load_start_time().is_null()) { contents 583 chrome/browser/prerender/prerender_manager.cc prerender_data->contents()->origin(), contents 584 chrome/browser/prerender/prerender_manager.cc GetCurrentTimeTicks() - prerender_data->contents()->load_start_time()); contents 587 chrome/browser/prerender/prerender_manager.cc prerender_data->contents()->origin(), contents 592 chrome/browser/prerender/prerender_manager.cc histograms_->RecordPerSessionCount(prerender_data->contents()->origin(), contents 594 chrome/browser/prerender/prerender_manager.cc histograms_->RecordUsedPrerender(prerender_data->contents()->origin()); contents 599 chrome/browser/prerender/prerender_manager.cc FindIteratorForPrerenderContents(prerender_data->contents()); contents 799 chrome/browser/prerender/prerender_manager.cc PrerenderContents* prerender_contents = (*it)->contents(); contents 814 chrome/browser/prerender/prerender_manager.cc (*it)->contents()->prerender_contents(); contents 816 chrome/browser/prerender/prerender_manager.cc return (*it)->contents(); contents 826 chrome/browser/prerender/prerender_manager.cc (*it)->contents()->prerender_contents(); contents 828 chrome/browser/prerender/prerender_manager.cc return (*it)->contents(); contents 852 chrome/browser/prerender/prerender_manager.cc if (WebContents* contents = (*it)->contents()->prerender_contents()) contents 853 chrome/browser/prerender/prerender_manager.cc result.push_back(contents); contents 964 chrome/browser/prerender/prerender_manager.cc PrerenderContents* contents, contents 967 chrome/browser/prerender/prerender_manager.cc contents_(contents), contents 1055 chrome/browser/prerender/prerender_manager.cc prerender_data_->contents()->GetSessionStorageNamespace(); contents 1058 chrome/browser/prerender/prerender_manager.cc true, prerender_data_->contents()->child_id(), contents 1128 chrome/browser/prerender/prerender_manager.cc manager_->RecordEvent(prerender_data_->contents(), event); contents 1185 chrome/browser/prerender/prerender_manager.cc manager->RecordEvent(prerender_data->contents(), contents 1363 chrome/browser/prerender/prerender_manager.cc std::mem_fun(&PrerenderData::contents)); contents 1414 chrome/browser/prerender/prerender_manager.cc DCHECK(prerender_data->contents()); contents 1418 chrome/browser/prerender/prerender_manager.cc prerender_data->contents()->Destroy(FINAL_STATUS_TIMED_OUT); contents 1450 chrome/browser/prerender/prerender_manager.cc if ((*it)->contents()->Matches(url, session_storage_namespace)) contents 1473 chrome/browser/prerender/prerender_manager.cc if (prerender_contents == (*it)->contents()) contents 1528 chrome/browser/prerender/prerender_manager.cc void PrerenderManager::AddToHistory(PrerenderContents* contents) { contents 1529 chrome/browser/prerender/prerender_manager.cc PrerenderHistory::Entry entry(contents->prerender_url(), contents 1530 chrome/browser/prerender/prerender_manager.cc contents->final_status(), contents 1531 chrome/browser/prerender/prerender_manager.cc contents->origin(), contents 1541 chrome/browser/prerender/prerender_manager.cc if (base::Value* prerender_value = (*it)->contents()->GetAsValue()) contents 1550 chrome/browser/prerender/prerender_manager.cc PrerenderContents* contents = active_prerenders_.front()->contents(); contents 1551 chrome/browser/prerender/prerender_manager.cc contents->Destroy(final_status); contents 1733 chrome/browser/prerender/prerender_manager.cc void PrerenderManager::RecordEvent(PrerenderContents* contents, contents 1735 chrome/browser/prerender/prerender_manager.cc if (!contents) contents 1738 chrome/browser/prerender/prerender_manager.cc histograms_->RecordEvent(contents->origin(), contents->experiment_id(), contents 370 chrome/browser/prerender/prerender_manager.h PrerenderContents* contents, contents 393 chrome/browser/prerender/prerender_manager.h PrerenderContents* contents() { return contents_.get(); } contents 608 chrome/browser/prerender/prerender_manager.h void AddToHistory(PrerenderContents* contents); contents 641 chrome/browser/prerender/prerender_manager.h void RecordEvent(PrerenderContents* contents, PrerenderEvent event) const; contents 27 chrome/browser/prerender/prerender_resource_throttle.cc PrerenderContents* contents) { contents 28 chrome/browser/prerender/prerender_resource_throttle.cc g_prerender_contents_for_testing = contents; contents 42 chrome/browser/prerender/prerender_resource_throttle.h static void OverridePrerenderContentsForTesting(PrerenderContents* contents); contents 128 chrome/browser/prerender/prerender_unittest.cc return data->contents(); contents 137 chrome/browser/prerender/prerender_unittest.cc FindIteratorForPrerenderContents(prerender_data->contents()); contents 1557 chrome/browser/prerender/prerender_unittest.cc EXPECT_EQ(prerender_contents, prerender_handle->contents()); contents 1558 chrome/browser/prerender/prerender_unittest.cc EXPECT_EQ(ORIGIN_INSTANT, prerender_handle->contents()->origin()); contents 12 chrome/browser/printing/print_preview_context_menu_observer.cc content::WebContents* contents) : contents_(contents) { contents 18 chrome/browser/printing/print_preview_context_menu_observer.h explicit PrintPreviewContextMenuObserver(content::WebContents* contents); contents 343 chrome/browser/printing/print_preview_dialog_controller.cc WebContents* contents) const { contents 346 chrome/browser/printing/print_preview_dialog_controller.cc if (operation->preview_dialog == contents || contents 347 chrome/browser/printing/print_preview_dialog_controller.cc operation->initiator == contents) { contents 372 chrome/browser/printing/print_preview_dialog_controller.cc bool PrintPreviewDialogController::IsPrintPreviewDialog(WebContents* contents) { contents 373 chrome/browser/printing/print_preview_dialog_controller.cc return IsPrintPreviewURL(contents->GetURL()); contents 431 chrome/browser/printing/print_preview_dialog_controller.cc WebContents* contents) { contents 432 chrome/browser/printing/print_preview_dialog_controller.cc WebContents* preview_dialog = GetPrintPreviewForContents(contents); contents 438 chrome/browser/printing/print_preview_dialog_controller.cc if (contents == preview_dialog) contents 439 chrome/browser/printing/print_preview_dialog_controller.cc RemovePreviewDialog(contents); contents 441 chrome/browser/printing/print_preview_dialog_controller.cc RemoveInitiator(contents); contents 445 chrome/browser/printing/print_preview_dialog_controller.cc WebContents* contents, const content::LoadCommittedDetails* details) { contents 446 chrome/browser/printing/print_preview_dialog_controller.cc WebContents* preview_dialog = GetPrintPreviewForContents(contents); contents 452 chrome/browser/printing/print_preview_dialog_controller.cc if (contents == preview_dialog) { contents 480 chrome/browser/printing/print_preview_dialog_controller.cc RemoveInitiator(contents); contents 51 chrome/browser/printing/print_preview_dialog_controller.h content::WebContents* contents) const; contents 62 chrome/browser/printing/print_preview_dialog_controller.h static bool IsPrintPreviewDialog(content::WebContents* contents); contents 82 chrome/browser/printing/print_preview_dialog_controller.h void OnWebContentsDestroyed(content::WebContents* contents); contents 83 chrome/browser/printing/print_preview_dialog_controller.h void OnNavigationEntryCommitted(content::WebContents* contents, contents 94 chrome/browser/printing/print_preview_dialog_controller_browsertest.cc virtual void WebContentsDestroyed(WebContents* contents) OVERRIDE { contents 52 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc WebContents* contents = WebContents::FromRenderViewHost(host); contents 53 chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc GURL url = contents->GetURL(); contents 146 chrome/browser/safe_browsing/download_protection_service_unittest.cc ACTION_P(SetCertificateContents, contents) { contents 147 chrome/browser/safe_browsing/download_protection_service_unittest.cc arg1->add_certificate_chain()->add_element()->set_certificate(contents); contents 150 chrome/browser/safe_browsing/download_protection_service_unittest.cc ACTION_P(SetDosHeaderContents, contents) { contents 151 chrome/browser/safe_browsing/download_protection_service_unittest.cc arg1->mutable_pe_headers()->set_dos_header(contents); contents 437 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc WebContents* contents = contents 446 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc InterstitialPage::GetInterstitialPage(contents)-> contents 453 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc WebContents* contents = contents 456 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc contents); contents 462 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc WebContents* contents = contents 465 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc contents); contents 471 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc WebContents* contents = contents 474 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc if (contents->ShowingInterstitialPage() && wait_for_delete) { contents 478 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc contents->GetInterstitialPage()->GetDelegateForTesting()); contents 484 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc ASSERT_FALSE(contents->ShowingInterstitialPage()); contents 488 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc WebContents* contents = contents 491 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc contents); contents 496 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc WebContents* contents = contents 500 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc InterstitialObserver observer(contents, contents 503 chrome/browser/safe_browsing/safe_browsing_blocking_page_test.cc if (!InterstitialPage::GetInterstitialPage(contents)) contents 413 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc WebContents* contents = contents 415 chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc InterstitialPage* interstitial_page = contents->GetInterstitialPage(); contents 59 chrome/browser/search/iframe_source.cc content::WebContents* contents = contents 61 chrome/browser/search/iframe_source.cc if (contents == NULL) contents 64 chrome/browser/search/iframe_source.cc contents->GetController().GetVisibleEntry(); contents 192 chrome/browser/search/search.cc bool IsRenderedInInstantProcess(const content::WebContents* contents, contents 195 chrome/browser/search/search.cc contents->GetRenderProcessHost(); contents 248 chrome/browser/search/search.cc base::string16 GetSearchTermsImpl(const content::WebContents* contents, contents 250 chrome/browser/search/search.cc if (!contents || !IsQueryExtractionEnabled()) contents 261 chrome/browser/search/search.cc Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext()); contents 263 chrome/browser/search/search.cc if (!IsRenderedInInstantProcess(contents, profile) && contents 264 chrome/browser/search/search.cc ((entry == contents->GetController().GetLastCommittedEntry()) || contents 424 chrome/browser/search/search.cc base::string16 GetSearchTerms(const content::WebContents* contents) { contents 425 chrome/browser/search/search.cc if (!contents) contents 429 chrome/browser/search/search.cc contents->GetController().GetVisibleEntry(); contents 441 chrome/browser/search/search.cc return GetSearchTermsImpl(contents, entry); contents 471 chrome/browser/search/search.cc bool IsInstantNTP(const content::WebContents* contents) { contents 472 chrome/browser/search/search.cc if (!contents) contents 475 chrome/browser/search/search.cc return NavEntryIsInstantNTP(contents, contents 476 chrome/browser/search/search.cc contents->GetController().GetVisibleEntry()); contents 479 chrome/browser/search/search.cc bool NavEntryIsInstantNTP(const content::WebContents* contents, contents 481 chrome/browser/search/search.cc if (!contents || !entry || !IsInstantExtendedAPIEnabled()) contents 484 chrome/browser/search/search.cc Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext()); contents 485 chrome/browser/search/search.cc if (!IsRenderedInInstantProcess(contents, profile)) contents 127 chrome/browser/search/search.h base::string16 GetSearchTerms(const content::WebContents* contents); contents 143 chrome/browser/search/search.h bool IsInstantNTP(const content::WebContents* contents); contents 147 chrome/browser/search/search.h bool NavEntryIsInstantNTP(const content::WebContents* contents, contents 34 chrome/browser/search/search_terms_tracker.cc const content::WebContents* contents, contents 37 chrome/browser/search/search_terms_tracker.cc if (contents) { contents 38 chrome/browser/search/search_terms_tracker.cc TabState::const_iterator it = tabs_.find(contents); contents 123 chrome/browser/search/search_terms_tracker.cc const content::WebContents* contents) { contents 124 chrome/browser/search/search_terms_tracker.cc TabState::iterator it = tabs_.find(contents); contents 37 chrome/browser/search/search_terms_tracker.h bool GetSearchTerms(const content::WebContents* contents, contents 62 chrome/browser/search/search_terms_tracker.h void RemoveTabData(const content::WebContents* contents); contents 215 chrome/browser/search/search_unittest.cc bool InInstantProcess(const content::WebContents* contents) { contents 219 chrome/browser/search/search_unittest.cc contents->GetRenderProcessHost()->GetID()); contents 352 chrome/browser/search/search_unittest.cc const content::WebContents* contents = contents 357 chrome/browser/search/search_unittest.cc EXPECT_EQ(test.start_in_instant_process, InInstantProcess(contents)) contents 362 chrome/browser/search/search_unittest.cc contents->GetSiteInstance(); contents 364 chrome/browser/search/search_unittest.cc contents->GetRenderProcessHost(); contents 366 chrome/browser/search/search_unittest.cc contents->GetRenderViewHost(); contents 370 chrome/browser/search/search_unittest.cc EXPECT_EQ(test.end_in_instant_process, InInstantProcess(contents)) contents 374 chrome/browser/search/search_unittest.cc start_site_instance == contents->GetSiteInstance()) contents 377 chrome/browser/search/search_unittest.cc start_rvh == contents->GetRenderViewHost()) contents 380 chrome/browser/search/search_unittest.cc start_rph == contents->GetRenderProcessHost()) contents 391 chrome/browser/search/search_unittest.cc content::WebContents* contents = contents 396 chrome/browser/search/search_unittest.cc EXPECT_EQ(test.start_in_instant_process, InInstantProcess(contents)) contents 401 chrome/browser/search/search_unittest.cc contents->GetSiteInstance(); contents 403 chrome/browser/search/search_unittest.cc contents->GetRenderProcessHost(); contents 405 chrome/browser/search/search_unittest.cc contents->GetRenderViewHost(); contents 408 chrome/browser/search/search_unittest.cc content::NavigationController* controller = &contents->GetController(); contents 416 chrome/browser/search/search_unittest.cc EXPECT_EQ(test.end_in_instant_process, InInstantProcess(contents)) contents 420 chrome/browser/search/search_unittest.cc start_site_instance == contents->GetSiteInstance()) contents 423 chrome/browser/search/search_unittest.cc start_rvh == contents->GetRenderViewHost()) contents 426 chrome/browser/search/search_unittest.cc start_rph == contents->GetRenderProcessHost()) contents 458 chrome/browser/search/search_unittest.cc const content::WebContents* contents = contents 460 chrome/browser/search/search_unittest.cc EXPECT_EQ(test.expected_result, IsInstantNTP(contents)) contents 471 chrome/browser/search/search_unittest.cc content::WebContents* contents = contents 473 chrome/browser/search/search_unittest.cc content::NavigationController& controller = contents->GetController(); contents 480 chrome/browser/search/search_unittest.cc contents->GetBrowserContext())); contents 482 chrome/browser/search/search_unittest.cc EXPECT_FALSE(IsInstantNTP(contents)); contents 484 chrome/browser/search/search_unittest.cc NavEntryIsInstantNTP(contents, contents 492 chrome/browser/search/search_unittest.cc content::WebContents* contents = contents 494 chrome/browser/search/search_unittest.cc content::NavigationController& controller = contents->GetController(); contents 497 chrome/browser/search/search_unittest.cc EXPECT_TRUE(NavEntryIsInstantNTP(contents, contents 502 chrome/browser/search/search_unittest.cc EXPECT_FALSE(NavEntryIsInstantNTP(contents, contents 506 chrome/browser/search/search_unittest.cc EXPECT_TRUE(NavEntryIsInstantNTP(contents, contents 513 chrome/browser/search/search_unittest.cc content::WebContents* contents = contents 515 chrome/browser/search/search_unittest.cc content::NavigationController& controller = contents->GetController(); contents 517 chrome/browser/search/search_unittest.cc EXPECT_TRUE(NavEntryIsInstantNTP(contents, contents 521 chrome/browser/search/search_unittest.cc EXPECT_TRUE(NavEntryIsInstantNTP(contents, contents 102 chrome/browser/search_engines/template_url_parser_unittest.cc std::string contents; contents 103 chrome/browser/search_engines/template_url_parser_unittest.cc ASSERT_TRUE(base::ReadFileToString(full_path, &contents)); contents 104 chrome/browser/search_engines/template_url_parser_unittest.cc template_url_.reset(TemplateURLParser::Parse(NULL, false, contents.data(), contents 105 chrome/browser/search_engines/template_url_parser_unittest.cc contents.length(), filter)); contents 149 chrome/browser/sessions/better_session_restore_browsertest.cc std::string contents; contents 150 chrome/browser/sessions/better_session_restore_browsertest.cc CHECK(base::ReadFileToString(path, &contents)); contents 151 chrome/browser/sessions/better_session_restore_browsertest.cc g_file_contents.Get()["/" + test_path_ + *it] = contents; contents 32 chrome/browser/sessions/in_memory_tab_restore_service.cc content::WebContents* contents, contents 34 chrome/browser/sessions/in_memory_tab_restore_service.cc helper_.CreateHistoricalTab(contents, index); contents 30 chrome/browser/sessions/in_memory_tab_restore_service.h virtual void CreateHistoricalTab(content::WebContents* contents, contents 449 chrome/browser/sessions/persistent_tab_restore_service.cc memcpy(command->contents(), &payload, sizeof(payload)); contents 493 chrome/browser/sessions/persistent_tab_restore_service.cc memcpy(command->contents(), &payload, sizeof(payload)); contents 509 chrome/browser/sessions/persistent_tab_restore_service.cc memcpy(command->contents(), &payload, sizeof(payload)); contents 520 chrome/browser/sessions/persistent_tab_restore_service.cc memcpy(command->contents(), &payload, sizeof(payload)); contents 922 chrome/browser/sessions/persistent_tab_restore_service.cc content::WebContents* contents, contents 924 chrome/browser/sessions/persistent_tab_restore_service.cc helper_.CreateHistoricalTab(contents, index); contents 30 chrome/browser/sessions/persistent_tab_restore_service.h virtual void CreateHistoricalTab(content::WebContents* contents, contents 157 chrome/browser/sessions/session_backend.cc memcpy(command->contents(), contents 329 chrome/browser/sessions/session_backend.cc wrote = file->WriteAtCurrentPos(reinterpret_cast<char*>((*i)->contents()), contents 27 chrome/browser/sessions/session_backend_unittest.cc memcpy(command->contents(), data.data.c_str(), data.data.size()); contents 45 chrome/browser/sessions/session_backend_unittest.cc memcmp(command->contents(), data.data.c_str(), command->size()) == 0); contents 135 chrome/browser/sessions/session_backend_unittest.cc reinterpret_cast<char*>(big_command->contents())[0] = 'a'; contents 136 chrome/browser/sessions/session_backend_unittest.cc reinterpret_cast<char*>(big_command->contents())[big_size - 1] = 'z'; contents 152 chrome/browser/sessions/session_backend_unittest.cc EXPECT_EQ('a', reinterpret_cast<char*>(commands[1]->contents())[0]); contents 154 chrome/browser/sessions/session_backend_unittest.cc reinterpret_cast<char*>(commands[1]->contents())[big_size - 1]); contents 20 chrome/browser/sessions/session_command.cc memcpy(contents(), pickle.data(), pickle.size()); contents 31 chrome/browser/sessions/session_command.cc return new Pickle(contents(), static_cast<int>(size())); contents 42 chrome/browser/sessions/session_command.h char* contents() { return const_cast<char*>(contents_.c_str()); } contents 43 chrome/browser/sessions/session_command.h const char* contents() const { return contents_.c_str(); } contents 276 chrome/browser/sessions/session_restore.cc content::WebContents* contents = tab->GetWebContents(); contents 277 chrome/browser/sessions/session_restore.cc if (contents) { contents 278 chrome/browser/sessions/session_restore.cc Browser* browser = chrome::FindBrowserWithWebContents(contents); contents 280 chrome/browser/sessions/session_restore.cc browser->tab_strip_model()->GetActiveWebContents() != contents) { contents 288 chrome/browser/sessions/session_restore.cc contents->WasHidden(); contents 216 chrome/browser/sessions/session_restore_browsertest.cc content::WebContents* contents = tab_strip_model->GetWebContentsAt(i); contents 217 chrome/browser/sessions/session_restore_browsertest.cc gfx::NativeView window = contents->GetView()->GetNativeView(); contents 415 chrome/browser/sessions/session_restore_browsertest.cc const content::WebContents* contents = contents 417 chrome/browser/sessions/session_restore_browsertest.cc ASSERT_TRUE(contents); contents 419 chrome/browser/sessions/session_restore_browsertest.cc contents->GetController().GetActiveEntry(); contents 172 chrome/browser/sessions/session_service.cc memcpy(&payload->id, command.contents(), 4); contents 173 chrome/browser/sessions/session_service.cc memcpy(&payload->close_time, command.contents() + 4, 8); contents 428 chrome/browser/sessions/session_service.cc memcpy(command->contents(), &payload, sizeof(payload)); contents 453 chrome/browser/sessions/session_service.cc memcpy(command->contents(), &payload, sizeof(payload)); contents 740 chrome/browser/sessions/session_service.cc memcpy(command->contents(), &payload, sizeof(payload)); contents 750 chrome/browser/sessions/session_service.cc memcpy(command->contents(), payload, sizeof(payload)); contents 767 chrome/browser/sessions/session_service.cc memcpy(command->contents(), &payload, sizeof(payload)); contents 779 chrome/browser/sessions/session_service.cc memcpy(command->contents(), &payload, sizeof(payload)); contents 794 chrome/browser/sessions/session_service.cc memcpy(command->contents(), &payload, sizeof(payload)); contents 807 chrome/browser/sessions/session_service.cc memcpy(command->contents(), &payload, sizeof(payload)); contents 819 chrome/browser/sessions/session_service.cc memcpy(command->contents(), &payload, sizeof(payload)); contents 831 chrome/browser/sessions/session_service.cc memcpy(command->contents(), &payload, sizeof(payload)); contents 843 chrome/browser/sessions/session_service.cc memcpy(command->contents(), &payload, sizeof(payload)); contents 862 chrome/browser/sessions/session_service.cc memcpy(command->contents(), &payload, sizeof(payload)); contents 1747 chrome/browser/sessions/session_service.cc void SessionService::TabInserted(WebContents* contents) { contents 1749 chrome/browser/sessions/session_service.cc SessionTabHelper::FromWebContents(contents); contents 1755 chrome/browser/sessions/session_service.cc extensions::TabHelper::FromWebContents(contents); contents 1771 chrome/browser/sessions/session_service.cc contents->GetController().GetDefaultSessionStorageNamespace(); contents 1778 chrome/browser/sessions/session_service.cc void SessionService::TabClosing(WebContents* contents) { contents 1782 chrome/browser/sessions/session_service.cc contents->GetController().GetDefaultSessionStorageNamespace(); contents 1785 chrome/browser/sessions/session_service.cc SessionTabHelper::FromWebContents(contents); contents 1788 chrome/browser/sessions/session_service.cc contents->GetClosedByUserGesture()); contents 136 chrome/browser/sessions/session_service.h void TabInserted(content::WebContents* contents); contents 139 chrome/browser/sessions/session_service.h void TabClosing(content::WebContents* contents); contents 18 chrome/browser/sessions/session_tab_helper.cc SessionTabHelper::SessionTabHelper(content::WebContents* contents) contents 19 chrome/browser/sessions/session_tab_helper.cc : content::WebContentsObserver(contents) { contents 33 chrome/browser/sessions/session_tab_helper.h explicit SessionTabHelper(content::WebContents* contents); contents 136 chrome/browser/sessions/tab_restore_service.h virtual void CreateHistoricalTab(content::WebContents* contents, contents 78 chrome/browser/sessions/tab_restore_service_delegate.h const content::WebContents* contents); contents 99 chrome/browser/sessions/tab_restore_service_helper.cc content::WebContents* contents, contents 105 chrome/browser/sessions/tab_restore_service_helper.cc TabRestoreServiceDelegate::FindDelegateForWebContents(contents); contents 110 chrome/browser/sessions/tab_restore_service_helper.cc PopulateTab(local_tab.get(), index, delegate, &contents->GetController()); contents 452 chrome/browser/sessions/tab_restore_service_helper.cc WebContents** contents) { contents 502 chrome/browser/sessions/tab_restore_service_helper.cc if (contents) contents 503 chrome/browser/sessions/tab_restore_service_helper.cc *contents = web_contents; contents 78 chrome/browser/sessions/tab_restore_service_helper.h void CreateHistoricalTab(content::WebContents* contents, int index); contents 141 chrome/browser/sessions/tab_restore_service_helper.h content::WebContents** contents); contents 137 chrome/browser/shell_integration_linux.cc const std::string& contents) { contents 158 chrome/browser/shell_integration_linux.cc ssize_t bytes_written = base::WriteFileDescriptor(fd, contents.data(), contents 159 chrome/browser/shell_integration_linux.cc contents.length()); contents 163 chrome/browser/shell_integration_linux.cc if (bytes_written != static_cast<ssize_t>(contents.length())) { contents 188 chrome/browser/shell_integration_linux.cc const std::string& contents, contents 209 chrome/browser/shell_integration_linux.cc int bytes_written = base::WriteFile(temp_file_path, contents.data(), contents 210 chrome/browser/shell_integration_linux.cc contents.length()); contents 212 chrome/browser/shell_integration_linux.cc if (bytes_written != static_cast<int>(contents.length())) contents 912 chrome/browser/shell_integration_linux.cc std::string contents = ShellIntegrationLinux::GetDesktopFileContents( contents 921 chrome/browser/shell_integration_linux.cc success = CreateShortcutOnDesktop(shortcut_filename, contents); contents 944 chrome/browser/shell_integration_linux.cc std::string contents = ShellIntegrationLinux::GetDesktopFileContents( contents 955 chrome/browser/shell_integration_linux.cc shortcut_filename, contents, directory_filename, directory_contents) && contents 990 chrome/browser/shell_integration_linux.cc std::string contents = GetDesktopFileContentsForCommand( contents 994 chrome/browser/shell_integration_linux.cc shortcut_filename, contents, base::FilePath(), ""); contents 306 chrome/browser/shell_integration_linux_unittest.cc std::string contents; contents 309 chrome/browser/shell_integration_linux_unittest.cc &env, kTemplateFilepath, &contents)); contents 310 chrome/browser/shell_integration_linux_unittest.cc EXPECT_EQ(kTestData1, contents); contents 326 chrome/browser/shell_integration_linux_unittest.cc std::string contents; contents 329 chrome/browser/shell_integration_linux_unittest.cc &env, kTemplateFilepath, &contents)); contents 330 chrome/browser/shell_integration_linux_unittest.cc EXPECT_EQ(kTestData1, contents); contents 346 chrome/browser/shell_integration_linux_unittest.cc std::string contents; contents 349 chrome/browser/shell_integration_linux_unittest.cc &env, kTemplateFilepath, &contents)); contents 350 chrome/browser/shell_integration_linux_unittest.cc EXPECT_EQ(kTestData2, contents); contents 374 chrome/browser/shell_integration_linux_unittest.cc std::string contents; contents 377 chrome/browser/shell_integration_linux_unittest.cc &env, kTemplateFilepath, &contents)); contents 378 chrome/browser/shell_integration_linux_unittest.cc EXPECT_EQ(kTestData2, contents); contents 24 chrome/browser/site_details.cc void SiteDetails::CollectSiteInfo(WebContents* contents, contents 27 chrome/browser/site_details.cc content::BrowserContext* browser_context = contents->GetBrowserContext(); contents 31 chrome/browser/site_details.cc SiteInstance* instance = contents->GetSiteInstance(); contents 47 chrome/browser/site_details.cc std::set<GURL> sites_in_tab = contents->GetSitesInTab(); contents 37 chrome/browser/site_details.h static void CollectSiteInfo(content::WebContents* contents, contents 62 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc std::string contents; contents 63 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc base::ReadFileToString(file_path, &contents); contents 64 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc size_t pos = contents.rfind(CHECKSUM_PREFIX); contents 66 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc std::string checksum = contents.substr(pos + strlen(CHECKSUM_PREFIX)); contents 67 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc contents = contents.substr(0, pos); contents 68 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc if (checksum != base::MD5String(contents)) contents 71 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc base::TrimWhitespaceASCII(contents, base::TRIM_ALL, &contents); contents 72 chrome/browser/spellchecker/spellcheck_custom_dictionary.cc base::SplitString(contents, '\n', &words); contents 30 chrome/browser/ssl/ssl_client_certificate_selector.h content::WebContents* contents, contents 191 chrome/browser/ssl/ssl_tab_helper.cc SSLTabHelper::SSLTabHelper(content::WebContents* contents) contents 192 chrome/browser/ssl/ssl_tab_helper.cc : WebContentsObserver(contents), contents 193 chrome/browser/ssl/ssl_tab_helper.cc web_contents_(contents) { contents 66 chrome/browser/ssl/ssl_tab_helper.h explicit SSLTabHelper(content::WebContents* contents); contents 76 chrome/browser/status_icons/desktop_notification_balloon.cc const base::string16& contents) { contents 86 chrome/browser/status_icons/desktop_notification_balloon.cc GURL(), title, contents, gfx::Image(icon), base::string16(), contents 27 chrome/browser/status_icons/desktop_notification_balloon.h const base::string16& contents); contents 41 chrome/browser/status_icons/status_icon.h const base::string16& contents) = 0; contents 28 chrome/browser/status_icons/status_icon_unittest.cc const base::string16& contents) OVERRIDE {} contents 21 chrome/browser/status_icons/status_tray_unittest.cc const base::string16& contents) OVERRIDE {} contents 742 chrome/browser/sync/test/integration/bookmarks_helper.cc std::string contents; contents 743 chrome/browser/sync/test/integration/bookmarks_helper.cc base::ReadFileToString(full_path, &contents); contents 745 chrome/browser/sync/test/integration/bookmarks_helper.cc base::RefCountedString::TakeString(&contents)); contents 207 chrome/browser/sync_file_system/drive_backend/metadata_database.cc DatabaseContents* contents) { contents 210 chrome/browser/sync_file_system/drive_backend/metadata_database.cc DCHECK(contents); contents 224 chrome/browser/sync_file_system/drive_backend/metadata_database.cc contents->service_metadata = service_metadata.Pass(); contents 238 chrome/browser/sync_file_system/drive_backend/metadata_database.cc contents->file_metadata.push_back(metadata.release()); contents 257 chrome/browser/sync_file_system/drive_backend/metadata_database.cc contents->file_trackers.push_back(tracker.release()); contents 265 chrome/browser/sync_file_system/drive_backend/metadata_database.cc SyncStatusCode InitializeServiceMetadata(DatabaseContents* contents, contents 267 chrome/browser/sync_file_system/drive_backend/metadata_database.cc if (!contents->service_metadata) { contents 268 chrome/browser/sync_file_system/drive_backend/metadata_database.cc contents->service_metadata.reset(new ServiceMetadata); contents 269 chrome/browser/sync_file_system/drive_backend/metadata_database.cc contents->service_metadata->set_next_tracker_id(1); contents 272 chrome/browser/sync_file_system/drive_backend/metadata_database.cc contents->service_metadata->SerializeToString(&value); contents 279 chrome/browser/sync_file_system/drive_backend/metadata_database.cc SyncStatusCode RemoveUnreachableItems(DatabaseContents* contents, contents 285 chrome/browser/sync_file_system/drive_backend/metadata_database.cc for (size_t i = 0; i < contents->file_trackers.size(); ++i) { contents 286 chrome/browser/sync_file_system/drive_backend/metadata_database.cc const FileTracker& tracker = *contents->file_trackers[i]; contents 294 chrome/browser/sync_file_system/drive_backend/metadata_database.cc for (size_t i = 0; i < contents->file_trackers.size(); ++i) { contents 295 chrome/browser/sync_file_system/drive_backend/metadata_database.cc const FileTracker& tracker = *contents->file_trackers[i]; contents 302 chrome/browser/sync_file_system/drive_backend/metadata_database.cc if (contents->service_metadata->sync_root_tracker_id() != kInvalidTrackerID) contents 303 chrome/browser/sync_file_system/drive_backend/metadata_database.cc pending.push_back(contents->service_metadata->sync_root_tracker_id()); contents 324 chrome/browser/sync_file_system/drive_backend/metadata_database.cc for (size_t i = 0; i < contents->file_trackers.size(); ++i) { contents 325 chrome/browser/sync_file_system/drive_backend/metadata_database.cc FileTracker* tracker = contents->file_trackers[i]; contents 328 chrome/browser/sync_file_system/drive_backend/metadata_database.cc contents->file_trackers[i] = NULL; contents 333 chrome/browser/sync_file_system/drive_backend/metadata_database.cc contents->file_trackers = reachable_trackers.Pass(); contents 337 chrome/browser/sync_file_system/drive_backend/metadata_database.cc for (size_t i = 0; i < contents->file_trackers.size(); ++i) contents 338 chrome/browser/sync_file_system/drive_backend/metadata_database.cc referred_file_ids.insert(contents->file_trackers[i]->file_id()); contents 342 chrome/browser/sync_file_system/drive_backend/metadata_database.cc for (size_t i = 0; i < contents->file_metadata.size(); ++i) { contents 343 chrome/browser/sync_file_system/drive_backend/metadata_database.cc FileMetadata* metadata = contents->file_metadata[i]; contents 346 chrome/browser/sync_file_system/drive_backend/metadata_database.cc contents->file_metadata[i] = NULL; contents 351 chrome/browser/sync_file_system/drive_backend/metadata_database.cc contents->file_metadata = referred_file_metadata.Pass(); contents 1476 chrome/browser/sync_file_system/drive_backend/metadata_database.cc DatabaseContents contents; contents 1477 chrome/browser/sync_file_system/drive_backend/metadata_database.cc status = ReadDatabaseContents(db_.get(), &contents); contents 1482 chrome/browser/sync_file_system/drive_backend/metadata_database.cc status = InitializeServiceMetadata(&contents, &batch); contents 1486 chrome/browser/sync_file_system/drive_backend/metadata_database.cc status = RemoveUnreachableItems(&contents, &batch); contents 1495 chrome/browser/sync_file_system/drive_backend/metadata_database.cc BuildIndexes(&contents); contents 1499 chrome/browser/sync_file_system/drive_backend/metadata_database.cc void MetadataDatabase::BuildIndexes(DatabaseContents* contents) { contents 1500 chrome/browser/sync_file_system/drive_backend/metadata_database.cc service_metadata_ = contents->service_metadata.Pass(); contents 1502 chrome/browser/sync_file_system/drive_backend/metadata_database.cc index_.reset(new MetadataDatabaseIndex(contents)); contents 367 chrome/browser/sync_file_system/drive_backend/metadata_database.h void BuildIndexes(DatabaseContents* contents); contents 88 chrome/browser/sync_file_system/drive_backend/metadata_database_index_unittest.cc scoped_ptr<DatabaseContents> contents(new DatabaseContents); contents 113 chrome/browser/sync_file_system/drive_backend/metadata_database_index_unittest.cc contents->file_metadata.push_back(sync_root_metadata.release()); contents 114 chrome/browser/sync_file_system/drive_backend/metadata_database_index_unittest.cc contents->file_trackers.push_back(sync_root_tracker.release()); contents 115 chrome/browser/sync_file_system/drive_backend/metadata_database_index_unittest.cc contents->file_metadata.push_back(app_root_metadata.release()); contents 116 chrome/browser/sync_file_system/drive_backend/metadata_database_index_unittest.cc contents->file_trackers.push_back(app_root_tracker.release()); contents 117 chrome/browser/sync_file_system/drive_backend/metadata_database_index_unittest.cc contents->file_metadata.push_back(file_metadata.release()); contents 118 chrome/browser/sync_file_system/drive_backend/metadata_database_index_unittest.cc contents->file_trackers.push_back(file_tracker.release()); contents 119 chrome/browser/sync_file_system/drive_backend/metadata_database_index_unittest.cc contents->file_trackers.push_back(placeholder_tracker.release()); contents 120 chrome/browser/sync_file_system/drive_backend/metadata_database_index_unittest.cc return contents.Pass(); contents 189 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc SyncStatusCode ReadContents(DBContents* contents) { contents 190 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc DCHECK(contents); contents 191 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc DCHECK(contents->db); contents 193 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc contents->largest_changestamp = 0; contents 194 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc contents->metadata_map.clear(); contents 195 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc contents->incremental_sync_origins.clear(); contents 198 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc contents->db->NewIterator(leveldb::ReadOptions())); contents 203 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc &contents->largest_changestamp); contents 212 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc contents->sync_root_directory_resource_id = resource_id; contents 230 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc success = contents->metadata_map[origin].insert( contents 244 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc DCHECK(!ContainsKey(contents->incremental_sync_origins, origin)); contents 245 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc contents->incremental_sync_origins[origin] = origin_resource_id; contents 257 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc DCHECK(!ContainsKey(contents->disabled_origins, origin)); contents 258 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc contents->disabled_origins[origin] = origin_resource_id; contents 267 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<DBContents> contents(new DBContents); contents 268 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc contents->db = OpenDatabase(db_path, contents 269 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc &contents->status, contents 270 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc &contents->created); contents 271 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc if (contents->status != SYNC_STATUS_OK) contents 272 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc return contents.Pass(); contents 274 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc if (contents->created) { contents 275 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc contents->status = WriteInitialData(contents->db.get()); contents 276 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc if (contents->status != SYNC_STATUS_OK) contents 277 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc return contents.Pass(); contents 279 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc contents->status = MigrateDatabaseIfNeeded(contents->db.get()); contents 280 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc if (contents->status != SYNC_STATUS_OK) contents 281 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc return contents.Pass(); contents 284 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc contents->status = ReadContents(contents.get()); contents 285 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc return contents.Pass(); contents 383 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc scoped_ptr<DBContents> contents) { contents 385 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc DCHECK(contents); contents 387 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc db_status_ = contents->status; contents 390 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc file_task_runner_->DeleteSoon(FROM_HERE, contents.release()); contents 394 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc db_ = contents->db.Pass(); contents 395 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc largest_changestamp_ = contents->largest_changestamp; contents 396 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc metadata_map_.swap(contents->metadata_map); contents 397 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc sync_root_directory_resource_id_ = contents->sync_root_directory_resource_id; contents 398 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc incremental_sync_origins_.swap(contents->incremental_sync_origins); contents 399 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc disabled_origins_.swap(contents->disabled_origins); contents 405 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.cc callback.Run(db_status_, contents->created); contents 164 chrome/browser/sync_file_system/drive_backend_v1/drive_metadata_store.h scoped_ptr<DBContents> contents); contents 95 chrome/browser/tab_contents/background_contents.h BackgroundContents* contents; contents 133 chrome/browser/task_manager/background_information.cc std::vector<BackgroundContents*> contents = contents 135 chrome/browser/task_manager/background_information.cc for (std::vector<BackgroundContents*>::iterator iterator = contents.begin(); contents 136 chrome/browser/task_manager/background_information.cc iterator != contents.end(); contents 150 chrome/browser/task_manager/background_information.cc std::vector<BackgroundContents*> contents = contents 152 chrome/browser/task_manager/background_information.cc for (std::vector<BackgroundContents*>::iterator iterator = contents.begin(); contents 153 chrome/browser/task_manager/background_information.cc iterator != contents.end(); contents 130 chrome/browser/thumbnails/thumbnail_tab_helper.cc ThumbnailTabHelper::ThumbnailTabHelper(content::WebContents* contents) contents 131 chrome/browser/thumbnails/thumbnail_tab_helper.cc : content::WebContentsObserver(contents), contents 140 chrome/browser/thumbnails/thumbnail_tab_helper.cc content::Source<WebContents>(contents)); contents 33 chrome/browser/thumbnails/thumbnail_tab_helper.h explicit ThumbnailTabHelper(content::WebContents* contents); contents 142 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc content::WebContents* contents, contents 148 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc new AutofillDialogControllerAndroid(contents, contents 159 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc content::WebContents* contents, contents 163 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc return AutofillDialogControllerAndroid::Create(contents, contents 390 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc content::WebContents* contents, contents 394 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc : profile_(Profile::FromBrowserContext(contents->GetBrowserContext())), contents 395 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.cc contents_(contents), contents 26 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h content::WebContents* contents, contents 54 chrome/browser/ui/android/autofill/autofill_dialog_controller_android.h content::WebContents* contents, contents 92 chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc content::WebContents* contents = web_contents(); contents 93 chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc contents->Stop(); contents 96 chrome/browser/ui/android/infobars/auto_login_infobar_delegate_android.cc contents->OpenURL(content::OpenURLParams( contents 230 chrome/browser/ui/android/ssl_client_certificate_request.cc content::WebContents* contents, contents 235 chrome/browser/ui/android/ssl_client_certificate_request.cc WindowAndroidHelper::FromWebContents(contents)->GetWindowAndroid(); contents 22 chrome/browser/ui/android/tab_restore_service_delegate_android.cc const content::WebContents* contents) { contents 36 chrome/browser/ui/android/website_settings_popup_android.cc content::WebContents* contents = contents 39 chrome/browser/ui/android/website_settings_popup_android.cc int cert_id = contents->GetController().GetVisibleEntry()->GetSSL().cert_id; contents 110 chrome/browser/ui/app_list/search/omnibox_provider.cc set_title(match_.contents); contents 112 chrome/browser/ui/app_list/search/omnibox_provider.cc ACMatchClassificationsToTags(match_.contents, contents 113 chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc content::WebContents* contents) { contents 116 chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc extensions::SetViewType(contents, extensions::VIEW_TYPE_VIRTUAL_KEYBOARD); contents 118 chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc contents); contents 119 chrome/browser/ui/ash/ash_keyboard_controller_proxy.cc Observe(contents); contents 47 chrome/browser/ui/ash/ash_keyboard_controller_proxy.h virtual void SetupWebContents(content::WebContents* contents) OVERRIDE; contents 74 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc content::WebContents* contents = contents 76 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc if (contents && contents 77 chrome/browser/ui/ash/launcher/browser_shortcut_launcher_item_controller.cc (launcher_controller()->GetShelfIDForWebContents(contents) != contents 26 chrome/browser/ui/ash/launcher/browser_status_monitor.cc content::WebContents* contents, contents 28 chrome/browser/ui/ash/launcher/browser_status_monitor.cc : content::WebContentsObserver(contents), contents 115 chrome/browser/ui/ash/launcher/browser_status_monitor.cc content::WebContents* contents, contents 117 chrome/browser/ui/ash/launcher/browser_status_monitor.cc DCHECK(contents); contents 121 chrome/browser/ui/ash/launcher/browser_status_monitor.cc Browser* browser = chrome::FindBrowserWithWebContents(contents); contents 124 chrome/browser/ui/ash/launcher/browser_status_monitor.cc launcher_controller_->UpdateAppState(contents, app_state); contents 285 chrome/browser/ui/ash/launcher/browser_status_monitor.cc void BrowserStatusMonitor::TabInsertedAt(content::WebContents* contents, contents 290 chrome/browser/ui/ash/launcher/browser_status_monitor.cc UpdateAppItemState(contents, contents 292 chrome/browser/ui/ash/launcher/browser_status_monitor.cc AddWebContentsObserver(contents); contents 296 chrome/browser/ui/ash/launcher/browser_status_monitor.cc content::WebContents* contents, contents 298 chrome/browser/ui/ash/launcher/browser_status_monitor.cc UpdateAppItemState(contents, contents 300 chrome/browser/ui/ash/launcher/browser_status_monitor.cc RemoveWebContentsObserver(contents); contents 304 chrome/browser/ui/ash/launcher/browser_status_monitor.cc content::WebContents* contents) { contents 305 chrome/browser/ui/ash/launcher/browser_status_monitor.cc UpdateAppItemState(contents, ChromeLauncherController::APP_STATE_REMOVED); contents 306 chrome/browser/ui/ash/launcher/browser_status_monitor.cc RemoveWebContentsObserver(contents); contents 338 chrome/browser/ui/ash/launcher/browser_status_monitor.cc content::WebContents* contents) { contents 339 chrome/browser/ui/ash/launcher/browser_status_monitor.cc if (webcontents_to_observer_map_.find(contents) == contents 341 chrome/browser/ui/ash/launcher/browser_status_monitor.cc webcontents_to_observer_map_[contents] = contents 342 chrome/browser/ui/ash/launcher/browser_status_monitor.cc new LocalWebContentsObserver(contents, this); contents 347 chrome/browser/ui/ash/launcher/browser_status_monitor.cc content::WebContents* contents) { contents 348 chrome/browser/ui/ash/launcher/browser_status_monitor.cc DCHECK(webcontents_to_observer_map_.find(contents) != contents 350 chrome/browser/ui/ash/launcher/browser_status_monitor.cc delete webcontents_to_observer_map_[contents]; contents 351 chrome/browser/ui/ash/launcher/browser_status_monitor.cc webcontents_to_observer_map_.erase(contents); contents 355 chrome/browser/ui/ash/launcher/browser_status_monitor.cc content::WebContents* contents) { contents 356 chrome/browser/ui/ash/launcher/browser_status_monitor.cc return launcher_controller_->GetShelfIDForWebContents(contents); contents 52 chrome/browser/ui/ash/launcher/browser_status_monitor.h void UpdateAppItemState(content::WebContents* contents, contents 84 chrome/browser/ui/ash/launcher/browser_status_monitor.h virtual void TabInsertedAt(content::WebContents* contents, contents 88 chrome/browser/ui/ash/launcher/browser_status_monitor.h content::WebContents* contents, contents 113 chrome/browser/ui/ash/launcher/browser_status_monitor.h LocalWebContentsObserver(content::WebContents* contents, contents 135 chrome/browser/ui/ash/launcher/browser_status_monitor.h void AddWebContentsObserver(content::WebContents* contents); contents 138 chrome/browser/ui/ash/launcher/browser_status_monitor.h void RemoveWebContentsObserver(content::WebContents* contents); contents 141 chrome/browser/ui/ash/launcher/browser_status_monitor.h ash::ShelfID GetShelfIDForWebContents(content::WebContents* contents); contents 923 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc void ChromeLauncherController::UpdateAppState(content::WebContents* contents, contents 925 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc std::string app_id = app_tab_helper_->GetAppID(contents); contents 929 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc if (app_id.empty() && ContentCanBeHandledByGmailApp(contents)) contents 934 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc if (web_contents_to_app_id_.find(contents) != web_contents_to_app_id_.end()) { contents 935 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc std::string last_app_id = web_contents_to_app_id_[contents]; contents 941 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc web_contents_to_app_id_.erase(contents); contents 948 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc web_contents_to_app_id_.erase(contents); contents 950 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc web_contents_to_app_id_[contents] = app_id; contents 961 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc content::WebContents* contents) { contents 962 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc DCHECK(contents); contents 964 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc std::string app_id = app_tab_helper_->GetAppID(contents); contents 966 chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc if (app_id.empty() && ContentCanBeHandledByGmailApp(contents)) contents 268 chrome/browser/ui/ash/launcher/chrome_launcher_controller.h void UpdateAppState(content::WebContents* contents, AppState app_state); contents 272 chrome/browser/ui/ash/launcher/chrome_launcher_controller.h ash::ShelfID GetShelfIDForWebContents(content::WebContents* contents); contents 25 chrome/browser/ui/aura/tab_contents/web_drag_bookmark_handler_aura.cc void WebDragBookmarkHandlerAura::DragInitialize(WebContents* contents) { contents 30 chrome/browser/ui/aura/tab_contents/web_drag_bookmark_handler_aura.cc web_contents_ = contents; contents 32 chrome/browser/ui/aura/tab_contents/web_drag_bookmark_handler_aura.cc bookmark_tab_helper_ = BookmarkTabHelper::FromWebContents(contents); contents 28 chrome/browser/ui/aura/tab_contents/web_drag_bookmark_handler_aura.h virtual void DragInitialize(content::WebContents* contents) OVERRIDE; contents 15 chrome/browser/ui/autofill/autofill_dialog_controller.cc content::WebContents* contents, contents 36 chrome/browser/ui/autofill/autofill_dialog_controller.h content::WebContents* contents, contents 118 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc content::WebContents* contents, contents 122 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc : AutofillDialogControllerImpl(contents, contents 128 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc Profile::FromBrowserContext(contents->GetBrowserContext())-> contents 136 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc Profile::FromBrowserContext(contents->GetBrowserContext())->GetPrefs(), contents 399 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc content::WebContents* contents = GetActiveWebContents(); contents 401 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc TabAutofillManagerDelegate::FromWebContents(contents); contents 462 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc content::WebContents* contents = GetActiveWebContents(); contents 464 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc contents->GetInterstitialPage(); contents 469 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc &contents->GetController())); contents 477 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc TabAutofillManagerDelegate::FromWebContents(contents); contents 497 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc content::WebContents* contents = GetActiveWebContents(); contents 498 chrome/browser/ui/autofill/autofill_dialog_controller_browsertest.cc content::SimulateMouseClick(contents, 0, blink::WebMouseEvent::ButtonLeft); contents 596 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc content::WebContents* contents, contents 602 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc new AutofillDialogControllerImpl(contents, contents 636 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc content::WebContents* contents, contents 640 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc return AutofillDialogControllerImpl::Create(contents, contents 2675 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc content::WebContents* contents, contents 2679 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc : WebContentsObserver(contents), contents 2680 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc profile_(Profile::FromBrowserContext(contents->GetBrowserContext())), contents 88 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h content::WebContents* contents, contents 241 chrome/browser/ui/autofill/autofill_dialog_controller_impl.h content::WebContents* contents, contents 258 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc content::WebContents* contents, contents 264 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc : AutofillDialogControllerImpl(contents, contents 270 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc Profile::FromBrowserContext(contents->GetBrowserContext())-> contents 41 chrome/browser/ui/autofill/autofill_dialog_view_tester.h const base::string16& contents) = 0; contents 80 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc content::WebContents* contents, contents 83 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.cc GetOrCreate(contents)->SetupAndShow(fronting_card_name, backing_card_name); contents 62 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h static void Show(content::WebContents* contents, contents 100 chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h explicit GeneratedCreditCardBubbleController(content::WebContents* contents); contents 62 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.cc content::WebContents* contents) { contents 63 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.cc testing::DefaultValue<content::WebContents*>::Set(contents); contents 87 chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h void SetWebContents(content::WebContents* contents); contents 14 chrome/browser/ui/autofill/test_generated_credit_card_bubble_controller.cc TestGeneratedCreditCardBubbleController(content::WebContents* contents) contents 15 chrome/browser/ui/autofill/test_generated_credit_card_bubble_controller.cc : GeneratedCreditCardBubbleController(contents), contents 17 chrome/browser/ui/autofill/test_generated_credit_card_bubble_controller.cc contents->SetUserData(UserDataKey(), this); contents 20 chrome/browser/ui/autofill/test_generated_credit_card_bubble_controller.h content::WebContents* contents); contents 338 chrome/browser/ui/blocked_content/popup_blocker_browsertest.cc model->CurrentMatch(NULL).contents); contents 555 chrome/browser/ui/browser.cc WebContents* contents = tab_strip_model_->GetActiveWebContents(); contents 560 chrome/browser/ui/browser.cc if (contents) { contents 561 chrome/browser/ui/browser.cc title = contents->GetTitle(); contents 807 chrome/browser/ui/browser.cc WebContents* contents = tab_strip_model_->GetActiveWebContents(); contents 808 chrome/browser/ui/browser.cc if (contents) contents 809 chrome/browser/ui/browser.cc contents->ResetOverrideEncoding(); contents 817 chrome/browser/ui/browser.cc WebContents* contents = tab_strip_model_->GetActiveWebContents(); contents 818 chrome/browser/ui/browser.cc if (!selected_encoding.empty() && contents) contents 819 chrome/browser/ui/browser.cc contents->SetOverrideEncoding(selected_encoding); contents 860 chrome/browser/ui/browser.cc void Browser::UpdateUIForNavigationInTab(WebContents* contents, contents 863 chrome/browser/ui/browser.cc tab_strip_model_->TabNavigating(contents, transition); contents 866 chrome/browser/ui/browser.cc contents == tab_strip_model_->GetActiveWebContents(); contents 883 chrome/browser/ui/browser.cc ScheduleUIUpdate(contents, content::INVALIDATE_TYPE_URL); contents 886 chrome/browser/ui/browser.cc contents->GetView()->SetInitialFocus(); contents 899 chrome/browser/ui/browser.cc void Browser::TabInsertedAt(WebContents* contents, contents 902 chrome/browser/ui/browser.cc SetAsDelegate(contents, this); contents 904 chrome/browser/ui/browser.cc SessionTabHelper::FromWebContents(contents); contents 909 chrome/browser/ui/browser.cc content::Source<content::WebContents>(contents), contents 916 chrome/browser/ui/browser.cc LoadingStateChanged(contents, true); contents 918 chrome/browser/ui/browser.cc interstitial_observers_.push_back(new InterstitialObserver(this, contents)); contents 923 chrome/browser/ui/browser.cc session_service->TabInserted(contents); contents 932 chrome/browser/ui/browser.cc WebContents* contents, contents 934 chrome/browser/ui/browser.cc fullscreen_controller_->OnTabClosing(contents); contents 938 chrome/browser/ui/browser.cc session_service->TabClosing(contents); contents 941 chrome/browser/ui/browser.cc content::Source<NavigationController>(&contents->GetController()), contents 945 chrome/browser/ui/browser.cc SetAsDelegate(contents, NULL); contents 948 chrome/browser/ui/browser.cc void Browser::TabDetachedAt(WebContents* contents, int index) { contents 959 chrome/browser/ui/browser.cc TabDetachedAtImpl(contents, index, DETACH_TYPE_DETACH); contents 962 chrome/browser/ui/browser.cc void Browser::TabDeactivated(WebContents* contents) { contents 963 chrome/browser/ui/browser.cc fullscreen_controller_->OnTabDeactivated(contents); contents 964 chrome/browser/ui/browser.cc search_delegate_->OnTabDeactivated(contents); contents 965 chrome/browser/ui/browser.cc SearchTabHelper::FromWebContents(contents)->OnTabDeactivated(); contents 969 chrome/browser/ui/browser.cc window_->GetLocationBar()->SaveStateToContents(contents); contents 972 chrome/browser/ui/browser.cc instant_controller_->TabDeactivated(contents); contents 1051 chrome/browser/ui/browser.cc void Browser::TabMoved(WebContents* contents, contents 1089 chrome/browser/ui/browser.cc void Browser::TabPinnedStateChanged(WebContents* contents, int index) { contents 1094 chrome/browser/ui/browser.cc SessionTabHelper::FromWebContents(contents); contents 1331 chrome/browser/ui/browser.cc void Browser::ActivateContents(WebContents* contents) { contents 1333 chrome/browser/ui/browser.cc tab_strip_model_->GetIndexOfWebContents(contents), false); contents 1337 chrome/browser/ui/browser.cc void Browser::DeactivateContents(WebContents* contents) { contents 1407 chrome/browser/ui/browser.cc void Browser::WebContentsFocused(WebContents* contents) { contents 1408 chrome/browser/ui/browser.cc window_->WebContentsFocused(contents); contents 2011 chrome/browser/ui/browser.cc const WebContents* contents = i->first; contents 2014 chrome/browser/ui/browser.cc if (contents == tab_strip_model_->GetActiveWebContents()) { contents 2038 chrome/browser/ui/browser.cc tab_strip_model_->GetIndexOfWebContents(contents), contents 2053 chrome/browser/ui/browser.cc void Browser::RemoveScheduledUpdatesFor(WebContents* contents) { contents 2054 chrome/browser/ui/browser.cc if (!contents) contents 2057 chrome/browser/ui/browser.cc UpdateMap::iterator i = scheduled_updates_.find(contents); contents 2150 chrome/browser/ui/browser.cc void Browser::TabDetachedAtImpl(content::WebContents* contents, contents 2158 chrome/browser/ui/browser.cc if (contents == tab_strip_model_->GetActiveWebContents()) { contents 2161 chrome/browser/ui/browser.cc location_bar->SaveStateToContents(contents); contents 2168 chrome/browser/ui/browser.cc SetAsDelegate(contents, NULL); contents 2169 chrome/browser/ui/browser.cc RemoveScheduledUpdatesFor(contents); contents 2176 chrome/browser/ui/browser.cc search_delegate_->OnTabDetached(contents); contents 2179 chrome/browser/ui/browser.cc if (interstitial_observers_[i]->web_contents() != contents) contents 2352 chrome/browser/ui/browser.cc BackgroundContents* contents = contents 2363 chrome/browser/ui/browser.cc if (contents && !allow_js_access) { contents 2364 chrome/browser/ui/browser.cc contents->web_contents()->GetController().LoadURL( contents 2371 chrome/browser/ui/browser.cc return contents != NULL; contents 399 chrome/browser/ui/browser.h void UpdateUIForNavigationInTab(content::WebContents* contents, contents 410 chrome/browser/ui/browser.h virtual void TabInsertedAt(content::WebContents* contents, contents 414 chrome/browser/ui/browser.h content::WebContents* contents, contents 416 chrome/browser/ui/browser.h virtual void TabDetachedAt(content::WebContents* contents, contents 418 chrome/browser/ui/browser.h virtual void TabDeactivated(content::WebContents* contents) OVERRIDE; contents 423 chrome/browser/ui/browser.h virtual void TabMoved(content::WebContents* contents, contents 430 chrome/browser/ui/browser.h virtual void TabPinnedStateChanged(content::WebContents* contents, contents 549 chrome/browser/ui/browser.h virtual void ActivateContents(content::WebContents* contents) OVERRIDE; contents 550 chrome/browser/ui/browser.h virtual void DeactivateContents(content::WebContents* contents) OVERRIDE; contents 721 chrome/browser/ui/browser.h void RemoveScheduledUpdatesFor(content::WebContents* contents); contents 765 chrome/browser/ui/browser.h void TabDetachedAtImpl(content::WebContents* contents, contents 160 chrome/browser/ui/browser_browsertest.cc WebContents* contents, contents 483 chrome/browser/ui/browser_browsertest.cc WebContents* contents = browser()->tab_strip_model()->GetActiveWebContents(); contents 484 chrome/browser/ui/browser_browsertest.cc contents->GetMainFrame()->ExecuteJavaScript( contents 497 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(contents->GetRenderProcessHost()->IgnoreInputEvents()); contents 509 chrome/browser/ui/browser_browsertest.cc WebContents* contents = browser()->tab_strip_model()->GetActiveWebContents(); contents 510 chrome/browser/ui/browser_browsertest.cc contents->GetMainFrame()->ExecuteJavaScript( contents 518 chrome/browser/ui/browser_browsertest.cc content::RenderProcessHost* child_process = contents->GetRenderProcessHost(); contents 562 chrome/browser/ui/browser_browsertest.cc virtual void WebContentsDestroyed(WebContents* contents) OVERRIDE { contents 600 chrome/browser/ui/browser_browsertest.cc WebContents* contents = browser()->tab_strip_model()->GetActiveWebContents(); contents 604 chrome/browser/ui/browser_browsertest.cc RedirectObserver redirect_observer(contents); contents 611 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(contents->GetController().GetPendingEntry()); contents 613 chrome/browser/ui/browser_browsertest.cc contents->GetController().GetLastCommittedEntry()->GetURL()); contents 618 chrome/browser/ui/browser_browsertest.cc EXPECT_EQ(redirect_url, contents->GetController().GetLastCommittedEntry()-> contents 1688 chrome/browser/ui/browser_browsertest.cc WebContents* contents = browser()->tab_strip_model()->GetActiveWebContents(); contents 1702 chrome/browser/ui/browser_browsertest.cc EXPECT_EQ(contents->GetZoomPercent(&enable_plus, &enable_minus), 110); contents 1718 chrome/browser/ui/browser_browsertest.cc EXPECT_EQ(contents->GetZoomPercent(&enable_plus, &enable_minus), 100); contents 1734 chrome/browser/ui/browser_browsertest.cc EXPECT_EQ(contents->GetZoomPercent(&enable_plus, &enable_minus), 90); contents 1755 chrome/browser/ui/browser_browsertest.cc WebContents* contents = browser()->tab_strip_model()->GetActiveWebContents(); contents 1762 chrome/browser/ui/browser_browsertest.cc InterstitialObserver observer(contents, contents 1765 chrome/browser/ui/browser_browsertest.cc interstitial = new TestInterstitialPage(contents, false, GURL()); contents 1769 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(contents->ShowingInterstitialPage()); contents 1780 chrome/browser/ui/browser_browsertest.cc InterstitialObserver observer(contents, contents 1802 chrome/browser/ui/browser_browsertest.cc WebContents* contents = browser()->tab_strip_model()->GetActiveWebContents(); contents 1803 chrome/browser/ui/browser_browsertest.cc contents->GetMainFrame()->ExecuteJavaScript( contents 1815 chrome/browser/ui/browser_browsertest.cc InterstitialObserver observer(contents, contents 1818 chrome/browser/ui/browser_browsertest.cc interstitial = new TestInterstitialPage(contents, false, GURL()); contents 1823 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(contents->ShowingInterstitialPage()); contents 1830 chrome/browser/ui/browser_browsertest.cc InterstitialObserver observer(contents, contents 1839 chrome/browser/ui/browser_browsertest.cc EXPECT_FALSE(contents->GetRenderProcessHost()->IgnoreInputEvents()); contents 1844 chrome/browser/ui/browser_browsertest.cc WebContents* contents = browser()->tab_strip_model()->GetActiveWebContents(); contents 1850 chrome/browser/ui/browser_browsertest.cc InterstitialObserver observer(contents, contents 1854 chrome/browser/ui/browser_browsertest.cc new TestInterstitialPage(contents, false, GURL()); contents 1858 chrome/browser/ui/browser_browsertest.cc EXPECT_TRUE(contents->ShowingInterstitialPage()); contents 1864 chrome/browser/ui/browser_browsertest.cc InterstitialObserver observer(contents, contents 808 chrome/browser/ui/browser_command_controller.cc void BrowserCommandController::TabInsertedAt(WebContents* contents, contents 811 chrome/browser/ui/browser_command_controller.cc AddInterstitialObservers(contents); contents 814 chrome/browser/ui/browser_command_controller.cc void BrowserCommandController::TabDetachedAt(WebContents* contents, int index) { contents 815 chrome/browser/ui/browser_command_controller.cc RemoveInterstitialObservers(contents); contents 827 chrome/browser/ui/browser_command_controller.cc content::WebContents* contents, contents 1351 chrome/browser/ui/browser_command_controller.cc void BrowserCommandController::AddInterstitialObservers(WebContents* contents) { contents 1352 chrome/browser/ui/browser_command_controller.cc interstitial_observers_.push_back(new InterstitialObserver(this, contents)); contents 1356 chrome/browser/ui/browser_command_controller.cc WebContents* contents) { contents 1358 chrome/browser/ui/browser_command_controller.cc if (interstitial_observers_[i]->web_contents() != contents) contents 93 chrome/browser/ui/browser_command_controller.h virtual void TabInsertedAt(content::WebContents* contents, contents 96 chrome/browser/ui/browser_command_controller.h virtual void TabDetachedAt(content::WebContents* contents, contents 102 chrome/browser/ui/browser_command_controller.h virtual void TabBlockedStateChanged(content::WebContents* contents, contents 170 chrome/browser/ui/browser_command_controller.h void AddInterstitialObservers(content::WebContents* contents); contents 171 chrome/browser/ui/browser_command_controller.h void RemoveInterstitialObservers(content::WebContents* contents); contents 262 chrome/browser/ui/browser_commands.cc WebContents* contents = browser->tab_strip_model()->GetActiveWebContents(); contents 265 chrome/browser/ui/browser_commands.cc return controller && (controller->GetPrintPreviewForContents(contents) || contents 647 chrome/browser/ui/browser_commands.cc WebContents* contents = browser->tab_strip_model()->GetActiveWebContents(); contents 648 chrome/browser/ui/browser_commands.cc return contents && contents->GetController().GetLastCommittedEntry(); contents 652 chrome/browser/ui/browser_commands.cc WebContents* contents = browser->tab_strip_model()->GetWebContentsAt(index); contents 653 chrome/browser/ui/browser_commands.cc CHECK(contents); contents 654 chrome/browser/ui/browser_commands.cc WebContents* contents_dupe = contents->Clone(); contents 660 chrome/browser/ui/browser_commands.cc int index = browser->tab_strip_model()->GetIndexOfWebContents(contents); contents 715 chrome/browser/ui/browser_commands.cc WebContents* contents = contents 719 chrome/browser/ui/browser_commands.cc b->tab_strip_model()->AppendWebContents(contents, true); contents 839 chrome/browser/ui/browser_commands.cc WebContents* contents = browser->tab_strip_model()->GetActiveWebContents(); contents 842 chrome/browser/ui/browser_commands.cc printing::PrintViewManager::FromWebContents(contents); contents 849 chrome/browser/ui/browser_commands.cc printing::PrintViewManagerBasic::FromWebContents(contents); contents 1140 chrome/browser/ui/browser_commands.cc WebContents* contents = browser->tab_strip_model()->GetActiveWebContents(); contents 1141 chrome/browser/ui/browser_commands.cc return contents ? contents 1142 chrome/browser/ui/browser_commands.cc content::DevToolsAgentHost::IsDebuggerAttached(contents) : false; contents 1145 chrome/browser/ui/browser_commands.cc void ViewSource(Browser* browser, WebContents* contents) { contents 1146 chrome/browser/ui/browser_commands.cc DCHECK(contents); contents 1150 chrome/browser/ui/browser_commands.cc NavigationEntry* entry = contents->GetController().GetLastCommittedEntry(); contents 1154 chrome/browser/ui/browser_commands.cc ViewSource(browser, contents, entry->GetURL(), entry->GetPageState()); contents 1158 chrome/browser/ui/browser_commands.cc WebContents* contents, contents 1162 chrome/browser/ui/browser_commands.cc DCHECK(contents); contents 1166 chrome/browser/ui/browser_commands.cc WebContents* view_source_contents = contents->Clone(); contents 1188 chrome/browser/ui/browser_commands.cc int index = browser->tab_strip_model()->GetIndexOfWebContents(contents); contents 1253 chrome/browser/ui/browser_commands.cc content::WebContents* contents) { contents 1254 chrome/browser/ui/browser_commands.cc const GURL& url = contents->GetController().GetActiveEntry()->GetURL(); contents 1257 chrome/browser/ui/browser_commands.cc int index = browser->tab_strip_model()->GetIndexOfWebContents(contents); contents 1265 chrome/browser/ui/browser_commands.cc app_browser->tab_strip_model()->AppendWebContents(contents, true); contents 1267 chrome/browser/ui/browser_commands.cc contents->GetMutableRendererPrefs()->can_accept_load_drops = false; contents 1268 chrome/browser/ui/browser_commands.cc contents->GetRenderViewHost()->SyncRendererPrefs(); contents 163 chrome/browser/ui/browser_commands.h void ConvertTabToAppWindow(Browser* browser, content::WebContents* contents); contents 70 chrome/browser/ui/browser_dialogs.h void ShowHungRendererDialog(content::WebContents* contents); contents 71 chrome/browser/ui/browser_dialogs.h void HideHungRendererDialog(content::WebContents* contents); contents 14 chrome/browser/ui/browser_finder.h namespace contents { contents 114 chrome/browser/ui/browser_instant_controller.cc void BrowserInstantController::TabDeactivated(content::WebContents* contents) { contents 115 chrome/browser/ui/browser_instant_controller.cc instant_.TabDeactivated(contents); contents 167 chrome/browser/ui/browser_instant_controller.cc content::WebContents* contents = tab_model->GetWebContentsAt(index); contents 168 chrome/browser/ui/browser_instant_controller.cc if (!contents) contents 172 chrome/browser/ui/browser_instant_controller.cc content::RenderProcessHost* rph = contents->GetRenderProcessHost(); contents 179 chrome/browser/ui/browser_instant_controller.cc contents->GetController().Reload(false); contents 48 chrome/browser/ui/browser_instant_controller.h void TabDeactivated(content::WebContents* contents); contents 51 chrome/browser/ui/browser_instant_controller_unittest.cc explicit FakeWebContentsObserver(content::WebContents* contents) contents 52 chrome/browser/ui/browser_instant_controller_unittest.cc : WebContentsObserver(contents), contents 53 chrome/browser/ui/browser_instant_controller_unittest.cc contents_(contents), contents 54 chrome/browser/ui/browser_instant_controller_unittest.cc url_(contents->GetURL()), contents 91 chrome/browser/ui/browser_instant_controller_unittest.cc content::WebContents* contents = contents 97 chrome/browser/ui/browser_instant_controller_unittest.cc contents->GetRenderProcessHost()->GetID())) contents 101 chrome/browser/ui/browser_instant_controller_unittest.cc observers.push_back(new FakeWebContentsObserver(contents)); contents 130 chrome/browser/ui/browser_instant_controller_unittest.cc content::WebContents* contents = contents 136 chrome/browser/ui/browser_instant_controller_unittest.cc contents->GetRenderProcessHost()->GetID())) contents 140 chrome/browser/ui/browser_instant_controller_unittest.cc observers.push_back(new FakeWebContentsObserver(contents)); contents 60 chrome/browser/ui/browser_navigator.cc static void AttachTabHelpers(content::WebContents* contents) { contents 61 chrome/browser/ui/browser_navigator.cc TabHelpers::AttachTabHelpers(contents); contents 109 chrome/browser/ui/browser_tab_restore_service_delegate.cc const WebContents* contents) { contents 110 chrome/browser/ui/browser_tab_restore_service_delegate.cc Browser* browser = chrome::FindBrowserWithWebContents(contents); contents 87 chrome/browser/ui/browser_tab_strip_model_delegate.cc content::WebContents* contents) { contents 88 chrome/browser/ui/browser_tab_strip_model_delegate.cc TabHelpers::AttachTabHelpers(contents); contents 118 chrome/browser/ui/browser_tab_strip_model_delegate.cc content::WebContents* contents) { contents 130 chrome/browser/ui/browser_tab_strip_model_delegate.cc contents, contents 131 chrome/browser/ui/browser_tab_strip_model_delegate.cc browser_->tab_strip_model()->GetIndexOfWebContents(contents)); contents 136 chrome/browser/ui/browser_tab_strip_model_delegate.cc content::WebContents* contents) { contents 139 chrome/browser/ui/browser_tab_strip_model_delegate.cc return chrome::FastUnloadController::RunUnloadEventsHelper(contents); contents 141 chrome/browser/ui/browser_tab_strip_model_delegate.cc return chrome::UnloadController::RunUnloadEventsHelper(contents); contents 145 chrome/browser/ui/browser_tab_strip_model_delegate.cc content::WebContents* contents) { contents 148 chrome/browser/ui/browser_tab_strip_model_delegate.cc return chrome::FastUnloadController::ShouldRunUnloadEventsHelper(contents); contents 150 chrome/browser/ui/browser_tab_strip_model_delegate.cc return chrome::UnloadController::ShouldRunUnloadEventsHelper(contents); contents 30 chrome/browser/ui/browser_tab_strip_model_delegate.h virtual void WillAddWebContents(content::WebContents* contents) OVERRIDE; contents 35 chrome/browser/ui/browser_tab_strip_model_delegate.h virtual void CreateHistoricalTab(content::WebContents* contents) OVERRIDE; contents 37 chrome/browser/ui/browser_tab_strip_model_delegate.h content::WebContents* contents) OVERRIDE; contents 39 chrome/browser/ui/browser_tab_strip_model_delegate.h content::WebContents* contents) OVERRIDE; contents 72 chrome/browser/ui/browser_tabstrip.cc content::WebContents* contents, contents 74 chrome/browser/ui/browser_tabstrip.cc int index = browser->tab_strip_model()->GetIndexOfWebContents(contents); contents 54 chrome/browser/ui/browser_tabstrip.h content::WebContents* contents, contents 171 chrome/browser/ui/browser_window.h virtual void UpdateToolbar(content::WebContents* contents) = 0; contents 234 chrome/browser/ui/browser_window.h virtual void ShowTranslateBubble(content::WebContents* contents, contents 287 chrome/browser/ui/browser_window.h virtual void WebContentsFocused(content::WebContents* contents) = 0; contents 27 chrome/browser/ui/cocoa/autofill/autofill_dialog_view_tester_cocoa.h const base::string16& contents) OVERRIDE; contents 89 chrome/browser/ui/cocoa/browser_window_cocoa.h virtual void UpdateToolbar(content::WebContents* contents) OVERRIDE; contents 108 chrome/browser/ui/cocoa/browser_window_cocoa.h virtual void ShowTranslateBubble(content::WebContents* contents, contents 127 chrome/browser/ui/cocoa/browser_window_cocoa.h virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; contents 321 chrome/browser/ui/cocoa/browser_window_controller.h - (void)showTranslateBubbleForWebContents:(content::WebContents*)contents contents 327 chrome/browser/ui/cocoa/browser_window_controller.h - (void)updateDevToolsForContents:(content::WebContents*)contents; contents 43 chrome/browser/ui/cocoa/dev_tools_controller.h - (void)updateDevToolsForWebContents:(content::WebContents*)contents contents 66 chrome/browser/ui/cocoa/hung_renderer_controller.h - (void)showForWebContents:(content::WebContents*)contents; contents 72 chrome/browser/ui/cocoa/hung_renderer_controller.h - (void)endForWebContents:(content::WebContents*)contents; contents 70 chrome/browser/ui/cocoa/infobars/infobar_container_controller.h - (void)changeWebContents:(content::WebContents*)contents; contents 75 chrome/browser/ui/cocoa/infobars/infobar_container_controller.h - (void)tabDetachedWithContents:(content::WebContents*)contents; contents 72 chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h virtual void SaveStateToContents(content::WebContents* contents) OVERRIDE; contents 150 chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h virtual void Update(const content::WebContents* contents) OVERRIDE; contents 46 chrome/browser/ui/cocoa/location_bar/page_action_decoration.h void UpdateVisibility(content::WebContents* contents, const GURL& url); contents 38 chrome/browser/ui/cocoa/panels/panel_cocoa.h virtual void PanelWebContentsFocused(content::WebContents* contents) OVERRIDE; contents 54 chrome/browser/ui/cocoa/panels/panel_cocoa.h virtual void AttachWebContents(content::WebContents* contents) OVERRIDE; contents 55 chrome/browser/ui/cocoa/panels/panel_cocoa.h virtual void DetachWebContents(content::WebContents* contents) OVERRIDE; contents 57 chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.h - (void)webContentsInserted:(content::WebContents*)contents; contents 58 chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.h - (void)webContentsDetached:(content::WebContents*)contents; contents 32 chrome/browser/ui/cocoa/status_icons/status_icon_mac.h const base::string16& contents) OVERRIDE; contents 19 chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.h NSImage* FaviconForWebContents(content::WebContents* contents); contents 50 chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.h - (id)initWithContents:(content::WebContents*)contents contents 26 chrome/browser/ui/cocoa/tab_contents/web_drag_bookmark_handler_mac.h virtual void DragInitialize(content::WebContents* contents) OVERRIDE; contents 39 chrome/browser/ui/cocoa/tabs/tab_strip_controller.h - (void)onActivateTabWithContents:(content::WebContents*)contents; contents 43 chrome/browser/ui/cocoa/tabs/tab_strip_controller.h withContents:(content::WebContents*)contents; contents 46 chrome/browser/ui/cocoa/tabs/tab_strip_controller.h - (void)onTabDetachedWithContents:(content::WebContents*)contents; contents 189 chrome/browser/ui/cocoa/tabs/tab_strip_controller.h - (void)dropWebContents:(content::WebContents*)contents contents 255 chrome/browser/ui/cocoa/tabs/tab_strip_controller.h withContents:(content::WebContents*)contents; contents 30 chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h virtual void TabInsertedAt(content::WebContents* contents, contents 34 chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h content::WebContents* contents, contents 36 chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h virtual void TabDetachedAt(content::WebContents* contents, contents 38 chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h virtual void TabDeactivated(content::WebContents* contents) OVERRIDE; contents 46 chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h virtual void TabMoved(content::WebContents* contents, contents 49 chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h virtual void TabChangedAt(content::WebContents* contents, contents 56 chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h virtual void TabMiniStateChanged(content::WebContents* contents, contents 70 chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h - (void)insertTabWithContents:(content::WebContents*)contents contents 73 chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h - (void)tabClosingWithContents:(content::WebContents*)contents contents 75 chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h - (void)tabDetachedWithContents:(content::WebContents*)contents contents 77 chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h - (void)tabDeactivatedWithContents:(content::WebContents*)contents; contents 82 chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h - (void)tabMovedWithContents:(content::WebContents*)contents contents 85 chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h - (void)tabChangedWithContents:(content::WebContents*)contents contents 91 chrome/browser/ui/cocoa/tabs/tab_strip_model_observer_bridge.h - (void)tabMiniStateChangedWithContents:(content::WebContents*)contents contents 247 chrome/browser/ui/extensions/application_launch.cc WebContents* contents = NULL; contents 297 chrome/browser/ui/extensions/application_launch.cc contents = existing_tab; contents 300 chrome/browser/ui/extensions/application_launch.cc contents = params.target_contents; contents 324 chrome/browser/ui/extensions/application_launch.cc return contents; contents 67 chrome/browser/ui/fast_unload_controller.cc bool FastUnloadController::CanCloseContents(content::WebContents* contents) { contents 76 chrome/browser/ui/fast_unload_controller.cc content::WebContents* contents) { contents 80 chrome/browser/ui/fast_unload_controller.cc contents->GetRenderViewHost()) != NULL; contents 85 chrome/browser/ui/fast_unload_controller.cc content::WebContents* contents) { contents 90 chrome/browser/ui/fast_unload_controller.cc if (DevToolsWindow::InterceptPageBeforeUnload(contents)) { contents 97 chrome/browser/ui/fast_unload_controller.cc if (contents->NeedToFireBeforeUnload()) { contents 102 chrome/browser/ui/fast_unload_controller.cc contents->GetMainFrame()->DispatchBeforeUnload(false); contents 108 chrome/browser/ui/fast_unload_controller.cc bool FastUnloadController::BeforeUnloadFired(content::WebContents* contents, contents 111 chrome/browser/ui/fast_unload_controller.cc DevToolsWindow::OnPageCloseCanceled(contents); contents 115 chrome/browser/ui/fast_unload_controller.cc contents->SetClosedByUserGesture(false); contents 119 chrome/browser/ui/fast_unload_controller.cc browser_->tab_strip_model()->delegate()->CreateHistoricalTab(contents); contents 120 chrome/browser/ui/fast_unload_controller.cc DetachWebContents(contents); contents 127 chrome/browser/ui/fast_unload_controller.cc contents->SetClosedByUserGesture(false); contents 131 chrome/browser/ui/fast_unload_controller.cc if (tab_needing_before_unload_ack_ == contents) { contents 134 chrome/browser/ui/fast_unload_controller.cc tabs_needing_unload_.insert(contents); contents 210 chrome/browser/ui/fast_unload_controller.cc content::WebContents* contents = contents 212 chrome/browser/ui/fast_unload_controller.cc bool should_fire_beforeunload = contents->NeedToFireBeforeUnload() || contents 213 chrome/browser/ui/fast_unload_controller.cc DevToolsWindow::NeedsToInterceptBeforeUnload(contents); contents 214 chrome/browser/ui/fast_unload_controller.cc if (!ContainsKey(tabs_needing_unload_, contents) && contents 215 chrome/browser/ui/fast_unload_controller.cc !ContainsKey(tabs_needing_unload_ack_, contents) && contents 216 chrome/browser/ui/fast_unload_controller.cc tab_needing_before_unload_ack_ != contents && contents 218 chrome/browser/ui/fast_unload_controller.cc tabs_needing_before_unload_.insert(contents); contents 244 chrome/browser/ui/fast_unload_controller.cc content::WebContents* contents = *it; contents 246 chrome/browser/ui/fast_unload_controller.cc CoreTabHelper* core_tab_helper = CoreTabHelper::FromWebContents(contents); contents 248 chrome/browser/ui/fast_unload_controller.cc DevToolsWindow::OnPageCloseCanceled(contents); contents 280 chrome/browser/ui/fast_unload_controller.cc content::WebContents* contents = contents 282 chrome/browser/ui/fast_unload_controller.cc ClearUnloadState(contents); contents 293 chrome/browser/ui/fast_unload_controller.cc void FastUnloadController::TabInsertedAt(content::WebContents* contents, contents 296 chrome/browser/ui/fast_unload_controller.cc TabAttachedImpl(contents); contents 299 chrome/browser/ui/fast_unload_controller.cc void FastUnloadController::TabDetachedAt(content::WebContents* contents, contents 301 chrome/browser/ui/fast_unload_controller.cc TabDetachedImpl(contents); contents 321 chrome/browser/ui/fast_unload_controller.cc void FastUnloadController::TabAttachedImpl(content::WebContents* contents) { contents 327 chrome/browser/ui/fast_unload_controller.cc content::Source<content::WebContents>(contents)); contents 330 chrome/browser/ui/fast_unload_controller.cc void FastUnloadController::TabDetachedImpl(content::WebContents* contents) { contents 331 chrome/browser/ui/fast_unload_controller.cc if (tabs_needing_unload_ack_.find(contents) != contents 341 chrome/browser/ui/fast_unload_controller.cc content::Source<content::WebContents>(contents); contents 351 chrome/browser/ui/fast_unload_controller.cc ClearUnloadState(contents); contents 354 chrome/browser/ui/fast_unload_controller.cc bool FastUnloadController::DetachWebContents(content::WebContents* contents) { contents 355 chrome/browser/ui/fast_unload_controller.cc int index = browser_->tab_strip_model()->GetIndexOfWebContents(contents); contents 357 chrome/browser/ui/fast_unload_controller.cc contents->NeedToFireBeforeUnload()) { contents 358 chrome/browser/ui/fast_unload_controller.cc tabs_needing_unload_ack_.insert(contents); contents 360 chrome/browser/ui/fast_unload_controller.cc contents->SetDelegate(detached_delegate_.get()); contents 361 chrome/browser/ui/fast_unload_controller.cc CoreTabHelper* core_tab_helper = CoreTabHelper::FromWebContents(contents); contents 384 chrome/browser/ui/fast_unload_controller.cc content::WebContents* contents = *it; contents 388 chrome/browser/ui/fast_unload_controller.cc if (contents->GetRenderViewHost()) { contents 389 chrome/browser/ui/fast_unload_controller.cc tab_needing_before_unload_ack_ = contents; contents 391 chrome/browser/ui/fast_unload_controller.cc CoreTabHelper* core_tab_helper = CoreTabHelper::FromWebContents(contents); contents 398 chrome/browser/ui/fast_unload_controller.cc if (!DevToolsWindow::InterceptPageBeforeUnload(contents)) contents 399 chrome/browser/ui/fast_unload_controller.cc contents->GetMainFrame()->DispatchBeforeUnload(false); contents 418 chrome/browser/ui/fast_unload_controller.cc content::WebContents* contents = *current; contents 422 chrome/browser/ui/fast_unload_controller.cc if (contents->GetRenderViewHost()) { contents 424 chrome/browser/ui/fast_unload_controller.cc CoreTabHelper::FromWebContents(contents); contents 426 chrome/browser/ui/fast_unload_controller.cc DetachWebContents(contents); contents 427 chrome/browser/ui/fast_unload_controller.cc contents->GetRenderViewHost()->ClosePage(); contents 454 chrome/browser/ui/fast_unload_controller.cc void FastUnloadController::ClearUnloadState(content::WebContents* contents) { contents 455 chrome/browser/ui/fast_unload_controller.cc if (tabs_needing_unload_ack_.erase(contents) > 0) { contents 464 chrome/browser/ui/fast_unload_controller.cc if (tab_needing_before_unload_ack_ == contents) { contents 470 chrome/browser/ui/fast_unload_controller.cc if (tabs_needing_before_unload_.erase(contents) > 0 || contents 471 chrome/browser/ui/fast_unload_controller.cc tabs_needing_unload_.erase(contents) > 0) { contents 65 chrome/browser/ui/fast_unload_controller.h bool CanCloseContents(content::WebContents* contents); contents 68 chrome/browser/ui/fast_unload_controller.h static bool ShouldRunUnloadEventsHelper(content::WebContents* contents); contents 72 chrome/browser/ui/fast_unload_controller.h static bool RunUnloadEventsHelper(content::WebContents* contents); contents 81 chrome/browser/ui/fast_unload_controller.h bool BeforeUnloadFired(content::WebContents* contents, bool proceed); contents 123 chrome/browser/ui/fast_unload_controller.h virtual void TabInsertedAt(content::WebContents* contents, contents 126 chrome/browser/ui/fast_unload_controller.h virtual void TabDetachedAt(content::WebContents* contents, contents 134 chrome/browser/ui/fast_unload_controller.h void TabAttachedImpl(content::WebContents* contents); contents 135 chrome/browser/ui/fast_unload_controller.h void TabDetachedImpl(content::WebContents* contents); contents 140 chrome/browser/ui/fast_unload_controller.h bool DetachWebContents(content::WebContents* contents); contents 149 chrome/browser/ui/fast_unload_controller.h void ClearUnloadState(content::WebContents* contents); contents 156 chrome/browser/ui/fast_unload_controller.h content::WebContents* contents) const; contents 30 chrome/browser/ui/find_bar/find_backend_unittest.cc base::string16 FindPrepopulateText(WebContents* contents) { contents 31 chrome/browser/ui/find_bar/find_backend_unittest.cc Profile* profile = Profile::FromBrowserContext(contents->GetBrowserContext()); contents 79 chrome/browser/ui/find_bar/find_bar_controller.cc void FindBarController::ChangeWebContents(WebContents* contents) { contents 90 chrome/browser/ui/find_bar/find_bar_controller.cc web_contents_ = contents; contents 61 chrome/browser/ui/find_bar/find_bar_controller.h void ChangeWebContents(content::WebContents* contents); contents 427 chrome/browser/ui/gtk/browser_toolbar_gtk.cc void BrowserToolbarGtk::UpdateWebContents(WebContents* contents) { contents 428 chrome/browser/ui/gtk/browser_toolbar_gtk.cc location_bar_->Update(contents); contents 111 chrome/browser/ui/gtk/browser_toolbar_gtk.h void UpdateWebContents(content::WebContents* contents); contents 967 chrome/browser/ui/gtk/browser_window_gtk.cc void BrowserWindowGtk::UpdateToolbar(content::WebContents* contents) { contents 969 chrome/browser/ui/gtk/browser_window_gtk.cc toolbar_->UpdateWebContents(contents); contents 1038 chrome/browser/ui/gtk/browser_window_gtk.cc content::WebContents* contents, contents 1082 chrome/browser/ui/gtk/browser_window_gtk.cc void BrowserWindowGtk::WebContentsFocused(WebContents* contents) { contents 1283 chrome/browser/ui/gtk/browser_window_gtk.cc void BrowserWindowGtk::TabDetachedAt(WebContents* contents, int index) { contents 1292 chrome/browser/ui/gtk/browser_window_gtk.cc contents_container_->DetachTab(contents); contents 2278 chrome/browser/ui/gtk/browser_window_gtk.cc void BrowserWindowGtk::UpdateDevToolsForContents(WebContents* contents) { contents 2280 chrome/browser/ui/gtk/browser_window_gtk.cc DevToolsWindow* new_devtools_window = contents ? contents 2281 chrome/browser/ui/gtk/browser_window_gtk.cc DevToolsWindow::GetDockedInstanceForInspectedTab(contents) : NULL; contents 124 chrome/browser/ui/gtk/browser_window_gtk.h virtual void UpdateToolbar(content::WebContents* contents) OVERRIDE; contents 143 chrome/browser/ui/gtk/browser_window_gtk.h virtual void ShowTranslateBubble(content::WebContents* contents, contents 162 chrome/browser/ui/gtk/browser_window_gtk.h virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; contents 203 chrome/browser/ui/gtk/browser_window_gtk.h virtual void TabDetachedAt(content::WebContents* contents, contents 471 chrome/browser/ui/gtk/browser_window_gtk.h void UpdateDevToolsForContents(content::WebContents* contents); contents 119 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc GtkWidget* contents = contents 121 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc gtk_widget_set_size_request(contents, contents 125 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc gtk_widget_show_all(contents); contents 127 chrome/browser/ui/gtk/constrained_web_dialog_delegate_gtk.cc g_signal_connect(contents, "destroy", G_CALLBACK(OnDestroyThunk), this); contents 24 chrome/browser/ui/gtk/constrained_window_gtk.cc GtkWidget* contents, contents 37 chrome/browser/ui/gtk/constrained_window_gtk.cc if (gtk_widget_get_parent(contents)) contents 38 chrome/browser/ui/gtk/constrained_window_gtk.cc gtk_widget_reparent(contents, alignment); contents 40 chrome/browser/ui/gtk/constrained_window_gtk.cc gtk_container_add(GTK_CONTAINER(alignment), contents); contents 11 chrome/browser/ui/gtk/constrained_window_gtk.h GtkWidget* contents, contents 386 chrome/browser/ui/gtk/find_bar_gtk.cc std::string contents(gtk_entry_get_text(GTK_ENTRY(text_entry_))); contents 387 chrome/browser/ui/gtk/find_bar_gtk.cc return base::UTF8ToUTF16(contents); contents 596 chrome/browser/ui/gtk/find_bar_gtk.cc std::string contents(gtk_entry_get_text(GTK_ENTRY(text_entry_))); contents 597 chrome/browser/ui/gtk/find_bar_gtk.cc return base::UTF8ToUTF16(contents.substr(cursor_pos, selection_bound)); contents 601 chrome/browser/ui/gtk/find_bar_gtk.cc std::string contents(gtk_label_get_text(GTK_LABEL(match_count_label_))); contents 602 chrome/browser/ui/gtk/find_bar_gtk.cc return base::UTF8ToUTF16(contents); contents 698 chrome/browser/ui/gtk/find_bar_gtk.cc content::WebContents* contents = find_bar_controller_->web_contents(); contents 699 chrome/browser/ui/gtk/find_bar_gtk.cc if (!contents) contents 702 chrome/browser/ui/gtk/find_bar_gtk.cc content::RenderViewHost* render_view_host = contents->GetRenderViewHost(); contents 48 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc WebContents* contents) contents 49 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc : content::WebContentsObserver(contents), contents 216 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc void HungRendererDialogGtk::EndForWebContents(WebContents* contents) { contents 217 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc DCHECK(contents); contents 219 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc contents->GetRenderProcessHost()) { contents 256 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc void ShowHungRendererDialog(WebContents* contents) { contents 260 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc g_instance->ShowForWebContents(contents); contents 264 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc void HideHungRendererDialog(WebContents* contents) { contents 266 chrome/browser/ui/gtk/hung_renderer_dialog_gtk.cc g_instance->EndForWebContents(contents); contents 589 chrome/browser/ui/gtk/location_bar_view_gtk.cc void LocationBarViewGtk::Update(const WebContents* contents) { contents 595 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (contents) contents 596 chrome/browser/ui/gtk/location_bar_view_gtk.cc omnibox_view_->OnTabChanged(contents); contents 716 chrome/browser/ui/gtk/location_bar_view_gtk.cc WebContents* contents = GetWebContents(); contents 717 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (contents) { contents 719 chrome/browser/ui/gtk/location_bar_view_gtk.cc extensions::TabHelper::FromWebContents(contents)-> contents 742 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (!page_action_views_.empty() && contents) { contents 747 chrome/browser/ui/gtk/location_bar_view_gtk.cc GetToolbarModel()->input_in_progress() ? NULL : contents, url); contents 777 chrome/browser/ui/gtk/location_bar_view_gtk.cc void LocationBarViewGtk::SaveStateToContents(WebContents* contents) { contents 778 chrome/browser/ui/gtk/location_bar_view_gtk.cc omnibox_view_->SaveStateToTab(contents); contents 1764 chrome/browser/ui/gtk/location_bar_view_gtk.cc WebContents* contents, const GURL& url) { contents 1768 chrome/browser/ui/gtk/location_bar_view_gtk.cc contents ? extensions::ExtensionTabUtil::GetTabId(contents) : -1; contents 1771 chrome/browser/ui/gtk/location_bar_view_gtk.cc bool visible = contents && contents 1797 chrome/browser/ui/gtk/location_bar_view_gtk.cc content::Details<WebContents>(contents)); contents 1942 chrome/browser/ui/gtk/location_bar_view_gtk.cc WebContents* contents = owner_->GetWebContents(); contents 1943 chrome/browser/ui/gtk/location_bar_view_gtk.cc if (!contents) contents 1946 chrome/browser/ui/gtk/location_bar_view_gtk.cc int tab_id = extensions::ExtensionTabUtil::GetTabId(contents); contents 112 chrome/browser/ui/gtk/location_bar_view_gtk.h virtual void Update(const content::WebContents* contents) OVERRIDE; contents 135 chrome/browser/ui/gtk/location_bar_view_gtk.h virtual void SaveStateToContents(content::WebContents* contents) OVERRIDE; contents 239 chrome/browser/ui/gtk/location_bar_view_gtk.h void UpdateVisibility(content::WebContents* contents, const GURL& url); contents 32 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc int GetZoomPercent(content::WebContents* contents) { contents 34 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc return contents->GetZoomPercent(&dummy, &dummy); contents 37 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc void ExpectZoomedIn(content::WebContents* contents) { contents 38 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc EXPECT_GT(GetZoomPercent(contents), 100); contents 41 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc void ExpectZoomedOut(content::WebContents* contents) { contents 42 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc EXPECT_LT(GetZoomPercent(contents), 100); contents 45 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc void ExpectAtDefaultZoom(content::WebContents* contents) { contents 46 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc EXPECT_EQ(GetZoomPercent(contents), 100); contents 66 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc content::WebContents* contents = contents 68 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc std::string zoom_percent = base::IntToString(GetZoomPercent(contents)); contents 78 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc content::WebContents* contents = contents 80 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc ZoomController* zoom_controller = ZoomController::FromWebContents(contents); contents 89 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc content::WebContents* contents = contents 92 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc ExpectAtDefaultZoom(contents); contents 93 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc return contents; contents 126 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc content::WebContents* contents = SetUpTest(); contents 129 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc ExpectZoomedIn(contents); contents 135 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc ExpectAtDefaultZoom(contents); contents 140 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc content::WebContents* contents = SetUpTest(); contents 143 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc int zoom_level = GetZoomPercent(contents); contents 145 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc DCHECK_GT(GetZoomPercent(contents), zoom_level); contents 147 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc ExpectZoomedIn(contents); contents 153 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc ExpectAtDefaultZoom(contents); contents 158 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc content::WebContents* contents = SetUpTest(); contents 161 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc ExpectZoomedOut(contents); contents 167 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc ExpectAtDefaultZoom(contents); contents 172 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc content::WebContents* contents = SetUpTest(); contents 175 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc int zoom_level = GetZoomPercent(contents); contents 177 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc DCHECK_LT(GetZoomPercent(contents), zoom_level); contents 178 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc ExpectZoomedOut(contents); contents 184 chrome/browser/ui/gtk/location_bar_view_gtk_browsertest.cc ExpectAtDefaultZoom(contents); contents 231 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gfx::NativeView contents = html_contents_->native_view(); contents 232 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc g_signal_connect_after(contents, "expose-event", contents 299 chrome/browser/ui/gtk/notifications/balloon_view_gtk.cc gtk_container_add(GTK_CONTAINER(alignment), contents); contents 681 chrome/browser/ui/gtk/omnibox/omnibox_popup_view_gtk.cc SetupLayoutForMatch(layout_, match->contents, match->contents_class, contents 26 chrome/browser/ui/gtk/omnibox/omnibox_view_gtk_unittest.cc MOCK_METHOD1(Update, void(const content::WebContents* contents)); contents 952 chrome/browser/ui/gtk/panels/panel_gtk.cc void PanelGtk::PanelWebContentsFocused(content::WebContents* contents) { contents 1014 chrome/browser/ui/gtk/panels/panel_gtk.cc void PanelGtk::AttachWebContents(content::WebContents* contents) { contents 1015 chrome/browser/ui/gtk/panels/panel_gtk.cc if (!contents) contents 1017 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::NativeView widget = contents->GetView()->GetNativeView(); contents 1021 chrome/browser/ui/gtk/panels/panel_gtk.cc contents->WasShown(); contents 1025 chrome/browser/ui/gtk/panels/panel_gtk.cc void PanelGtk::DetachWebContents(content::WebContents* contents) { contents 1026 chrome/browser/ui/gtk/panels/panel_gtk.cc gfx::NativeView widget = contents->GetView()->GetNativeView(); contents 59 chrome/browser/ui/gtk/panels/panel_gtk.h virtual void PanelWebContentsFocused(content::WebContents* contents) OVERRIDE; contents 71 chrome/browser/ui/gtk/panels/panel_gtk.h virtual void AttachWebContents(content::WebContents* contents) OVERRIDE; contents 72 chrome/browser/ui/gtk/panels/panel_gtk.h virtual void DetachWebContents(content::WebContents* contents) OVERRIDE; contents 396 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc content::WebContents* contents, contents 402 chrome/browser/ui/gtk/ssl_client_certificate_selector.cc contents, network_session, cert_request_info, callback))->Show(); contents 49 chrome/browser/ui/gtk/status_icons/status_icon_gtk.cc const base::string16& contents) { contents 50 chrome/browser/ui/gtk/status_icons/status_icon_gtk.cc notification_.DisplayBalloon(icon, title, contents); contents 28 chrome/browser/ui/gtk/status_icons/status_icon_gtk.h const base::string16& contents) OVERRIDE; contents 25 chrome/browser/ui/gtk/tab_contents/web_drag_bookmark_handler_gtk.cc void WebDragBookmarkHandlerGtk::DragInitialize(WebContents* contents) { contents 32 chrome/browser/ui/gtk/tab_contents/web_drag_bookmark_handler_gtk.cc web_contents_ = contents; contents 34 chrome/browser/ui/gtk/tab_contents/web_drag_bookmark_handler_gtk.cc bookmark_tab_helper_ = BookmarkTabHelper::FromWebContents(contents); contents 26 chrome/browser/ui/gtk/tab_contents/web_drag_bookmark_handler_gtk.h virtual void DragInitialize(content::WebContents* contents) OVERRIDE; contents 150 chrome/browser/ui/gtk/tab_contents_container_gtk.cc content::WebContents* contents) { contents 153 chrome/browser/ui/gtk/tab_contents_container_gtk.cc DetachTab(contents); contents 41 chrome/browser/ui/gtk/tab_contents_container_gtk.h virtual void WebContentsDestroyed(content::WebContents* contents) OVERRIDE; contents 24 chrome/browser/ui/gtk/tabs/drag_data.cc WebContents* contents, contents 30 chrome/browser/ui/gtk/tabs/drag_data.cc contents_(contents), contents 23 chrome/browser/ui/gtk/tabs/drag_data.h content::WebContents* contents, contents 121 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc WebContents* contents) { contents 124 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc if (contents == drag_data_->get(i)->contents_) contents 154 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc WebContents* contents = contents 162 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc content::WebContentsDelegate* original_delegate = contents->GetDelegate(); contents 163 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc contents->SetDelegate(this); contents 165 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc DraggedTabData dragged_tab_data(tab, contents, original_delegate, contents 168 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc content::Source<WebContents>(contents)); contents 306 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc WebContents* contents = drag_data_->get(i)->contents_; contents 309 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc if (contents) { contents 310 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.cc int index = model->GetIndexOfWebContents(contents); contents 57 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h TabGtk* GetDraggedTabForContents(content::WebContents* contents); contents 160 chrome/browser/ui/gtk/tabs/dragged_tab_controller_gtk.h content::WebContents* contents); contents 270 chrome/browser/ui/gtk/tabs/tab_gtk.cc void TabGtk::UpdateData(WebContents* contents, bool app, bool loading_only) { contents 271 chrome/browser/ui/gtk/tabs/tab_gtk.cc TabRendererGtk::UpdateData(contents, app, loading_only); contents 121 chrome/browser/ui/gtk/tabs/tab_gtk.h virtual void UpdateData(content::WebContents* contents, contents 350 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc void TabRendererGtk::UpdateData(WebContents* contents, contents 353 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc DCHECK(contents); contents 355 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc FaviconTabHelper::FromWebContents(contents); contents 358 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc data_.title = contents->GetTitle(); contents 359 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc data_.incognito = contents->GetBrowserContext()->IsOffTheRecord(); contents 362 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc if (contents->IsCrashed()) { contents 367 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc next_media_state = chrome::GetTabMediaStateForContents(contents); contents 407 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc data_.loading = contents->IsLoading(); contents 112 chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h virtual void UpdateData(content::WebContents* contents, contents 343 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc RemoveTabAnimation(TabStripGtk* tabstrip, int index, WebContents* contents) contents 979 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc void TabStripGtk::TabInsertedAt(WebContents* contents, contents 984 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc DCHECK(contents); contents 996 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc tab = drag_controller_->GetDraggedTabForContents(contents); contents 1020 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc tab->UpdateData(contents, model_->IsAppTab(index), false); contents 1043 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc void TabStripGtk::TabDetachedAt(WebContents* contents, int index) { contents 1045 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc StartRemoveTabAnimation(index, contents); contents 1103 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc void TabStripGtk::TabMoved(WebContents* contents, contents 1118 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc void TabStripGtk::TabChangedAt(WebContents* contents, contents 1130 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc tab->UpdateData(contents, contents 1143 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc void TabStripGtk::TabMiniStateChanged(WebContents* contents, int index) { contents 1159 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc void TabStripGtk::TabBlockedStateChanged(WebContents* contents, int index) { contents 1959 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc void TabStripGtk::StartRemoveTabAnimation(int index, WebContents* contents) { contents 1970 chrome/browser/ui/gtk/tabs/tab_strip_gtk.cc active_animation_.reset(new RemoveTabAnimation(this, index, contents)); contents 111 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h virtual void TabInsertedAt(content::WebContents* contents, contents 114 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h virtual void TabDetachedAt(content::WebContents* contents, contents 116 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h virtual void TabMoved(content::WebContents* contents, contents 126 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h virtual void TabChangedAt(content::WebContents* contents, contents 133 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h virtual void TabMiniStateChanged(content::WebContents* contents, contents 135 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h virtual void TabBlockedStateChanged(content::WebContents* contents, contents 415 chrome/browser/ui/gtk/tabs/tab_strip_gtk.h void StartRemoveTabAnimation(int index, content::WebContents* contents); contents 147 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc GtkWidget* contents = gtk_hbox_new(FALSE, ui::kLabelSpacing); contents 148 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gtk_container_set_border_width(GTK_CONTAINER(contents), contents 154 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gtk_box_pack_start(GTK_BOX(contents), image, FALSE, FALSE, 0); contents 161 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gtk_box_pack_start(GTK_BOX(contents), label, FALSE, FALSE, 0); contents 163 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc gtk_widget_show_all(contents); contents 172 chrome/browser/ui/gtk/website_settings/website_settings_popup_gtk.cc contents, contents 263 chrome/browser/ui/hung_plugin_tab_helper.cc HungPluginTabHelper::HungPluginTabHelper(content::WebContents* contents) contents 264 chrome/browser/ui/hung_plugin_tab_helper.cc : content::WebContentsObserver(contents) { contents 65 chrome/browser/ui/hung_plugin_tab_helper.h explicit HungPluginTabHelper(content::WebContents* contents); contents 255 chrome/browser/ui/login/login_prompt_browsertest.cc content::WebContents* contents = contents 257 chrome/browser/ui/login/login_prompt_browsertest.cc NavigationController* controller = &contents->GetController(); contents 277 chrome/browser/ui/login/login_prompt_browsertest.cc content::WebContents* contents = contents 279 chrome/browser/ui/login/login_prompt_browsertest.cc NavigationController* controller = &contents->GetController(); contents 318 chrome/browser/ui/login/login_prompt_browsertest.cc content::TitleWatcher title_watcher(contents, expected_title); contents 327 chrome/browser/ui/login/login_prompt_browsertest.cc content::WebContents* contents = contents 329 chrome/browser/ui/login/login_prompt_browsertest.cc NavigationController* controller = &contents->GetController(); contents 369 chrome/browser/ui/login/login_prompt_browsertest.cc content::TitleWatcher title_watcher(contents, expected_title); contents 441 chrome/browser/ui/login/login_prompt_browsertest.cc content::WebContents* contents = contents 443 chrome/browser/ui/login/login_prompt_browsertest.cc NavigationController* controller = &contents->GetController(); contents 539 chrome/browser/ui/login/login_prompt_browsertest.cc content::WebContents* contents = contents 541 chrome/browser/ui/login/login_prompt_browsertest.cc NavigationController* controller = &contents->GetController(); contents 590 chrome/browser/ui/login/login_prompt_browsertest.cc content::WebContents* contents = contents 592 chrome/browser/ui/login/login_prompt_browsertest.cc NavigationController* controller = &contents->GetController(); contents 641 chrome/browser/ui/login/login_prompt_browsertest.cc content::WebContents* contents = contents 643 chrome/browser/ui/login/login_prompt_browsertest.cc NavigationController* controller = &contents->GetController(); contents 711 chrome/browser/ui/login/login_prompt_browsertest.cc content::WebContents* contents = contents 713 chrome/browser/ui/login/login_prompt_browsertest.cc NavigationController* controller = &contents->GetController(); contents 768 chrome/browser/ui/login/login_prompt_browsertest.cc content::WebContents* contents = contents 770 chrome/browser/ui/login/login_prompt_browsertest.cc NavigationController* controller = &contents->GetController(); contents 839 chrome/browser/ui/login/login_prompt_browsertest.cc content::WebContents* contents = contents 841 chrome/browser/ui/login/login_prompt_browsertest.cc NavigationController* controller = &contents->GetController(); contents 1011 chrome/browser/ui/login/login_prompt_browsertest.cc content::WebContents* contents = contents 1013 chrome/browser/ui/login/login_prompt_browsertest.cc NavigationController* controller = &contents->GetController(); contents 1021 chrome/browser/ui/login/login_prompt_browsertest.cc ASSERT_NE(contents, contents_incognito); contents 1036 chrome/browser/ui/login/login_prompt_browsertest.cc contents->OpenURL(OpenURLParams( contents 1087 chrome/browser/ui/login/login_prompt_browsertest.cc content::WebContents* contents = contents 1089 chrome/browser/ui/login/login_prompt_browsertest.cc NavigationController* controller = &contents->GetController(); contents 1107 chrome/browser/ui/login/login_prompt_browsertest.cc EXPECT_EQ(expected_title, contents->GetTitle()); contents 1122 chrome/browser/ui/login/login_prompt_browsertest.cc content::WebContents* contents = contents 1124 chrome/browser/ui/login/login_prompt_browsertest.cc NavigationController* controller = &contents->GetController(); contents 1142 chrome/browser/ui/login/login_prompt_browsertest.cc EXPECT_EQ(expected_title, contents->GetTitle()); contents 1157 chrome/browser/ui/login/login_prompt_browsertest.cc content::WebContents* contents = contents 1159 chrome/browser/ui/login/login_prompt_browsertest.cc NavigationController* controller = &contents->GetController(); contents 1206 chrome/browser/ui/login/login_prompt_browsertest.cc EXPECT_EQ(expected_title, contents->GetTitle()); contents 1221 chrome/browser/ui/login/login_prompt_browsertest.cc content::WebContents* contents = contents 1223 chrome/browser/ui/login/login_prompt_browsertest.cc NavigationController* controller = &contents->GetController(); contents 1251 chrome/browser/ui/login/login_prompt_browsertest.cc EXPECT_EQ(expected_title, contents->GetTitle()); contents 75 chrome/browser/ui/omnibox/location_bar.h virtual void SaveStateToContents(content::WebContents* contents) = 0; contents 111 chrome/browser/ui/omnibox/omnibox_controller.cc prefetch_suggestion.text = match_to_prefetch->contents; contents 37 chrome/browser/ui/omnibox/omnibox_edit_controller.h virtual void Update(const content::WebContents* contents) = 0; contents 110 chrome/browser/ui/omnibox/omnibox_edit_unittest.cc virtual void Update(const content::WebContents* contents) OVERRIDE {} contents 48 chrome/browser/ui/panels/native_panel.h virtual void PanelWebContentsFocused(content::WebContents* contents) = 0; contents 59 chrome/browser/ui/panels/native_panel.h virtual void AttachWebContents(content::WebContents* contents) = 0; contents 60 chrome/browser/ui/panels/native_panel.h virtual void DetachWebContents(content::WebContents* contents) = 0; contents 755 chrome/browser/ui/panels/panel.cc content::WebContents* contents = GetWebContents(); contents 759 chrome/browser/ui/panels/panel.cc if (contents) { contents 760 chrome/browser/ui/panels/panel.cc title = contents->GetTitle(); contents 784 chrome/browser/ui/panels/panel.cc void Panel::WebContentsFocused(content::WebContents* contents) { contents 785 chrome/browser/ui/panels/panel.cc native_panel_->PanelWebContentsFocused(contents); contents 291 chrome/browser/ui/panels/panel.h void WebContentsFocused(content::WebContents* contents); contents 79 chrome/browser/ui/panels/panel_host.cc content::WebContents* contents = web_contents_.release(); contents 80 chrome/browser/ui/panels/panel_host.cc delete contents; contents 155 chrome/browser/ui/panels/panel_host.cc void PanelHost::ActivateContents(content::WebContents* contents) { contents 159 chrome/browser/ui/panels/panel_host.cc void PanelHost::DeactivateContents(content::WebContents* contents) { contents 192 chrome/browser/ui/panels/panel_host.cc void PanelHost::WebContentsFocused(content::WebContents* contents) { contents 193 chrome/browser/ui/panels/panel_host.cc panel_->WebContentsFocused(contents); contents 62 chrome/browser/ui/panels/panel_host.h virtual void ActivateContents(content::WebContents* contents) OVERRIDE; contents 63 chrome/browser/ui/panels/panel_host.h virtual void DeactivateContents(content::WebContents* contents) OVERRIDE; contents 75 chrome/browser/ui/panels/panel_host.h virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; contents 289 chrome/browser/ui/prefs/prefs_tab_helper.cc PrefsTabHelper::PrefsTabHelper(WebContents* contents) contents 290 chrome/browser/ui/prefs/prefs_tab_helper.cc : web_contents_(contents), contents 42 chrome/browser/ui/prefs/prefs_tab_helper.h explicit PrefsTabHelper(content::WebContents* contents); contents 46 chrome/browser/ui/search/instant_controller.cc const content::WebContents* contents) { contents 47 chrome/browser/ui/search/instant_controller.cc return page && (page->contents() == contents); contents 54 chrome/browser/ui/search/instant_controller.cc void EnsureSearchTermsAreSet(content::WebContents* contents, contents 56 chrome/browser/ui/search/instant_controller.cc content::NavigationController* controller = &contents->GetController(); contents 60 chrome/browser/ui/search/instant_controller.cc if (chrome::GetSearchTerms(contents) == search_terms || contents 71 chrome/browser/ui/search/instant_controller.cc contents->GetBrowserContext()); contents 75 chrome/browser/ui/search/instant_controller.cc SearchTabHelper::FromWebContents(contents)->NavigationEntryUpdated(); contents 92 chrome/browser/ui/search/instant_controller.cc SearchTabHelper::FromWebContents(instant_tab_->contents())->Submit( contents 94 chrome/browser/ui/search/instant_controller.cc instant_tab_->contents()->GetView()->Focus(); contents 95 chrome/browser/ui/search/instant_controller.cc EnsureSearchTermsAreSet(instant_tab_->contents(), search_terms); contents 116 chrome/browser/ui/search/instant_controller.cc void InstantController::TabDeactivated(content::WebContents* contents) { contents 119 chrome/browser/ui/search/instant_controller.cc if (chrome::IsInstantNTP(contents)) contents 120 chrome/browser/ui/search/instant_controller.cc InstantTab::EmitNtpStatistics(contents); contents 157 chrome/browser/ui/search/instant_controller.cc const content::WebContents* contents, contents 159 chrome/browser/ui/search/instant_controller.cc DCHECK(IsContentsFrom(instant_tab(), contents)); contents 171 chrome/browser/ui/search/instant_controller.cc const content::WebContents* contents, contents 173 chrome/browser/ui/search/instant_controller.cc DCHECK(IsContentsFrom(instant_tab(), contents)); contents 183 chrome/browser/ui/search/instant_controller.cc if (!instant_tab_ || active_tab != instant_tab_->contents()) { contents 64 chrome/browser/ui/search/instant_controller.h void TabDeactivated(content::WebContents* contents); contents 118 chrome/browser/ui/search/instant_controller.h const content::WebContents* contents, contents 121 chrome/browser/ui/search/instant_controller.h const content::WebContents* contents, contents 126 chrome/browser/ui/search/instant_controller.h void RedirectToLocalNTP(content::WebContents* contents); contents 170 chrome/browser/ui/search/instant_extended_interactive_uitest.cc bool UpdateSearchState(content::WebContents* contents) WARN_UNUSED_RESULT { contents 171 chrome/browser/ui/search/instant_extended_interactive_uitest.cc return GetIntFromJS(contents, "onMostVisitedChangedCalls", contents 173 chrome/browser/ui/search/instant_extended_interactive_uitest.cc GetIntFromJS(contents, "mostVisitedItemsCount", contents 175 chrome/browser/ui/search/instant_extended_interactive_uitest.cc GetIntFromJS(contents, "firstMostVisitedItemId", contents 177 chrome/browser/ui/search/instant_extended_interactive_uitest.cc GetIntFromJS(contents, "onNativeSuggestionsCalls", contents 179 chrome/browser/ui/search/instant_extended_interactive_uitest.cc GetIntFromJS(contents, "onChangeCalls", contents 181 chrome/browser/ui/search/instant_extended_interactive_uitest.cc GetIntFromJS(contents, "submitCount", contents 183 chrome/browser/ui/search/instant_extended_interactive_uitest.cc GetStringFromJS(contents, "apiHandle.value", contents 185 chrome/browser/ui/search/instant_extended_interactive_uitest.cc GetIntFromJS(contents, "onEscKeyPressedCalls", contents 187 chrome/browser/ui/search/instant_extended_interactive_uitest.cc GetIntFromJS(contents, "onFocusChangedCalls", contents 189 chrome/browser/ui/search/instant_extended_interactive_uitest.cc GetBoolFromJS(contents, "isFocused", contents 191 chrome/browser/ui/search/instant_extended_interactive_uitest.cc GetIntFromJS(contents, "onToggleVoiceSearchCalls", contents 193 chrome/browser/ui/search/instant_extended_interactive_uitest.cc GetStringFromJS(contents, "prefetchQuery", &prefetch_query_value_); contents 969 chrome/browser/ui/search/instant_extended_interactive_uitest.cc content::WebContents* contents = contents 976 chrome/browser/ui/search/instant_extended_interactive_uitest.cc EXPECT_TRUE(content::ExecuteScript(contents, stream.str())); contents 978 chrome/browser/ui/search/instant_extended_interactive_uitest.cc content::WaitForLoadStop(contents); contents 981 chrome/browser/ui/search/instant_extended_interactive_uitest.cc EXPECT_EQ(ASCIIToUTF16(expected_title), contents->GetTitle()); contents 81 chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc bool IsGooglePage(content::WebContents* contents) { contents 83 chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc if (!GetBoolFromJS(contents, "!!window.google", &is_google)) contents 25 chrome/browser/ui/search/instant_page.cc if (contents()) contents 26 chrome/browser/ui/search/instant_page.cc SearchTabHelper::FromWebContents(contents())->model()->RemoveObserver(this); contents 30 chrome/browser/ui/search/instant_page.cc return contents() ? contents 31 chrome/browser/ui/search/instant_page.cc SearchTabHelper::FromWebContents(contents())->SupportsInstant() : false; contents 39 chrome/browser/ui/search/instant_page.cc return contents() && contents 40 chrome/browser/ui/search/instant_page.cc contents()->GetURL() == GURL(chrome::kChromeSearchLocalNtpUrl); contents 58 chrome/browser/ui/search/instant_page.cc SearchModel* model = SearchTabHelper::FromWebContents(contents())->model(); contents 78 chrome/browser/ui/search/instant_page.cc delegate_->InstantPageAboutToNavigateMainFrame(contents(), url); contents 88 chrome/browser/ui/search/instant_page.cc delegate_->InstantSupportDetermined(contents(), supports_instant); contents 96 chrome/browser/ui/search/instant_page.cc if (contents()) contents 97 chrome/browser/ui/search/instant_page.cc SearchTabHelper::FromWebContents(contents())->model()->RemoveObserver(this); contents 45 chrome/browser/ui/search/instant_page.h virtual void InstantSupportDetermined(const content::WebContents* contents, contents 50 chrome/browser/ui/search/instant_page.h const content::WebContents* contents, contents 60 chrome/browser/ui/search/instant_page.h content::WebContents* contents() const { return web_contents(); } contents 33 chrome/browser/ui/search/instant_page_unittest.cc void(const content::WebContents* contents, contents 36 chrome/browser/ui/search/instant_page_unittest.cc void(const content::WebContents* contents)); contents 38 chrome/browser/ui/search/instant_page_unittest.cc void(const content::WebContents* contents, contents 41 chrome/browser/ui/search/instant_page_unittest.cc void(const content::WebContents* contents, contents 21 chrome/browser/ui/search/instant_search_prerenderer.cc bool PageSupportsInstantSearch(content::WebContents* contents) { contents 23 chrome/browser/ui/search/instant_search_prerenderer.cc return SearchTabHelper::FromWebContents(contents)->IsSearchResultsPage(); contents 150 chrome/browser/ui/search/instant_search_prerenderer.cc return (prerender_handle_ && prerender_handle_->contents()) ? contents 151 chrome/browser/ui/search/instant_search_prerenderer.cc prerender_handle_->contents()->prerender_contents() : NULL; contents 19 chrome/browser/ui/search/instant_tab.cc void InstantTab::Init(content::WebContents* contents) { contents 20 chrome/browser/ui/search/instant_tab.cc SetContents(contents); contents 24 chrome/browser/ui/search/instant_tab.cc void InstantTab::EmitNtpStatistics(content::WebContents* contents) { contents 25 chrome/browser/ui/search/instant_tab.cc NTPUserDataLogger::GetOrCreateFromWebContents(contents)->EmitNtpStatistics(); contents 23 chrome/browser/ui/search/instant_tab.h void Init(content::WebContents* contents); contents 26 chrome/browser/ui/search/instant_tab.h static void EmitNtpStatistics(content::WebContents* contents); contents 121 chrome/browser/ui/search/instant_test_utils.cc bool InstantTestBase::GetBoolFromJS(content::WebContents* contents, contents 125 chrome/browser/ui/search/instant_test_utils.cc contents, WrapScript(script), result); contents 128 chrome/browser/ui/search/instant_test_utils.cc bool InstantTestBase::GetIntFromJS(content::WebContents* contents, contents 132 chrome/browser/ui/search/instant_test_utils.cc contents, WrapScript(script), result); contents 135 chrome/browser/ui/search/instant_test_utils.cc bool InstantTestBase::GetStringFromJS(content::WebContents* contents, contents 139 chrome/browser/ui/search/instant_test_utils.cc contents, WrapScript(script), result); contents 142 chrome/browser/ui/search/instant_test_utils.cc bool InstantTestBase::CheckVisibilityIs(content::WebContents* contents, contents 147 chrome/browser/ui/search/instant_test_utils.cc return GetBoolFromJS(contents, "!document.hidden", &actual) && contents 75 chrome/browser/ui/search/instant_test_utils.h bool GetBoolFromJS(content::WebContents* contents, contents 78 chrome/browser/ui/search/instant_test_utils.h bool GetIntFromJS(content::WebContents* contents, contents 81 chrome/browser/ui/search/instant_test_utils.h bool GetStringFromJS(content::WebContents* contents, contents 84 chrome/browser/ui/search/instant_test_utils.h bool CheckVisibilityIs(content::WebContents* contents, contents 137 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 138 chrome/browser/ui/search/search_ipc_router_unittest.cc ASSERT_NE(static_cast<content::WebContents*>(NULL), contents); contents 139 chrome/browser/ui/search/search_ipc_router_unittest.cc SearchTabHelper* search_tab_helper = GetSearchTabHelper(contents); contents 170 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 171 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_NE(static_cast<content::WebContents*>(NULL), contents); contents 172 chrome/browser/ui/search/search_ipc_router_unittest.cc SearchTabHelper* search_tab_helper = GetSearchTabHelper(contents); contents 186 chrome/browser/ui/search/search_ipc_router_unittest.cc bool IsActiveTab(content::WebContents* contents) { contents 187 chrome/browser/ui/search/search_ipc_router_unittest.cc return GetSearchTabHelper(contents)->ipc_router().is_active_tab_; contents 203 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 206 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 207 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), contents 220 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 223 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 224 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), contents 235 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 236 chrome/browser/ui/search/search_ipc_router_unittest.cc bool is_active_tab = IsActiveTab(contents); contents 242 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 243 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), contents 254 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 255 chrome/browser/ui/search/search_ipc_router_unittest.cc bool is_active_tab = IsActiveTab(contents); contents 261 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 262 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), contents 269 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 270 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_EQ(0, browser()->tab_strip_model()->GetIndexOfWebContents(contents)); contents 271 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_TRUE(IsActiveTab(contents)); contents 276 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_EQ(1, browser()->tab_strip_model()->GetIndexOfWebContents(contents)); contents 278 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_FALSE(IsActiveTab(contents)); contents 283 chrome/browser/ui/search/search_ipc_router_unittest.cc browser()->tab_strip_model()->GetIndexOfWebContents(contents)); contents 284 chrome/browser/ui/search/search_ipc_router_unittest.cc EXPECT_TRUE(IsActiveTab(contents)); contents 293 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 294 chrome/browser/ui/search/search_ipc_router_unittest.cc bool is_active_tab = IsActiveTab(contents); contents 302 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 303 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), contents 314 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 315 chrome/browser/ui/search/search_ipc_router_unittest.cc bool is_active_tab = IsActiveTab(contents); contents 323 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 324 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), contents 337 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 339 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 340 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), contents 353 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 355 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 356 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), contents 370 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 373 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 374 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), contents 389 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 392 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 393 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), contents 408 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 410 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 411 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), contents 426 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 428 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 429 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), contents 443 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 446 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 447 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), contents 461 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 464 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 465 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), contents 479 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 482 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 483 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), contents 497 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 500 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 501 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), contents 514 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 517 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 518 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID())); contents 530 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 533 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 534 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID())); contents 543 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 544 chrome/browser/ui/search/search_ipc_router_unittest.cc bool is_active_tab = IsActiveTab(contents); contents 552 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), invalid_page_id, item_url, CURRENT_TAB, contents 559 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), invalid_page_id, item_url)); contents 565 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), invalid_page_id, item_url)); contents 571 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), invalid_page_id)); contents 577 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), invalid_page_id, OMNIBOX_FOCUS_VISIBLE)); contents 582 chrome/browser/ui/search/search_ipc_router_unittest.cc message.reset(new ChromeViewHostMsg_LogEvent(contents->GetRoutingID(), contents 590 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), invalid_page_id, text)); contents 599 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 600 chrome/browser/ui/search/search_ipc_router_unittest.cc bool is_active_tab = IsActiveTab(contents); contents 608 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 609 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), text)); contents 619 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 620 chrome/browser/ui/search/search_ipc_router_unittest.cc bool is_active_tab = IsActiveTab(contents); contents 628 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetRoutingID(), contents 629 chrome/browser/ui/search/search_ipc_router_unittest.cc contents->GetController().GetVisibleEntry()->GetPageID(), text)); contents 737 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 738 chrome/browser/ui/search/search_ipc_router_unittest.cc GetSearchTabHelper(contents)->SetSuggestionToPrefetch(InstantSuggestion()); contents 751 chrome/browser/ui/search/search_ipc_router_unittest.cc content::WebContents* contents = web_contents(); contents 752 chrome/browser/ui/search/search_ipc_router_unittest.cc GetSearchTabHelper(contents)->SetSuggestionToPrefetch(InstantSuggestion()); contents 73 chrome/browser/ui/search/search_tab_helper.cc bool IsCacheableNTP(const content::WebContents* contents) { contents 75 chrome/browser/ui/search/search_tab_helper.cc contents->GetController().GetLastCommittedEntry(); contents 76 chrome/browser/ui/search/search_tab_helper.cc return chrome::NavEntryIsInstantNTP(contents, entry) && contents 80 chrome/browser/ui/search/search_tab_helper.cc bool IsNTP(const content::WebContents* contents) { contents 84 chrome/browser/ui/search/search_tab_helper.cc contents->GetController().GetVisibleEntry(); contents 88 chrome/browser/ui/search/search_tab_helper.cc return chrome::IsInstantNTP(contents); contents 91 chrome/browser/ui/search/search_tab_helper.cc bool IsSearchResults(const content::WebContents* contents) { contents 92 chrome/browser/ui/search/search_tab_helper.cc return !chrome::GetSearchTerms(contents).empty(); contents 95 chrome/browser/ui/search/search_tab_helper.cc bool IsLocal(const content::WebContents* contents) { contents 96 chrome/browser/ui/search/search_tab_helper.cc if (!contents) contents 99 chrome/browser/ui/search/search_tab_helper.cc contents->GetController().GetVisibleEntry(); contents 105 chrome/browser/ui/search/search_tab_helper.cc const content::WebContents* contents) { contents 106 chrome/browser/ui/search/search_tab_helper.cc if (!profile || !contents) contents 113 chrome/browser/ui/search/search_tab_helper.cc contents->GetRenderProcessHost()->GetID()); contents 117 chrome/browser/ui/search/search_tab_helper.cc void UpdateLocationBar(content::WebContents* contents) { contents 120 chrome/browser/ui/search/search_tab_helper.cc if (!contents) contents 123 chrome/browser/ui/search/search_tab_helper.cc Browser* browser = chrome::FindBrowserWithWebContents(contents); contents 126 chrome/browser/ui/search/search_tab_helper.cc browser->OnWebContentsInstantSupportDisabled(contents); contents 132 chrome/browser/ui/search/search_tab_helper.cc void RecordNewTabLoadTime(content::WebContents* contents) { contents 133 chrome/browser/ui/search/search_tab_helper.cc CoreTabHelper* core_tab_helper = CoreTabHelper::FromWebContents(contents); contents 144 chrome/browser/ui/search/search_tab_helper.cc OmniboxView* GetOmniboxView(content::WebContents* contents) { contents 149 chrome/browser/ui/search/search_tab_helper.cc if (!contents) contents 151 chrome/browser/ui/search/search_tab_helper.cc Browser* browser = chrome::FindBrowserWithWebContents(contents); contents 229 chrome/browser/ui/search/search_tab_helper_unittest.cc explicit TabTitleObserver(content::WebContents* contents) contents 230 chrome/browser/ui/search/search_tab_helper_unittest.cc : WebContentsObserver(contents) {} contents 293 chrome/browser/ui/search/search_tab_helper_unittest.cc content::WebContents* contents = contents 295 chrome/browser/ui/search/search_tab_helper_unittest.cc content::NavigationController* controller = &contents->GetController(); contents 298 chrome/browser/ui/search/search_tab_helper_unittest.cc SearchTabHelper::FromWebContents(contents); contents 313 chrome/browser/ui/search/search_tab_helper_unittest.cc content::WebContents* contents = contents 315 chrome/browser/ui/search/search_tab_helper_unittest.cc content::NavigationController* controller = &contents->GetController(); contents 318 chrome/browser/ui/search/search_tab_helper_unittest.cc SearchTabHelper::FromWebContents(contents); contents 333 chrome/browser/ui/search/search_tab_helper_unittest.cc content::WebContents* contents = contents 335 chrome/browser/ui/search/search_tab_helper_unittest.cc content::NavigationController* controller = &contents->GetController(); contents 338 chrome/browser/ui/search/search_tab_helper_unittest.cc SearchTabHelper::FromWebContents(contents); contents 49 chrome/browser/ui/singleton_tabs.cc content::WebContents* contents = contents 51 chrome/browser/ui/singleton_tabs.cc if (contents) { contents 52 chrome/browser/ui/singleton_tabs.cc const GURL& contents_url = contents->GetURL(); contents 53 chrome/browser/ui/singleton_tabs.cc if ((contents_url == GURL(kChromeUINewTabURL) || IsInstantNTP(contents) || contents 263 chrome/browser/ui/startup/startup_browser_creator_impl.cc void SetContents(content::WebContents* contents) { contents 265 chrome/browser/ui/startup/startup_browser_creator_impl.cc contents_ = contents; contents 109 chrome/browser/ui/sync/one_click_signin_helper.cc static void AskForConfirmation(content::WebContents* contents, contents 115 chrome/browser/ui/sync/one_click_signin_helper.cc ConfirmEmailDialogDelegate(content::WebContents* contents, contents 144 chrome/browser/ui/sync/one_click_signin_helper.cc content::WebContents* contents, contents 149 chrome/browser/ui/sync/one_click_signin_helper.cc new ConfirmEmailDialogDelegate(contents, last_email, email, contents 150 chrome/browser/ui/sync/one_click_signin_helper.cc callback), contents); contents 154 chrome/browser/ui/sync/one_click_signin_helper.cc content::WebContents* contents, contents 158 chrome/browser/ui/sync/one_click_signin_helper.cc : TabModalConfirmDialogDelegate(contents), contents 162 chrome/browser/ui/sync/one_click_signin_helper.cc web_contents_(contents) { contents 285 chrome/browser/ui/sync/one_click_signin_helper.cc content::WebContents* contents, contents 294 chrome/browser/ui/sync/one_click_signin_helper.cc contents, args.source); contents 313 chrome/browser/ui/sync/one_click_signin_helper.cc contents->GetVisibleURL())) { contents 317 chrome/browser/ui/sync/one_click_signin_helper.cc contents->GetRenderProcessHost()->GetID(), contents 318 chrome/browser/ui/sync/one_click_signin_helper.cc contents->GetRoutingID(), contents 425 chrome/browser/ui/sync/one_click_signin_helper.cc explicit CurrentHistoryCleaner(content::WebContents* contents); contents 429 chrome/browser/ui/sync/one_click_signin_helper.cc virtual void WebContentsDestroyed(content::WebContents* contents) OVERRIDE; contents 445 chrome/browser/ui/sync/one_click_signin_helper.cc CurrentHistoryCleaner::CurrentHistoryCleaner(content::WebContents* contents) contents 446 chrome/browser/ui/sync/one_click_signin_helper.cc : WebContentsObserver(contents) { contents 483 chrome/browser/ui/sync/one_click_signin_helper.cc content::WebContents* contents) { contents 773 chrome/browser/ui/sync/one_click_signin_helper.cc content::WebContents* contents, contents 775 chrome/browser/ui/sync/one_click_signin_helper.cc if (!FromWebContents(contents)) { contents 776 chrome/browser/ui/sync/one_click_signin_helper.cc contents->SetUserData(UserDataKey(), contents 777 chrome/browser/ui/sync/one_click_signin_helper.cc new OneClickSigninHelper(contents, password_manager)); contents 1159 chrome/browser/ui/sync/one_click_signin_helper.cc content::WebContents* contents, contents 1169 chrome/browser/ui/sync/one_click_signin_helper.cc Profile::FromBrowserContext(contents->GetBrowserContext()); contents 1181 chrome/browser/ui/sync/one_click_signin_helper.cc Browser* browser = chrome::FindBrowserWithWebContents(contents); contents 1183 chrome/browser/ui/sync/one_click_signin_helper.cc contents, contents 1190 chrome/browser/ui/sync/one_click_signin_helper.cc contents, false /* confirmation_required */, source, contents 1192 chrome/browser/ui/sync/one_click_signin_helper.cc contents, contents 1202 chrome/browser/ui/sync/one_click_signin_helper.cc content::WebContents* contents, signin::Source source) { contents 1206 chrome/browser/ui/sync/one_click_signin_helper.cc if (contents->GetController().GetPendingEntry()) contents 1218 chrome/browser/ui/sync/one_click_signin_helper.cc contents->OpenURL(params); contents 1223 chrome/browser/ui/sync/one_click_signin_helper.cc content::WebContents* contents, signin::Source source) { contents 1226 chrome/browser/ui/sync/one_click_signin_helper.cc RedirectToNtpOrAppsPage(contents, source); contents 1239 chrome/browser/ui/sync/one_click_signin_helper.cc content::WebContents* contents = web_contents(); contents 1240 chrome/browser/ui/sync/one_click_signin_helper.cc contents->GetController().LoadURL(page, contents 1337 chrome/browser/ui/sync/one_click_signin_helper.cc content::WebContents* contents = web_contents(); contents 1338 chrome/browser/ui/sync/one_click_signin_helper.cc const GURL url = contents->GetLastCommittedURL(); contents 1340 chrome/browser/ui/sync/one_click_signin_helper.cc Profile::FromBrowserContext(contents->GetBrowserContext()); contents 1358 chrome/browser/ui/sync/one_click_signin_helper.cc RemoveSigninRedirectURLHistoryItem(contents); contents 1362 chrome/browser/ui/sync/one_click_signin_helper.cc Browser* browser = chrome::FindBrowserWithWebContents(contents); contents 1402 chrome/browser/ui/sync/one_click_signin_helper.cc RemoveSigninRedirectURLHistoryItem(contents); contents 1470 chrome/browser/ui/sync/one_click_signin_helper.cc Browser* browser = chrome::FindBrowserWithWebContents(contents); contents 1546 chrome/browser/ui/sync/one_click_signin_helper.cc if (!HandleCrossAccountError(contents, session_index_, email_, password_, contents 1553 chrome/browser/ui/sync/one_click_signin_helper.cc contents, contents 1594 chrome/browser/ui/sync/one_click_signin_helper.cc content::WebContents* contents) { contents 1596 chrome/browser/ui/sync/one_click_signin_helper.cc Profile::FromBrowserContext(contents->GetBrowserContext()); contents 1608 chrome/browser/ui/sync/one_click_signin_helper.cc content::WebContents* contents = web_contents(); contents 1610 chrome/browser/ui/sync/one_click_signin_helper.cc Profile::FromBrowserContext(contents->GetBrowserContext()); contents 1624 chrome/browser/ui/sync/one_click_signin_helper.cc base::Bind(&CloseTab, base::Unretained(contents))); contents 1633 chrome/browser/ui/sync/one_click_signin_helper.cc contents->GetController().LoadURL(original_continue_url_, contents 173 chrome/browser/ui/sync/one_click_signin_helper.h content::WebContents* contents, contents 215 chrome/browser/ui/sync/one_click_signin_helper.h content::WebContents* contents, contents 226 chrome/browser/ui/sync/one_click_signin_helper.h content::WebContents* contents, signin::Source source); contents 231 chrome/browser/ui/sync/one_click_signin_helper.h content::WebContents* contents, signin::Source source); contents 345 chrome/browser/ui/sync/one_click_signin_helper.h virtual void WebContentsDestroyed(content::WebContents* contents) OVERRIDE; contents 693 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc content::WebContents* contents = web_contents(); contents 695 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc OneClickSigninHelper::CreateForWebContentsWithPasswordManager(contents, NULL); contents 697 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc OneClickSigninHelper::FromWebContents(contents); contents 713 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc EXPECT_EQ(GURL(continueUrl), contents->GetURL()); contents 720 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc content::WebContents* contents = web_contents(); contents 722 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc OneClickSigninHelper::CreateForWebContentsWithPasswordManager(contents, NULL); contents 724 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc OneClickSigninHelper::FromWebContents(contents); contents 740 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc content::WebContents* contents = web_contents(); contents 744 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc OneClickSigninHelper::CreateForWebContentsWithPasswordManager(contents, NULL); contents 746 chrome/browser/ui/sync/one_click_signin_helper_unittest.cc OneClickSigninHelper::FromWebContents(contents); contents 510 chrome/browser/ui/sync/one_click_signin_sync_starter.cc content::WebContents* contents, contents 518 chrome/browser/ui/sync/one_click_signin_sync_starter.cc contents->OpenURL(params); contents 521 chrome/browser/ui/sync/one_click_signin_sync_starter.cc Browser* browser = chrome::FindBrowserWithWebContents(contents); contents 523 chrome/browser/ui/sync/one_click_signin_sync_starter.cc browser->tab_strip_model()->GetIndexOfWebContents(contents); contents 198 chrome/browser/ui/sync/one_click_signin_sync_starter.h void ShowSettingsPageInWebContents(content::WebContents* contents, contents 55 chrome/browser/ui/tabs/tab_strip_model.cc explicit CloseTracker(const Contents& contents); contents 94 chrome/browser/ui/tabs/tab_strip_model.cc CloseTracker::CloseTracker(const Contents& contents) { contents 95 chrome/browser/ui/tabs/tab_strip_model.cc for (size_t i = 0; i < contents.size(); ++i) contents 96 chrome/browser/ui/tabs/tab_strip_model.cc observers_.push_back(new DeletionObserver(this, contents[i])); contents 141 chrome/browser/ui/tabs/tab_strip_model.cc void SetWebContents(WebContents* contents); contents 211 chrome/browser/ui/tabs/tab_strip_model.cc WebContents* contents) contents 212 chrome/browser/ui/tabs/tab_strip_model.cc : content::WebContentsObserver(contents), contents 213 chrome/browser/ui/tabs/tab_strip_model.cc contents_(contents), contents 223 chrome/browser/ui/tabs/tab_strip_model.cc void TabStripModel::WebContentsData::SetWebContents(WebContents* contents) { contents 224 chrome/browser/ui/tabs/tab_strip_model.cc contents_ = contents; contents 225 chrome/browser/ui/tabs/tab_strip_model.cc Observe(contents); contents 270 chrome/browser/ui/tabs/tab_strip_model.cc void TabStripModel::AppendWebContents(WebContents* contents, contents 272 chrome/browser/ui/tabs/tab_strip_model.cc InsertWebContentsAt(count(), contents, contents 278 chrome/browser/ui/tabs/tab_strip_model.cc WebContents* contents, contents 280 chrome/browser/ui/tabs/tab_strip_model.cc delegate_->WillAddWebContents(contents); contents 285 chrome/browser/ui/tabs/tab_strip_model.cc extensions::TabHelper::FromWebContents(contents); contents 299 chrome/browser/ui/tabs/tab_strip_model.cc WebContentsData* data = new WebContentsData(this, contents); contents 320 chrome/browser/ui/tabs/tab_strip_model.cc web_modal::WebContentsModalDialogManager::FromWebContents(contents); contents 329 chrome/browser/ui/tabs/tab_strip_model.cc TabInsertedAt(contents, index, active)); contents 522 chrome/browser/ui/tabs/tab_strip_model.cc int TabStripModel::GetIndexOfWebContents(const WebContents* contents) const { contents 524 chrome/browser/ui/tabs/tab_strip_model.cc if (contents_data_[i]->web_contents() == contents) contents 608 chrome/browser/ui/tabs/tab_strip_model.cc void TabStripModel::TabNavigating(WebContents* contents, contents 617 chrome/browser/ui/tabs/tab_strip_model.cc if (!IsNewTabAtEndOfTabStrip(contents)) { contents 625 chrome/browser/ui/tabs/tab_strip_model.cc ForgetGroup(contents); contents 638 chrome/browser/ui/tabs/tab_strip_model.cc void TabStripModel::ForgetGroup(WebContents* contents) { contents 639 chrome/browser/ui/tabs/tab_strip_model.cc int index = GetIndexOfWebContents(contents); contents 645 chrome/browser/ui/tabs/tab_strip_model.cc bool TabStripModel::ShouldResetGroupOnSelect(WebContents* contents) const { contents 646 chrome/browser/ui/tabs/tab_strip_model.cc int index = GetIndexOfWebContents(contents); contents 710 chrome/browser/ui/tabs/tab_strip_model.cc WebContents* contents = GetWebContentsAt(index); contents 711 chrome/browser/ui/tabs/tab_strip_model.cc return contents && extensions::TabHelper::FromWebContents(contents)->is_app(); contents 785 chrome/browser/ui/tabs/tab_strip_model.cc void TabStripModel::AddWebContents(WebContents* contents, contents 820 chrome/browser/ui/tabs/tab_strip_model.cc InsertWebContentsAt(index, contents, contents 823 chrome/browser/ui/tabs/tab_strip_model.cc index = GetIndexOfWebContents(contents); contents 840 chrome/browser/ui/tabs/tab_strip_model.cc contents->GetView()->SizeContents( contents 1131 chrome/browser/ui/tabs/tab_strip_model.cc std::vector<WebContents*> contents; contents 1133 chrome/browser/ui/tabs/tab_strip_model.cc contents.push_back(GetWebContentsAtImpl(indices[i])); contents 1134 chrome/browser/ui/tabs/tab_strip_model.cc return contents; contents 1178 chrome/browser/ui/tabs/tab_strip_model.cc bool TabStripModel::IsNewTabAtEndOfTabStrip(WebContents* contents) const { contents 1179 chrome/browser/ui/tabs/tab_strip_model.cc const GURL& url = contents->GetURL(); contents 1182 chrome/browser/ui/tabs/tab_strip_model.cc contents == GetWebContentsAtImpl(count() - 1) && contents 1183 chrome/browser/ui/tabs/tab_strip_model.cc contents->GetController().GetEntryCount() == 1; contents 1250 chrome/browser/ui/tabs/tab_strip_model.cc void TabStripModel::InternalCloseTab(WebContents* contents, contents 1254 chrome/browser/ui/tabs/tab_strip_model.cc TabClosingAt(this, contents, index)); contents 1259 chrome/browser/ui/tabs/tab_strip_model.cc delegate_->CreateHistoricalTab(contents); contents 1263 chrome/browser/ui/tabs/tab_strip_model.cc delete contents; contents 1272 chrome/browser/ui/tabs/tab_strip_model.cc void TabStripModel::NotifyIfTabDeactivated(WebContents* contents) { contents 1273 chrome/browser/ui/tabs/tab_strip_model.cc if (contents) { contents 1275 chrome/browser/ui/tabs/tab_strip_model.cc TabDeactivated(contents)); contents 164 chrome/browser/ui/tabs/tab_strip_model.h void AppendWebContents(content::WebContents* contents, bool foreground); contents 177 chrome/browser/ui/tabs/tab_strip_model.h content::WebContents* contents, contents 254 chrome/browser/ui/tabs/tab_strip_model.h int GetIndexOfWebContents(const content::WebContents* contents) const; contents 296 chrome/browser/ui/tabs/tab_strip_model.h void TabNavigating(content::WebContents* contents, contents 311 chrome/browser/ui/tabs/tab_strip_model.h void ForgetGroup(content::WebContents* contents); contents 315 chrome/browser/ui/tabs/tab_strip_model.h bool ShouldResetGroupOnSelect(content::WebContents* contents) const; contents 383 chrome/browser/ui/tabs/tab_strip_model.h void AddWebContents(content::WebContents* contents, contents 479 chrome/browser/ui/tabs/tab_strip_model.h bool IsNewTabAtEndOfTabStrip(content::WebContents* contents) const; contents 500 chrome/browser/ui/tabs/tab_strip_model.h void InternalCloseTab(content::WebContents* contents, contents 508 chrome/browser/ui/tabs/tab_strip_model.h void NotifyIfTabDeactivated(content::WebContents* contents); contents 77 chrome/browser/ui/tabs/tab_strip_model_delegate.h virtual void WillAddWebContents(content::WebContents* contents) = 0; contents 95 chrome/browser/ui/tabs/tab_strip_model_delegate.h virtual void CreateHistoricalTab(content::WebContents* contents) = 0; contents 103 chrome/browser/ui/tabs/tab_strip_model_delegate.h content::WebContents* contents) = 0; contents 108 chrome/browser/ui/tabs/tab_strip_model_delegate.h content::WebContents* contents) = 0; contents 9 chrome/browser/ui/tabs/tab_strip_model_observer.cc void TabStripModelObserver::TabInsertedAt(WebContents* contents, contents 15 chrome/browser/ui/tabs/tab_strip_model_observer.cc WebContents* contents, contents 19 chrome/browser/ui/tabs/tab_strip_model_observer.cc void TabStripModelObserver::TabDetachedAt(WebContents* contents, contents 23 chrome/browser/ui/tabs/tab_strip_model_observer.cc void TabStripModelObserver::TabDeactivated(WebContents* contents) { contents 37 chrome/browser/ui/tabs/tab_strip_model_observer.cc void TabStripModelObserver::TabMoved(WebContents* contents, contents 42 chrome/browser/ui/tabs/tab_strip_model_observer.cc void TabStripModelObserver::TabChangedAt(WebContents* contents, contents 53 chrome/browser/ui/tabs/tab_strip_model_observer.cc void TabStripModelObserver::TabPinnedStateChanged(WebContents* contents, contents 57 chrome/browser/ui/tabs/tab_strip_model_observer.cc void TabStripModelObserver::TabMiniStateChanged(WebContents* contents, contents 61 chrome/browser/ui/tabs/tab_strip_model_observer.cc void TabStripModelObserver::TabBlockedStateChanged(WebContents* contents, contents 60 chrome/browser/ui/tabs/tab_strip_model_observer.h virtual void TabInsertedAt(content::WebContents* contents, contents 67 chrome/browser/ui/tabs/tab_strip_model_observer.h content::WebContents* contents, contents 74 chrome/browser/ui/tabs/tab_strip_model_observer.h virtual void TabDetachedAt(content::WebContents* contents, int index); contents 79 chrome/browser/ui/tabs/tab_strip_model_observer.h virtual void TabDeactivated(content::WebContents* contents); contents 107 chrome/browser/ui/tabs/tab_strip_model_observer.h virtual void TabMoved(content::WebContents* contents, contents 116 chrome/browser/ui/tabs/tab_strip_model_observer.h virtual void TabChangedAt(content::WebContents* contents, contents 130 chrome/browser/ui/tabs/tab_strip_model_observer.h virtual void TabPinnedStateChanged(content::WebContents* contents, int index); contents 136 chrome/browser/ui/tabs/tab_strip_model_observer.h virtual void TabMiniStateChanged(content::WebContents* contents, int index); contents 141 chrome/browser/ui/tabs/tab_strip_model_observer.h virtual void TabBlockedStateChanged(content::WebContents* contents, contents 84 chrome/browser/ui/tabs/tab_strip_model_unittest.cc virtual bool RunUnloadListenerBeforeClosing(WebContents* contents) OVERRIDE { contents 148 chrome/browser/ui/tabs/tab_strip_model_unittest.cc virtual void TabInsertedAt(WebContents* contents, contents 152 chrome/browser/ui/tabs/tab_strip_model_unittest.cc web_modal::WebContentsModalDialogManager::FromWebContents(contents); contents 158 chrome/browser/ui/tabs/tab_strip_model_unittest.cc virtual void SetWebContentsBlocked(content::WebContents* contents, contents 160 chrome/browser/ui/tabs/tab_strip_model_unittest.cc int index = tab_strip_model_->GetIndexOfWebContents(contents); contents 188 chrome/browser/ui/tabs/tab_strip_model_unittest.cc void SetID(WebContents* contents, int id) { contents 189 chrome/browser/ui/tabs/tab_strip_model_unittest.cc contents->SetUserData(&kTabStripModelTestIDUserDataKey, contents 194 chrome/browser/ui/tabs/tab_strip_model_unittest.cc int GetID(WebContents* contents) { contents 197 chrome/browser/ui/tabs/tab_strip_model_unittest.cc contents->GetUserData(&kTabStripModelTestIDUserDataKey)); contents 242 chrome/browser/ui/tabs/tab_strip_model_unittest.cc WebContents* contents = CreateWebContents(); contents 243 chrome/browser/ui/tabs/tab_strip_model_unittest.cc SetID(contents, i); contents 244 chrome/browser/ui/tabs/tab_strip_model_unittest.cc model->AppendWebContents(contents, true); contents 326 chrome/browser/ui/tabs/tab_strip_model_unittest.cc virtual void TabInsertedAt(WebContents* contents, contents 330 chrome/browser/ui/tabs/tab_strip_model_unittest.cc State s(contents, index, INSERT); contents 351 chrome/browser/ui/tabs/tab_strip_model_unittest.cc virtual void TabMoved(WebContents* contents, contents 354 chrome/browser/ui/tabs/tab_strip_model_unittest.cc State s(contents, to_index, MOVE); contents 360 chrome/browser/ui/tabs/tab_strip_model_unittest.cc WebContents* contents, contents 362 chrome/browser/ui/tabs/tab_strip_model_unittest.cc states_.push_back(State(contents, index, CLOSE)); contents 364 chrome/browser/ui/tabs/tab_strip_model_unittest.cc virtual void TabDetachedAt(WebContents* contents, int index) OVERRIDE { contents 365 chrome/browser/ui/tabs/tab_strip_model_unittest.cc states_.push_back(State(contents, index, DETACH)); contents 367 chrome/browser/ui/tabs/tab_strip_model_unittest.cc virtual void TabDeactivated(WebContents* contents) OVERRIDE { contents 368 chrome/browser/ui/tabs/tab_strip_model_unittest.cc states_.push_back(State(contents, model()->active_index(), DEACTIVATE)); contents 370 chrome/browser/ui/tabs/tab_strip_model_unittest.cc virtual void TabChangedAt(WebContents* contents, contents 373 chrome/browser/ui/tabs/tab_strip_model_unittest.cc states_.push_back(State(contents, index, CHANGE)); contents 383 chrome/browser/ui/tabs/tab_strip_model_unittest.cc virtual void TabPinnedStateChanged(WebContents* contents, contents 385 chrome/browser/ui/tabs/tab_strip_model_unittest.cc states_.push_back(State(contents, index, PINNED)); contents 119 chrome/browser/ui/tabs/tab_utils.cc bool IsPlayingAudio(content::WebContents* contents) { contents 121 chrome/browser/ui/tabs/tab_utils.cc AudioStreamMonitor::FromWebContents(contents); contents 125 chrome/browser/ui/tabs/tab_utils.cc TabMediaState GetTabMediaStateForContents(content::WebContents* contents) { contents 126 chrome/browser/ui/tabs/tab_utils.cc if (!contents) contents 133 chrome/browser/ui/tabs/tab_utils.cc if (indicator->IsBeingMirrored(contents)) contents 135 chrome/browser/ui/tabs/tab_utils.cc if (indicator->IsCapturingUserMedia(contents)) contents 139 chrome/browser/ui/tabs/tab_utils.cc if (IsPlayingAudio(contents)) contents 59 chrome/browser/ui/tabs/tab_utils.h bool IsPlayingAudio(content::WebContents* contents); contents 64 chrome/browser/ui/tabs/tab_utils.h TabMediaState GetTabMediaStateForContents(content::WebContents* contents); contents 29 chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc content::WebContents* contents) { contents 31 chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc CoreTabHelper::CreateForWebContents(contents); contents 33 chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc extensions::TabHelper::CreateForWebContents(contents); contents 51 chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc content::WebContents* contents) { contents 55 chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc content::WebContents* contents) { contents 60 chrome/browser/ui/tabs/test_tab_strip_model_delegate.cc content::WebContents* contents) { contents 24 chrome/browser/ui/tabs/test_tab_strip_model_delegate.h virtual void WillAddWebContents(content::WebContents* contents) OVERRIDE; contents 29 chrome/browser/ui/tabs/test_tab_strip_model_delegate.h virtual void CreateHistoricalTab(content::WebContents* contents) OVERRIDE; contents 31 chrome/browser/ui/tabs/test_tab_strip_model_delegate.h content::WebContents* contents) OVERRIDE; contents 33 chrome/browser/ui/tabs/test_tab_strip_model_delegate.h content::WebContents* contents) OVERRIDE; contents 302 chrome/browser/ui/toolbar/back_forward_menu_model.cc WebContents* contents = GetWebContents(); contents 307 chrome/browser/ui/toolbar/back_forward_menu_model.cc items = contents->GetController().GetEntryCount() - contents 308 chrome/browser/ui/toolbar/back_forward_menu_model.cc contents->GetController().GetCurrentEntryIndex() - 1; contents 310 chrome/browser/ui/toolbar/back_forward_menu_model.cc items = contents->GetController().GetCurrentEntryIndex(); contents 322 chrome/browser/ui/toolbar/back_forward_menu_model.cc WebContents* contents = GetWebContents(); contents 325 chrome/browser/ui/toolbar/back_forward_menu_model.cc int current_entry = contents->GetController().GetCurrentEntryIndex(); contents 348 chrome/browser/ui/toolbar/back_forward_menu_model.cc WebContents* contents = GetWebContents(); contents 349 chrome/browser/ui/toolbar/back_forward_menu_model.cc NavigationController& controller = contents->GetController(); contents 402 chrome/browser/ui/toolbar/back_forward_menu_model.cc WebContents* contents = GetWebContents(); contents 403 chrome/browser/ui/toolbar/back_forward_menu_model.cc int entry = contents->GetController().GetCurrentEntryIndex() + offset; contents 430 chrome/browser/ui/toolbar/back_forward_menu_model.cc WebContents* contents = GetWebContents(); contents 438 chrome/browser/ui/toolbar/back_forward_menu_model.cc index += contents->GetController().GetCurrentEntryIndex() + 1; contents 441 chrome/browser/ui/toolbar/back_forward_menu_model.cc index = contents->GetController().GetCurrentEntryIndex() - (index + 1); contents 36 chrome/browser/ui/unload_controller.cc bool UnloadController::CanCloseContents(content::WebContents* contents) { contents 40 chrome/browser/ui/unload_controller.cc ClearUnloadState(contents, true); contents 47 chrome/browser/ui/unload_controller.cc content::WebContents* contents) { contents 51 chrome/browser/ui/unload_controller.cc contents->GetRenderViewHost()) != NULL; contents 55 chrome/browser/ui/unload_controller.cc bool UnloadController::RunUnloadEventsHelper(content::WebContents* contents) { contents 60 chrome/browser/ui/unload_controller.cc if (DevToolsWindow::InterceptPageBeforeUnload(contents)) { contents 67 chrome/browser/ui/unload_controller.cc if (contents->NeedToFireBeforeUnload()) { contents 72 chrome/browser/ui/unload_controller.cc contents->GetMainFrame()->DispatchBeforeUnload(false); contents 78 chrome/browser/ui/unload_controller.cc bool UnloadController::BeforeUnloadFired(content::WebContents* contents, contents 81 chrome/browser/ui/unload_controller.cc DevToolsWindow::OnPageCloseCanceled(contents); contents 85 chrome/browser/ui/unload_controller.cc contents->SetClosedByUserGesture(false); contents 91 chrome/browser/ui/unload_controller.cc contents->SetClosedByUserGesture(false); contents 95 chrome/browser/ui/unload_controller.cc if (RemoveFromSet(&tabs_needing_before_unload_fired_, contents)) { contents 98 chrome/browser/ui/unload_controller.cc tabs_needing_unload_fired_.insert(contents); contents 171 chrome/browser/ui/unload_controller.cc content::WebContents* contents = contents 173 chrome/browser/ui/unload_controller.cc bool should_fire_beforeunload = contents->NeedToFireBeforeUnload() || contents 174 chrome/browser/ui/unload_controller.cc DevToolsWindow::NeedsToInterceptBeforeUnload(contents); contents 175 chrome/browser/ui/unload_controller.cc if (!ContainsKey(tabs_needing_unload_fired_, contents) && contents 177 chrome/browser/ui/unload_controller.cc tabs_needing_before_unload_fired_.insert(contents); contents 227 chrome/browser/ui/unload_controller.cc void UnloadController::TabInsertedAt(content::WebContents* contents, contents 230 chrome/browser/ui/unload_controller.cc TabAttachedImpl(contents); contents 233 chrome/browser/ui/unload_controller.cc void UnloadController::TabDetachedAt(content::WebContents* contents, contents 235 chrome/browser/ui/unload_controller.cc TabDetachedImpl(contents); contents 255 chrome/browser/ui/unload_controller.cc void UnloadController::TabAttachedImpl(content::WebContents* contents) { contents 261 chrome/browser/ui/unload_controller.cc content::Source<content::WebContents>(contents)); contents 264 chrome/browser/ui/unload_controller.cc void UnloadController::TabDetachedImpl(content::WebContents* contents) { contents 266 chrome/browser/ui/unload_controller.cc ClearUnloadState(contents, false); contents 269 chrome/browser/ui/unload_controller.cc content::Source<content::WebContents>(contents)); contents 37 chrome/browser/ui/unload_controller.h bool CanCloseContents(content::WebContents* contents); contents 40 chrome/browser/ui/unload_controller.h static bool ShouldRunUnloadEventsHelper(content::WebContents* contents); contents 44 chrome/browser/ui/unload_controller.h static bool RunUnloadEventsHelper(content::WebContents* contents); contents 53 chrome/browser/ui/unload_controller.h bool BeforeUnloadFired(content::WebContents* contents, bool proceed); contents 94 chrome/browser/ui/unload_controller.h virtual void TabInsertedAt(content::WebContents* contents, contents 97 chrome/browser/ui/unload_controller.h virtual void TabDetachedAt(content::WebContents* contents, contents 105 chrome/browser/ui/unload_controller.h void TabAttachedImpl(content::WebContents* contents); contents 106 chrome/browser/ui/unload_controller.h void TabDetachedImpl(content::WebContents* contents); contents 59 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc explicit AccessibilityWindowDelegate(views::View* contents) contents 60 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc : contents_(contents) { } contents 139 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::Widget* CreateWindowWithContents(views::View* contents) { contents 145 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc new AccessibilityWindowDelegate(contents), contents 202 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::View* contents = new views::View(); contents 206 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc contents->AddChildView(button1); contents 210 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc contents->AddChildView(button2); contents 214 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc contents->AddChildView(button3); contents 217 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::Widget* window = CreateWindowWithContents(contents); contents 230 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::FocusManager* focus_manager = contents->GetWidget()->GetFocusManager(); contents 257 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::View* contents = new ViewWithNameAndRole( contents 263 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc contents->AddChildView(button); contents 266 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::Widget* window = CreateWindowWithContents(contents); contents 287 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::View* contents = new ViewWithNameAndRole( contents 291 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc contents->AddChildView(label); contents 295 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc contents->AddChildView(button); contents 298 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::Widget* window = CreateWindowWithContents(contents); contents 320 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::View* contents = new ViewWithNameAndRole( contents 327 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc contents->AddChildView(child); contents 330 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::Widget* window = CreateWindowWithContents(contents); contents 356 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::View* contents = new ViewWithNameAndRole( contents 363 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc contents->AddChildView(child); contents 366 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::Widget* window = CreateWindowWithContents(contents); contents 392 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::View* contents = new views::View(); contents 396 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc contents->AddChildView(button); contents 399 chrome/browser/ui/views/accessibility/accessibility_event_router_views_unittest.cc views::Widget* window = CreateWindowWithContents(contents); contents 180 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc virtual void TabInsertedAt(content::WebContents* contents, contents 184 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc content::WebContents* contents, contents 186 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc virtual void TabDetachedAt(content::WebContents* contents, contents 188 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc virtual void TabDeactivated(content::WebContents* contents) OVERRIDE {} contents 201 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc virtual void TabMoved(content::WebContents* contents, contents 204 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc virtual void TabChangedAt(content::WebContents* contents, contents 211 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc virtual void TabPinnedStateChanged(content::WebContents* contents, contents 213 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc virtual void TabMiniStateChanged(content::WebContents* contents, contents 216 chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc virtual void TabBlockedStateChanged(content::WebContents* contents, contents 55 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.cc const base::string16& contents) { contents 58 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.cc textfield->SetText(contents); contents 64 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.cc if (!combobox->SelectValue(contents)) contents 25 chrome/browser/ui/views/autofill/autofill_dialog_view_tester_views.h const base::string16& contents) OVERRIDE; contents 1494 chrome/browser/ui/views/autofill/autofill_dialog_views.cc DCHECK_EQ(scrollable_area_->contents(), details_container_); contents 1754 chrome/browser/ui/views/autofill/autofill_dialog_views.cc gfx::Size scroll_size = scrollable_area_->contents()->GetPreferredSize(); contents 61 chrome/browser/ui/views/autofill/autofill_dialog_views_unittest.cc content::WebContents* contents = tab_strip_model->GetWebContentsAt(0); contents 62 chrome/browser/ui/views/autofill/autofill_dialog_views_unittest.cc ASSERT_TRUE(contents); contents 63 chrome/browser/ui/views/autofill/autofill_dialog_views_unittest.cc view_delegate_.SetWebContents(contents); contents 72 chrome/browser/ui/views/autofill/autofill_dialog_views_unittest.cc WebContentsModalDialogManager::FromWebContents(contents); contents 67 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc views::StyledLabel* contents = new views::StyledLabel(contents_text, this); contents 78 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc contents->AddStyleRange(text_ranges[i].range, style); contents 81 chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc AddChildView(contents); contents 60 chrome/browser/ui/views/constrained_window_views_unittest.cc contents()->set_preferred_size(preferred_size); contents 93 chrome/browser/ui/views/constrained_window_views_unittest.cc gfx::Size preferred_size = contents()->GetPreferredSize(); contents 96 chrome/browser/ui/views/constrained_window_views_unittest.cc contents()->set_preferred_size(preferred_size); contents 106 chrome/browser/ui/views/constrained_window_views_unittest.cc gfx::Size preferred_size = contents()->GetPreferredSize(); contents 109 chrome/browser/ui/views/constrained_window_views_unittest.cc contents()->set_preferred_size(preferred_size); contents 159 chrome/browser/ui/views/dropdown_bar_host.h const content::WebContents* contents, contents 17 chrome/browser/ui/views/dropdown_bar_host_aura.cc const WebContents* contents, contents 61 chrome/browser/ui/views/edit_search_engine_dialog.cc EditSearchEngineDialog* contents = contents 65 chrome/browser/ui/views/edit_search_engine_dialog.cc CreateBrowserModalDialogViews(contents, parent); contents 66 chrome/browser/ui/views/edit_search_engine_dialog.cc contents->GetWidget()->Show(); contents 67 chrome/browser/ui/views/edit_search_engine_dialog.cc contents->GetDialogClientView()->UpdateDialogButtons(); contents 68 chrome/browser/ui/views/edit_search_engine_dialog.cc contents->title_tf_->SelectAll(true); contents 69 chrome/browser/ui/views/edit_search_engine_dialog.cc contents->title_tf_->RequestFocus(); contents 70 chrome/browser/ui/views/find_bar_host.cc content::WebContents* contents = find_bar_controller_->web_contents(); contents 71 chrome/browser/ui/views/find_bar_host.cc if (!contents) contents 74 chrome/browser/ui/views/find_bar_host.cc content::RenderViewHost* render_view_host = contents->GetRenderViewHost(); contents 79 chrome/browser/ui/views/find_bar_host.cc NativeWebKeyboardEvent event = GetKeyboardEvent(contents, key_event); contents 34 chrome/browser/ui/views/frame/browser_command_handler_x11.cc content::WebContents* contents = contents 36 chrome/browser/ui/views/frame/browser_command_handler_x11.cc if (!contents) contents 38 chrome/browser/ui/views/frame/browser_command_handler_x11.cc content::NavigationController& controller = contents->GetController(); contents 13 chrome/browser/ui/views/frame/browser_shutdown.cc ScopedVector<content::WebContents> contents; contents 15 chrome/browser/ui/views/frame/browser_shutdown.cc contents.push_back(browser->tab_strip_model()->DetachWebContentsAt(0)); contents 1078 chrome/browser/ui/views/frame/browser_view.cc void BrowserView::UpdateToolbar(content::WebContents* contents) { contents 1081 chrome/browser/ui/views/frame/browser_view.cc toolbar_->Update(contents); contents 1300 chrome/browser/ui/views/frame/browser_view.cc void BrowserView::WebContentsFocused(WebContents* contents) { contents 1301 chrome/browser/ui/views/frame/browser_view.cc if (contents_web_view_->GetWebContents() == contents) contents 1302 chrome/browser/ui/views/frame/browser_view.cc contents_web_view_->OnWebContentsFocused(contents); contents 1304 chrome/browser/ui/views/frame/browser_view.cc devtools_web_view_->OnWebContentsFocused(contents); contents 1467 chrome/browser/ui/views/frame/browser_view.cc void BrowserView::TabInsertedAt(WebContents* contents, contents 1474 chrome/browser/ui/views/frame/browser_view.cc if (!contents->GetView()->GetNativeView()->GetRootWindow()) { contents 1475 chrome/browser/ui/views/frame/browser_view.cc aura::Window* window = contents->GetView()->GetNativeView(); contents 1479 chrome/browser/ui/views/frame/browser_view.cc DCHECK(contents->GetView()->GetNativeView()->GetRootWindow()); contents 1483 chrome/browser/ui/views/frame/browser_view.cc void BrowserView::TabDetachedAt(WebContents* contents, int index) { contents 1484 chrome/browser/ui/views/frame/browser_view.cc if (PermissionBubbleManager::FromWebContents(contents)) contents 1485 chrome/browser/ui/views/frame/browser_view.cc PermissionBubbleManager::FromWebContents(contents)->SetView(NULL); contents 1500 chrome/browser/ui/views/frame/browser_view.cc void BrowserView::TabDeactivated(WebContents* contents) { contents 1501 chrome/browser/ui/views/frame/browser_view.cc if (PermissionBubbleManager::FromWebContents(contents)) contents 1502 chrome/browser/ui/views/frame/browser_view.cc PermissionBubbleManager::FromWebContents(contents)->SetView(NULL); contents 1507 chrome/browser/ui/views/frame/browser_view.cc if (!contents->IsBeingDestroyed()) contents 1508 chrome/browser/ui/views/frame/browser_view.cc contents->GetView()->StoreFocus(); contents 1589 chrome/browser/ui/views/frame/browser_view.cc WebContents* contents = browser_->tab_strip_model()->GetActiveWebContents(); contents 1591 chrome/browser/ui/views/frame/browser_view.cc contents ? extensions::TabHelper::FromWebContents(contents) : NULL; contents 2079 chrome/browser/ui/views/frame/browser_view.cc bool BrowserView::MaybeShowBookmarkBar(WebContents* contents) { contents 2080 chrome/browser/ui/views/frame/browser_view.cc bool show_bookmark_bar = contents && contents 2097 chrome/browser/ui/views/frame/browser_view.cc bookmark_bar_view_->SetPageNavigator(contents); contents 2139 chrome/browser/ui/views/frame/browser_view.cc bool BrowserView::MaybeShowInfoBar(WebContents* contents) { contents 2189 chrome/browser/ui/views/frame/browser_view.cc void BrowserView::UpdateUIForContents(WebContents* contents) { contents 2190 chrome/browser/ui/views/frame/browser_view.cc bool needs_layout = MaybeShowBookmarkBar(contents); contents 2193 chrome/browser/ui/views/frame/browser_view.cc needs_layout |= MaybeShowInfoBar(contents); contents 2520 chrome/browser/ui/views/frame/browser_view.cc WebContents* contents = browser_->tab_strip_model()->GetActiveWebContents(); contents 2521 chrome/browser/ui/views/frame/browser_view.cc if (!contents) contents 2523 chrome/browser/ui/views/frame/browser_view.cc if (DoCutCopyPasteForWebContents(contents, method)) contents 2527 chrome/browser/ui/views/frame/browser_view.cc DevToolsWindow::GetDockedInstanceForInspectedTab(contents); contents 2544 chrome/browser/ui/views/frame/browser_view.cc WebContents* contents, contents 2546 chrome/browser/ui/views/frame/browser_view.cc gfx::NativeView native_view = contents->GetView()->GetContentNativeView(); contents 2554 chrome/browser/ui/views/frame/browser_view.cc content::RenderFrameHost* frame = contents->GetFocusedFrame(); contents 315 chrome/browser/ui/views/frame/browser_view.h virtual void UpdateToolbar(content::WebContents* contents) OVERRIDE; contents 336 chrome/browser/ui/views/frame/browser_view.h virtual void ShowTranslateBubble(content::WebContents* contents, contents 357 chrome/browser/ui/views/frame/browser_view.h virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE; contents 400 chrome/browser/ui/views/frame/browser_view.h virtual void TabInsertedAt(content::WebContents* contents, contents 403 chrome/browser/ui/views/frame/browser_view.h virtual void TabDetachedAt(content::WebContents* contents, contents 405 chrome/browser/ui/views/frame/browser_view.h virtual void TabDeactivated(content::WebContents* contents) OVERRIDE; contents 513 chrome/browser/ui/views/frame/browser_view.h bool MaybeShowBookmarkBar(content::WebContents* contents); contents 524 chrome/browser/ui/views/frame/browser_view.h bool MaybeShowInfoBar(content::WebContents* contents); contents 539 chrome/browser/ui/views/frame/browser_view.h void UpdateUIForContents(content::WebContents* contents); contents 585 chrome/browser/ui/views/frame/browser_view.h content::WebContents* contents, contents 59 chrome/browser/ui/views/hung_renderer_view.cc bool PlatformShowCustomHungRendererDialog(WebContents* contents); contents 60 chrome/browser/ui/views/hung_renderer_view.cc bool PlatformHideCustomHungRendererDialog(WebContents* contents); contents 63 chrome/browser/ui/views/hung_renderer_view.cc bool PlatformShowCustomHungRendererDialog(WebContents* contents) { contents 67 chrome/browser/ui/views/hung_renderer_view.cc bool PlatformHideCustomHungRendererDialog(WebContents* contents) { contents 215 chrome/browser/ui/views/hung_renderer_view.cc bool HungRendererDialogView::IsFrameActive(WebContents* contents) { contents 217 chrome/browser/ui/views/hung_renderer_view.cc platform_util::GetTopLevel(contents->GetView()->GetNativeView()); contents 241 chrome/browser/ui/views/hung_renderer_view.cc void HungRendererDialogView::ShowForWebContents(WebContents* contents) { contents 242 chrome/browser/ui/views/hung_renderer_view.cc DCHECK(contents && GetWidget()); contents 247 chrome/browser/ui/views/hung_renderer_view.cc if (!IsFrameActive(contents) && contents 253 chrome/browser/ui/views/hung_renderer_view.cc Browser* browser = chrome::FindBrowserWithWebContents(contents); contents 261 chrome/browser/ui/views/hung_renderer_view.cc platform_util::GetTopLevel(contents->GetView()->GetNativeView()); contents 270 chrome/browser/ui/views/hung_renderer_view.cc Profile::FromBrowserContext(contents->GetBrowserContext()); contents 282 chrome/browser/ui/views/hung_renderer_view.cc hung_pages_table_model_->InitForWebContents(contents); contents 287 chrome/browser/ui/views/hung_renderer_view.cc void HungRendererDialogView::EndForWebContents(WebContents* contents) { contents 288 chrome/browser/ui/views/hung_renderer_view.cc DCHECK(contents); contents 291 chrome/browser/ui/views/hung_renderer_view.cc contents->GetRenderProcessHost()) { contents 453 chrome/browser/ui/views/hung_renderer_view.cc void ShowHungRendererDialog(WebContents* contents) { contents 455 chrome/browser/ui/views/hung_renderer_view.cc !PlatformShowCustomHungRendererDialog(contents)) { contents 457 chrome/browser/ui/views/hung_renderer_view.cc platform_util::GetTopLevel(contents->GetView()->GetNativeView()); contents 467 chrome/browser/ui/views/hung_renderer_view.cc view->ShowForWebContents(contents); contents 471 chrome/browser/ui/views/hung_renderer_view.cc void HideHungRendererDialog(WebContents* contents) { contents 473 chrome/browser/ui/views/hung_renderer_view.cc !PlatformHideCustomHungRendererDialog(contents) && contents 475 chrome/browser/ui/views/hung_renderer_view.cc HungRendererDialogView::GetInstance()->EndForWebContents(contents); contents 117 chrome/browser/ui/views/hung_renderer_view.h static bool IsFrameActive(content::WebContents* contents); contents 119 chrome/browser/ui/views/hung_renderer_view.h virtual void ShowForWebContents(content::WebContents* contents); contents 120 chrome/browser/ui/views/hung_renderer_view.h virtual void EndForWebContents(content::WebContents* contents); contents 32 chrome/browser/ui/views/hung_renderer_view_win.cc bool PlatformShowCustomHungRendererDialog(WebContents* contents) { contents 36 chrome/browser/ui/views/hung_renderer_view_win.cc HungRendererDialogMetro::Create()->Show(contents); contents 40 chrome/browser/ui/views/hung_renderer_view_win.cc bool PlatformHideCustomHungRendererDialog(WebContents* contents) { contents 45 chrome/browser/ui/views/hung_renderer_view_win.cc HungRendererDialogMetro::GetInstance()->Hide(contents); contents 77 chrome/browser/ui/views/hung_renderer_view_win.cc void HungRendererDialogMetro::Show(WebContents* contents) { contents 79 chrome/browser/ui/views/hung_renderer_view_win.cc HungRendererDialogView::IsFrameActive(contents)) { contents 96 chrome/browser/ui/views/hung_renderer_view_win.cc contents_ = contents; contents 100 chrome/browser/ui/views/hung_renderer_view_win.cc contents->GetTitle().c_str(), contents 110 chrome/browser/ui/views/hung_renderer_view_win.cc void HungRendererDialogMetro::Hide(WebContents* contents) { contents 20 chrome/browser/ui/views/hung_renderer_view_win.h void Show(content::WebContents* contents); contents 21 chrome/browser/ui/views/hung_renderer_view_win.h void Hide(content::WebContents* contents); contents 111 chrome/browser/ui/views/location_bar/location_bar_view.cc WebContents* contents = delegate->GetWebContents(); contents 112 chrome/browser/ui/views/location_bar/location_bar_view.cc return contents ? chrome::FindBrowserWithWebContents(contents) : NULL; contents 626 chrome/browser/ui/views/location_bar/location_bar_view.cc WebContents* contents = delegate_->GetWebContents(); contents 636 chrome/browser/ui/views/location_bar/location_bar_view.cc page_action_view->UpdateVisibility(contents, GetToolbarModel()->GetURL()); contents 1096 chrome/browser/ui/views/location_bar/location_bar_view.cc void LocationBarView::Update(const WebContents* contents) { contents 1118 chrome/browser/ui/views/location_bar/location_bar_view.cc if (contents) contents 1119 chrome/browser/ui/views/location_bar/location_bar_view.cc omnibox_view_->OnTabChanged(contents); contents 1360 chrome/browser/ui/views/location_bar/location_bar_view.cc void LocationBarView::SaveStateToContents(WebContents* contents) { contents 1361 chrome/browser/ui/views/location_bar/location_bar_view.cc omnibox_view_->SaveStateToTab(contents); contents 1535 chrome/browser/ui/views/location_bar/location_bar_view.cc WebContents* contents = delegate_->GetWebContents(); contents 1536 chrome/browser/ui/views/location_bar/location_bar_view.cc if (contents) { contents 1538 chrome/browser/ui/views/location_bar/location_bar_view.cc extensions::TabHelper::FromWebContents(contents); contents 1581 chrome/browser/ui/views/location_bar/location_bar_view.cc if (!page_action_views_.empty() && contents) { contents 1582 chrome/browser/ui/views/location_bar/location_bar_view.cc Browser* browser = chrome::FindBrowserWithWebContents(contents); contents 1588 chrome/browser/ui/views/location_bar/location_bar_view.cc GetToolbarModel()->input_in_progress() ? NULL : contents, url); contents 1598 chrome/browser/ui/views/location_bar/location_bar_view.cc content::Details<WebContents>(contents)); contents 261 chrome/browser/ui/views/location_bar/location_bar_view.h virtual void Update(const content::WebContents* contents) OVERRIDE; contents 304 chrome/browser/ui/views/location_bar/location_bar_view.h virtual void SaveStateToContents(content::WebContents* contents) OVERRIDE; contents 184 chrome/browser/ui/views/location_bar/page_action_image_view.cc void PageActionImageView::UpdateVisibility(WebContents* contents, contents 189 chrome/browser/ui/views/location_bar/page_action_image_view.cc contents ? extensions::ExtensionTabUtil::GetTabId(contents) : -1; contents 192 chrome/browser/ui/views/location_bar/page_action_image_view.cc if (!contents || contents 78 chrome/browser/ui/views/location_bar/page_action_image_view.h void UpdateVisibility(content::WebContents* contents, const GURL& url); contents 41 chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc void PageActionWithBadgeView::UpdateVisibility(WebContents* contents, contents 43 chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc image_view_->UpdateVisibility(contents, url); contents 30 chrome/browser/ui/views/location_bar/page_action_with_badge_view.h void UpdateVisibility(content::WebContents* contents, const GURL& url); contents 234 chrome/browser/ui/views/omnibox/omnibox_result_view.cc gfx::RenderText* contents, contents 250 chrome/browser/ui/views/omnibox/omnibox_result_view.cc contents->GetContentWidth(), contents 258 chrome/browser/ui/views/omnibox/omnibox_result_view.cc x = DrawRenderText(match, contents, true, canvas, x, y, contents_max_width); contents 271 chrome/browser/ui/views/omnibox/omnibox_result_view.cc bool contents, contents 283 chrome/browser/ui/views/omnibox/omnibox_result_view.cc if (contents && contents 487 chrome/browser/ui/views/omnibox/omnibox_result_view.cc match_.contents, match_.contents_class, false).release()); contents 553 chrome/browser/ui/views/omnibox/omnibox_result_view.cc CreateClassifiedRenderText(keyword_match->contents, contents 82 chrome/browser/ui/views/omnibox/omnibox_result_view.h gfx::RenderText* contents, contents 95 chrome/browser/ui/views/omnibox/omnibox_result_view.h bool contents, contents 36 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc gfx::RenderText* contents, contents 52 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.cc DrawRenderText(match, contents, true, canvas, x, y, -1); contents 35 chrome/browser/ui/views/omnibox/touch_omnibox_popup_contents_view.h gfx::RenderText* contents, contents 631 chrome/browser/ui/views/panels/panel_frame_view.cc content::WebContents* contents = panel_view_->panel()->GetWebContents(); contents 632 chrome/browser/ui/views/panels/panel_frame_view.cc return contents ? contents->IsLoading() : false; contents 514 chrome/browser/ui/views/panels/panel_view.cc void PanelView::PanelWebContentsFocused(content::WebContents* contents) { contents 515 chrome/browser/ui/views/panels/panel_view.cc web_view_->OnWebContentsFocused(contents); contents 721 chrome/browser/ui/views/panels/panel_view.cc void PanelView::AttachWebContents(content::WebContents* contents) { contents 722 chrome/browser/ui/views/panels/panel_view.cc web_view_->SetWebContents(contents); contents 725 chrome/browser/ui/views/panels/panel_view.cc void PanelView::DetachWebContents(content::WebContents* contents) { contents 56 chrome/browser/ui/views/panels/panel_view.h virtual void PanelWebContentsFocused(content::WebContents* contents) OVERRIDE; contents 72 chrome/browser/ui/views/panels/panel_view.h virtual void AttachWebContents(content::WebContents* contents) OVERRIDE; contents 73 chrome/browser/ui/views/panels/panel_view.h virtual void DetachWebContents(content::WebContents* contents) OVERRIDE; contents 234 chrome/browser/ui/views/password_generation_bubble_view.cc const base::string16& contents) { contents 307 chrome/browser/ui/views/ssl_client_certificate_selector.cc content::WebContents* contents, contents 311 chrome/browser/ui/views/ssl_client_certificate_selector.cc DVLOG(1) << __FUNCTION__ << " " << contents; contents 314 chrome/browser/ui/views/ssl_client_certificate_selector.cc contents, network_session, cert_request_info, callback))->Init(); contents 35 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc const base::string16& contents) { contents 36 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.cc notification_.DisplayBalloon(icon, title, contents); contents 27 chrome/browser/ui/views/status_icons/status_icon_linux_wrapper.h const base::string16& contents) OVERRIDE; contents 120 chrome/browser/ui/views/status_icons/status_icon_win.cc const base::string16& contents) { contents 126 chrome/browser/ui/views/status_icons/status_icon_win.cc wcscpy_s(icon_data.szInfo, contents.c_str()); contents 197 chrome/browser/ui/views/status_icons/status_icon_win.cc const base::string16& contents) { contents 208 chrome/browser/ui/views/status_icons/status_icon_win.cc notification("", "", title.c_str(), contents.c_str(), L"", contents 51 chrome/browser/ui/views/status_icons/status_icon_win.h const base::string16& contents) OVERRIDE; contents 98 chrome/browser/ui/views/status_icons/status_icon_win.h const base::string16& contents) OVERRIDE; contents 56 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc WebContents* contents) { contents 57 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc if (!contents || !contents->IsLoading()) contents 59 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc if (contents->IsWaitingForResponse()) contents 286 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc const WebContents* contents = model_->GetWebContentsAt(model_index); contents 287 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc return contents && (contents->GetURL() == GURL(chrome::kChromeUINewTabURL) || contents 288 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc chrome::IsInstantNTP(contents)); contents 333 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc WebContents* contents = model_->GetWebContentsAt(i); contents 334 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc tab->UpdateLoadingAnimation(TabContentsNetworkState(contents)); contents 440 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc void BrowserTabStripController::TabInsertedAt(WebContents* contents, contents 443 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc DCHECK(contents); contents 445 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc AddTab(contents, model_index, is_active); contents 448 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc void BrowserTabStripController::TabDetachedAt(WebContents* contents, contents 462 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc void BrowserTabStripController::TabMoved(WebContents* contents, contents 470 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc SetTabRendererDataFromModel(contents, to_model_index, &data, EXISTING_TAB); contents 474 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc void BrowserTabStripController::TabChangedAt(WebContents* contents, contents 483 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc SetTabDataAt(contents, model_index); contents 493 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc void BrowserTabStripController::TabPinnedStateChanged(WebContents* contents, contents 498 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc void BrowserTabStripController::TabMiniStateChanged(WebContents* contents, contents 500 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc SetTabDataAt(contents, model_index); contents 503 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc void BrowserTabStripController::TabBlockedStateChanged(WebContents* contents, contents 505 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc SetTabDataAt(contents, model_index); contents 509 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc WebContents* contents, contents 514 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc FaviconTabHelper::FromWebContents(contents); contents 517 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->network_state = TabContentsNetworkState(contents); contents 518 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->title = contents->GetTitle(); contents 519 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->url = contents->GetURL(); contents 520 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->loading = contents->IsLoading(); contents 521 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->crashed_status = contents->GetCrashedStatus(); contents 522 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->incognito = contents->GetBrowserContext()->IsOffTheRecord(); contents 526 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->app = extensions::TabHelper::FromWebContents(contents)->is_app(); contents 527 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc data->media_state = chrome::GetTabMediaStateForContents(contents); contents 564 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc void BrowserTabStripController::AddTab(WebContents* contents, contents 571 chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc SetTabRendererDataFromModel(contents, index, &data, NEW_TAB); contents 80 chrome/browser/ui/views/tabs/browser_tab_strip_controller.h virtual void TabInsertedAt(content::WebContents* contents, contents 83 chrome/browser/ui/views/tabs/browser_tab_strip_controller.h virtual void TabDetachedAt(content::WebContents* contents, contents 88 chrome/browser/ui/views/tabs/browser_tab_strip_controller.h virtual void TabMoved(content::WebContents* contents, contents 91 chrome/browser/ui/views/tabs/browser_tab_strip_controller.h virtual void TabChangedAt(content::WebContents* contents, contents 98 chrome/browser/ui/views/tabs/browser_tab_strip_controller.h virtual void TabPinnedStateChanged(content::WebContents* contents, contents 100 chrome/browser/ui/views/tabs/browser_tab_strip_controller.h virtual void TabMiniStateChanged(content::WebContents* contents, contents 102 chrome/browser/ui/views/tabs/browser_tab_strip_controller.h virtual void TabBlockedStateChanged(content::WebContents* contents, contents 113 chrome/browser/ui/views/tabs/browser_tab_strip_controller.h virtual void SetTabRendererDataFromModel(content::WebContents* contents, contents 138 chrome/browser/ui/views/tabs/browser_tab_strip_controller.h void AddTab(content::WebContents* contents, int index, bool is_active); contents 141 chrome/browser/ui/views/tabs/tab_drag_controller.cc : contents(NULL), contents 376 chrome/browser/ui/views/tabs/tab_drag_controller.cc drag_data->contents = GetModel(source_tabstrip_)->GetWebContentsAt( contents 382 chrome/browser/ui/views/tabs/tab_drag_controller.cc content::Source<WebContents>(drag_data->contents)); contents 385 chrome/browser/ui/views/tabs/tab_drag_controller.cc drag_data->original_delegate = drag_data->contents->GetDelegate(); contents 386 chrome/browser/ui/views/tabs/tab_drag_controller.cc drag_data->contents->SetDelegate(this); contents 415 chrome/browser/ui/views/tabs/tab_drag_controller.cc if (drag_data_[i].contents == source) { contents 479 chrome/browser/ui/views/tabs/tab_drag_controller.cc if (drag_data_[i].contents == destroyed_web_contents) { contents 483 chrome/browser/ui/views/tabs/tab_drag_controller.cc drag_data_[i].contents = NULL; contents 827 chrome/browser/ui/views/tabs/tab_drag_controller.cc WebContents* last_contents = drag_data_[drag_data_.size() - 1].contents; contents 980 chrome/browser/ui/views/tabs/tab_drag_controller.cc drag_data_[i].contents->SetDelegate(NULL); contents 1017 chrome/browser/ui/views/tabs/tab_drag_controller.cc index + i, drag_data_[i].contents, add_types); contents 1087 chrome/browser/ui/views/tabs/tab_drag_controller.cc int index = attached_model->GetIndexOfWebContents(drag_data_[i].contents); contents 1097 chrome/browser/ui/views/tabs/tab_drag_controller.cc drag_data_[i].contents->SetDelegate(this); contents 1401 chrome/browser/ui/views/tabs/tab_drag_controller.cc int model_index = model->GetIndexOfWebContents(drag_data_[i].contents); contents 1468 chrome/browser/ui/views/tabs/tab_drag_controller.cc if (drag_data_[i].contents) { contents 1517 chrome/browser/ui/views/tabs/tab_drag_controller.cc if (drag_data_[i].contents) { contents 1518 chrome/browser/ui/views/tabs/tab_drag_controller.cc int index = model->GetIndexOfWebContents(drag_data_[i].contents); contents 1569 chrome/browser/ui/views/tabs/tab_drag_controller.cc GetModel(attached_tabstrip_)->GetIndexOfWebContents(data->contents); contents 1577 chrome/browser/ui/views/tabs/tab_drag_controller.cc data->source_model_index, data->contents, contents 1590 chrome/browser/ui/views/tabs/tab_drag_controller.cc data->source_model_index, data->contents, contents 1626 chrome/browser/ui/views/tabs/tab_drag_controller.cc item.web_contents = drag_data_[i].contents; contents 1661 chrome/browser/ui/views/tabs/tab_drag_controller.cc if (drag_data_[i].contents && contents 1662 chrome/browser/ui/views/tabs/tab_drag_controller.cc drag_data_[i].contents->GetDelegate() == this) { contents 1663 chrome/browser/ui/views/tabs/tab_drag_controller.cc drag_data_[i].contents->SetDelegate( contents 1855 chrome/browser/ui/views/tabs/tab_drag_controller.cc Profile::FromBrowserContext(drag_data_[0].contents->GetBrowserContext()); contents 192 chrome/browser/ui/views/tabs/tab_drag_controller.h content::WebContents* contents; contents 428 chrome/browser/ui/views/tabs/tab_drag_controller.h return source_tab_drag_data()->contents; contents 125 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc WebContents* contents = model->GetWebContentsAt(i); contents 128 chrome/browser/ui/views/tabs/tab_drag_controller_interactive_uitest.cc contents->GetUserData( contents 107 chrome/browser/ui/views/website_settings/website_settings_popup_view.h views::View* contents, contents 91 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc explicit WebUIHandler(content::WebContents* contents) contents 92 chrome/browser/ui/webui/chromeos/imageburner/imageburner_ui.cc : burn_controller_(BurnController::CreateBurnController(contents, this)){ contents 27 chrome/browser/ui/webui/constrained_web_dialog_ui_browsertest.cc explicit ConstrainedWebDialogBrowserTestObserver(WebContents* contents) contents 28 chrome/browser/ui/webui/constrained_web_dialog_ui_browsertest.cc : content::WebContentsObserver(contents), contents 61 chrome/browser/ui/webui/extensions/extension_error_handler.h const std::string& contents); contents 68 chrome/browser/ui/webui/extensions/extension_error_handler.h const std::string& contents); contents 51 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc const std::string& contents) { contents 52 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc ManifestHighlighter highlighter(contents, key, specific); contents 60 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc const std::string& contents) { contents 61 chrome/browser/ui/webui/extensions/extension_error_ui_util.cc SourceHighlighter highlighter(contents, line_number); contents 98 chrome/browser/ui/webui/extensions/extension_icon_source.cc std::string contents = ResourceBundle::GetSharedInstance() contents 104 chrome/browser/ui/webui/extensions/extension_icon_source.cc reinterpret_cast<const unsigned char*>(contents.data()); contents 105 chrome/browser/ui/webui/extensions/extension_icon_source.cc return ToBitmap(data, contents.length()); contents 1123 chrome/browser/ui/webui/extensions/extension_settings_handler.cc WebContents* contents = web_ui()->GetWebContents(); contents 1124 chrome/browser/ui/webui/extensions/extension_settings_handler.cc if (!ignore_notifications_ && contents && contents->GetRenderViewHost()) contents 229 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc NTPUserDataLogger::NTPUserDataLogger(content::WebContents* contents) contents 230 chrome/browser/ui/webui/ntp/ntp_user_data_logger.cc : content::WebContentsObserver(contents), contents 59 chrome/browser/ui/webui/ntp/ntp_user_data_logger.h explicit NTPUserDataLogger(content::WebContents* contents); contents 14 chrome/browser/ui/webui/omnibox/omnibox_ui.h explicit OmniboxUI(content::WebUI* contents); contents 130 chrome/browser/ui/webui/omnibox/omnibox_ui_handler.cc output->SetString(item_prefix + ".contents", it->contents); contents 75 chrome/browser/ui/webui/options/chromeos/accounts_options_browsertest.cc content::WebContents* contents = contents 80 chrome/browser/ui/webui/options/chromeos/accounts_options_browsertest.cc contents, contents 89 chrome/browser/ui/webui/options/chromeos/accounts_options_browsertest.cc contents, contents 97 chrome/browser/ui/webui/options/chromeos/accounts_options_browsertest.cc contents, contents 105 chrome/browser/ui/webui/options/chromeos/accounts_options_browsertest.cc contents, contents 75 chrome/browser/ui/webui/options/chromeos/shared_options_browsertest.cc content::WebContents* contents = contents 80 chrome/browser/ui/webui/options/chromeos/shared_options_browsertest.cc contents, contents 381 chrome/browser/ui/webui/options/options_ui.cc entry->SetString("displayURL", match.contents); contents 190 chrome/browser/ui/webui/options/options_ui_browsertest.cc content::WebContents* contents = contents 193 chrome/browser/ui/webui/options/options_ui_browsertest.cc contents, "$('manage-default-search-engines').click();")); contents 196 chrome/browser/ui/webui/options/options_ui_browsertest.cc content::TestNavigationObserver observer(contents); contents 207 chrome/browser/ui/webui/options/options_ui_browsertest.cc contents, javascript, &profiles)); contents 227 chrome/browser/ui/webui/options/options_ui_browsertest.cc contents, javascript, &profiles)); contents 144 chrome/browser/ui/webui/policy_ui_browsertest.cc content::WebContents* contents = contents 147 chrome/browser/ui/webui/policy_ui_browsertest.cc ASSERT_TRUE(content::ExecuteScriptAndExtractString(contents, javascript, contents 198 chrome/browser/ui/webui/set_as_default_browser_ui.cc WebContents* contents = web_ui()->GetWebContents(); contents 200 chrome/browser/ui/webui/set_as_default_browser_ui.cc if (contents) { contents 201 chrome/browser/ui/webui/set_as_default_browser_ui.cc content::WebContentsDelegate* delegate = contents->GetDelegate(); contents 203 chrome/browser/ui/webui/set_as_default_browser_ui.cc delegate->CloseContents(contents); contents 351 chrome/browser/ui/webui/set_as_default_browser_ui.cc WebContents* contents = contents 354 chrome/browser/ui/webui/set_as_default_browser_ui.cc if (contents) contents 355 chrome/browser/ui/webui/set_as_default_browser_ui.cc contents->GetView()->SetInitialFocus(); contents 99 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc content::WebContents* contents = NULL; contents 102 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc contents = handler_->web_ui()->GetWebContents(); contents 142 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc contents, "", contents 157 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc contents, contents 271 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc content::WebContents* contents = web_ui()->GetWebContents(); contents 272 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc const GURL& current_url = contents->GetURL(); contents 331 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc contents, can_offer_for, email_, &error_msg); contents 339 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc contents->GetBrowserContext(), contents 381 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc content::WebContents* contents = web_ui()->GetWebContents(); contents 383 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc if (contents->GetController().GetPendingEntry()) { contents 390 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc const GURL& current_url = contents->GetLastCommittedURL(); contents 396 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc OneClickSigninHelper::RedirectToNtpOrAppsPage(contents, source); contents 403 chrome/browser/ui/webui/signin/inline_login_handler_impl.cc OneClickSigninHelper::RedirectToNtpOrAppsPageIfNecessary(contents, source); contents 45 chrome/browser/ui/webui/signin/inline_login_ui_browsertest.cc content::WebContents* contents = contents 47 chrome/browser/ui/webui/signin/inline_login_ui_browsertest.cc content::RenderProcessHost* process = contents->GetRenderProcessHost(); contents 14 chrome/browser/ui/webui/suggestions_internals/suggestions_internals_ui.h explicit SuggestionsInternalsUI(content::WebUI* contents); contents 97 chrome/browser/ui/webui/translate_internals/translate_internals_handler.cc new base::StringValue(language_detection_details->contents)); contents 13 chrome/browser/ui/webui/user_actions/user_actions_ui.h explicit UserActionsUI(content::WebUI* contents); contents 90 chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc WebContents* contents = contents 93 chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc NULL, contents, NEW_FOREGROUND_TAB, gfx::Rect(), false, NULL); contents 450 chrome/browser/unload_browsertest.cc content::WebContents* contents = contents 452 chrome/browser/unload_browsertest.cc return content::GetCookies(contents->GetBrowserContext(), GetUrl(name)); contents 470 chrome/browser/unload_browsertest.cc virtual void TabDetachedAt(content::WebContents* contents, contents 58 chrome/browser/upload_list.cc std::string contents; contents 59 chrome/browser/upload_list.cc base::ReadFileToString(upload_log_path_, &contents); contents 61 chrome/browser/upload_list.cc base::SplitStringAlongWhitespace(contents, &log_entries); contents 68 chrome/common/auto_start_linux.cc const std::string& autostart_filename, std::string* contents) { contents 73 chrome/common/auto_start_linux.cc return base::ReadFileToString(autostart_file, contents); contents 79 chrome/common/auto_start_linux.cc std::string contents; contents 80 chrome/common/auto_start_linux.cc if (!GetAutostartFileContents(autostart_filename, &contents)) contents 82 chrome/common/auto_start_linux.cc base::StringTokenizer tokenizer(contents, "\n"); contents 24 chrome/common/auto_start_linux.h std::string* contents); contents 35 chrome/common/mac/mock_launchd.cc base::FilePath contents = bundle_root->AppendASCII("Contents"); contents 36 chrome/common/mac/mock_launchd.cc base::FilePath mac_os = contents.AppendASCII("MacOS"); contents 38 chrome/common/mac/mock_launchd.cc base::FilePath info_plist = contents.Append("Info.plist"); contents 40 chrome/installer/util/copy_tree_work_item_unittest.cc const std::wstring& contents) { contents 44 chrome/installer/util/copy_tree_work_item_unittest.cc file << contents; contents 63 chrome/installer/util/copy_tree_work_item_unittest.cc WCHAR contents[64]; contents 67 chrome/installer/util/copy_tree_work_item_unittest.cc file.getline(contents, 64); contents 69 chrome/installer/util/copy_tree_work_item_unittest.cc return std::wstring(contents); contents 33 chrome/installer/util/delete_tree_work_item_unittest.cc const std::wstring& contents) { contents 37 chrome/installer/util/delete_tree_work_item_unittest.cc file << contents; contents 28 chrome/installer/util/duplicate_tree_detector_unittest.cc const base::string16& contents) { contents 32 chrome/installer/util/duplicate_tree_detector_unittest.cc file << contents; contents 68 chrome/installer/util/installer_state_unittest.cc const std::wstring& contents) { contents 72 chrome/installer/util/installer_state_unittest.cc file << contents; contents 35 chrome/installer/util/move_tree_work_item_unittest.cc const std::wstring& contents) { contents 39 chrome/installer/util/move_tree_work_item_unittest.cc file << contents; contents 45 chrome/installer/util/move_tree_work_item_unittest.cc WCHAR contents[64]; contents 49 chrome/installer/util/move_tree_work_item_unittest.cc file.getline(contents, arraysize(contents)); contents 51 chrome/installer/util/move_tree_work_item_unittest.cc return std::wstring(contents); contents 484 chrome/renderer/chrome_render_view_observer.cc base::string16 contents; contents 486 chrome/renderer/chrome_render_view_observer.cc CaptureText(main_frame, &contents); contents 490 chrome/renderer/chrome_render_view_observer.cc translate_helper_->PageCaptured(page_id, contents); contents 530 chrome/renderer/chrome_render_view_observer.cc phishing_classifier_->PageCaptured(&contents, preliminary_capture); contents 535 chrome/renderer/chrome_render_view_observer.cc base::string16* contents) { contents 536 chrome/renderer/chrome_render_view_observer.cc contents->clear(); contents 545 chrome/renderer/chrome_render_view_observer.cc *contents = frame->contentAsText(kMaxIndexChars); contents 551 chrome/renderer/chrome_render_view_observer.cc contents.size(), (end - begin)*1000); contents 558 chrome/renderer/chrome_render_view_observer.cc if (contents->size() == kMaxIndexChars) { contents 559 chrome/renderer/chrome_render_view_observer.cc size_t last_space_index = contents->find_last_of(base::kWhitespaceUTF16); contents 562 chrome/renderer/chrome_render_view_observer.cc contents->resize(last_space_index); contents 85 chrome/renderer/chrome_render_view_observer.h void CaptureText(blink::WebFrame* frame, base::string16* contents); contents 55 chrome/renderer/pepper/pepper_flash_font_file_host.cc std::string contents; contents 61 chrome/renderer/pepper/pepper_flash_font_file_host.cc contents.resize(length); contents 63 chrome/renderer/pepper/pepper_flash_font_file_host.cc reinterpret_cast<uint8_t*>(const_cast<char*>(contents.c_str())); contents 68 chrome/renderer/pepper/pepper_flash_font_file_host.cc contents.clear(); contents 74 chrome/renderer/pepper/pepper_flash_font_file_host.cc context->reply_msg = PpapiPluginMsg_FlashFontFile_GetFontTableReply(contents); contents 145 chrome/renderer/translate/translate_helper.cc const base::string16& contents) { contents 148 chrome/renderer/translate/translate_helper.cc deferred_contents_ = contents; contents 153 chrome/renderer/translate/translate_helper.cc const base::string16& contents) { contents 173 chrome/renderer/translate/translate_helper.cc TranslateHelper::DeferPageCaptured(page_id, contents); contents 189 chrome/renderer/translate/translate_helper.cc content_language, html_lang, contents, &cld_language, &is_cld_reliable); contents 208 chrome/renderer/translate/translate_helper.cc details.contents = contents; contents 40 chrome/renderer/translate/translate_helper.h void PageCaptured(int page_id, const base::string16& contents); contents 176 chrome/renderer/translate/translate_helper.h void DeferPageCaptured(const int page_id, const base::string16& contents); contents 35 chrome/test/base/in_process_browser_test_browsertest.cc explicit LoadFailObserver(content::WebContents* contents) contents 36 chrome/test/base/in_process_browser_test_browsertest.cc : content::WebContentsObserver(contents), contents 69 chrome/test/base/in_process_browser_test_browsertest.cc content::WebContents* contents = contents 78 chrome/test/base/in_process_browser_test_browsertest.cc LoadFailObserver observer(contents); contents 82 chrome/test/base/test_browser_window.h virtual void UpdateToolbar(content::WebContents* contents) OVERRIDE {} contents 108 chrome/test/base/test_browser_window.h virtual void ShowTranslateBubble(content::WebContents* contents, contents 127 chrome/test/base/test_browser_window.h virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE {} contents 186 chrome/test/base/test_browser_window.h virtual void SaveStateToContents(content::WebContents* contents) OVERRIDE {} contents 447 chrome/test/base/ui_test_utils.cc WebContents* contents, contents 451 chrome/test/base/ui_test_utils.cc if (url.is_valid() && contents) { contents 453 chrome/test/base/ui_test_utils.cc contents->GetBrowserContext()->GetRequestContextForRenderProcess( contents 454 chrome/test/base/ui_test_utils.cc contents->GetRenderProcessHost()->GetID()); contents 166 chrome/test/base/ui_test_utils.h content::WebContents* contents, contents 28 chrome/test/chromedriver/util_unittest.cc std::string contents; contents 29 chrome/test/chromedriver/util_unittest.cc ASSERT_TRUE(base::ReadFileToString(file, &contents)); contents 30 chrome/test/chromedriver/util_unittest.cc ASSERT_STREQ("COW\n", contents.c_str()); contents 47 chrome/test/chromedriver/util_unittest.cc std::string contents; contents 48 chrome/test/chromedriver/util_unittest.cc ASSERT_TRUE(base::ReadFileToString(file, &contents)); contents 49 chrome/test/chromedriver/util_unittest.cc ASSERT_STREQ("COW\n", contents.c_str()); contents 126 chromeos/system/name_value_pairs_parser.cc std::string contents; contents 127 chromeos/system/name_value_pairs_parser.cc if (base::ReadFileToString(file_path, &contents)) { contents 128 chromeos/system/name_value_pairs_parser.cc return ParseNameValuePairs(contents, eq, delim); contents 334 cloud_print/service/win/cloud_print_service.cc std::string contents; contents 337 cloud_print/service/win/cloud_print_service.cc bool is_valid = base::ReadFileToString(file, &contents) && contents 338 cloud_print/service/win/cloud_print_service.cc service_state.FromString(contents); contents 341 cloud_print/service/win/cloud_print_service.cc LOG(INFO) << file.value() << ": " << contents; contents 353 cloud_print/service/win/cloud_print_service.cc if (new_contents != contents) { contents 379 cloud_print/service/win/cloud_print_service_config.cc std::string contents; contents 381 cloud_print/service/win/cloud_print_service_config.cc if (base::ReadFileToString(file, &contents)) { contents 383 cloud_print/service/win/cloud_print_service_config.cc if (service_state.FromString(contents)) contents 387 cloud_print/service/win/cloud_print_service_config.cc contents = ChromeLauncher::CreateServiceStateFile(proxy_id, setup.printers()); contents 389 cloud_print/service/win/cloud_print_service_config.cc if (contents.empty()) contents 392 cloud_print/service/win/cloud_print_service_config.cc size_t written = base::WriteFile(file, contents.c_str(), contents 393 cloud_print/service/win/cloud_print_service_config.cc contents.size()); contents 394 cloud_print/service/win/cloud_print_service_config.cc if (written != contents.size()) { contents 35 components/autofill/content/browser/content_autofill_driver.cc content::WebContents* contents, contents 39 components/autofill/content/browser/content_autofill_driver.cc if (FromWebContents(contents)) contents 42 components/autofill/content/browser/content_autofill_driver.cc contents->SetUserData( contents 45 components/autofill/content/browser/content_autofill_driver.cc contents, delegate, app_locale, enable_download_manager)); contents 50 components/autofill/content/browser/content_autofill_driver.cc content::WebContents* contents) { contents 52 components/autofill/content/browser/content_autofill_driver.cc contents->GetUserData(kContentAutofillDriverWebContentsUserDataKey)); contents 39 components/autofill/content/browser/content_autofill_driver.h content::WebContents* contents, contents 43 components/autofill/content/browser/content_autofill_driver.h static ContentAutofillDriver* FromWebContents(content::WebContents* contents); contents 50 components/autofill/content/browser/content_autofill_driver_unittest.cc TestContentAutofillDriver(content::WebContents* contents, contents 52 components/autofill/content/browser/content_autofill_driver_unittest.cc : ContentAutofillDriver(contents, delegate, kAppLocale, kDownloadState) { contents 74 components/autofill/content/browser/request_autocomplete_manager_unittest.cc TestContentAutofillDriver(content::WebContents* contents, contents 76 components/autofill/content/browser/request_autocomplete_manager_unittest.cc : ContentAutofillDriver(contents, delegate, kAppLocale, kDownloadState) { contents 111 components/autofill/core/browser/autofill_field.cc base::string16 contents = field_data->option_contents[i]; contents 113 components/autofill/core/browser/autofill_field.cc country_code == AutofillCountry::GetCountryCode(contents, app_locale)) { contents 175 components/keyed_service/content/browser_context_dependency_manager.cc std::string contents = dependency_graph_.DumpAsGraphviz( contents 178 components/keyed_service/content/browser_context_dependency_manager.cc base::WriteFile(dot_file, contents.c_str(), contents.size()); contents 45 components/nacl/browser/nacl_validation_cache.h std::vector<std::string> contents; contents 50 components/nacl/browser/nacl_validation_cache.h contents.push_back(iter->first); contents 52 components/nacl/browser/nacl_validation_cache.h return contents; contents 333 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc std::map<std::string, std::string> contents; contents 334 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc cache_->LoadAllSubkeys("extension-policy", &contents); contents 335 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc ASSERT_EQ(1u, contents.size()); contents 336 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_EQ(kTestExtension, contents.begin()->first); contents 425 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc std::map<std::string, std::string> contents; contents 426 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc cache_->LoadAllSubkeys("extension-policy", &contents); contents 427 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_EQ(1u, contents.size()); contents 428 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc EXPECT_TRUE(ContainsKey(contents, kTestExtension2)); contents 508 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc std::map<std::string, std::string> contents; contents 509 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc cache_->LoadAllSubkeys("extension-policy", &contents); contents 510 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc ASSERT_EQ(1u, contents.size()); contents 525 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc cache_->LoadAllSubkeys("extension-policy", &contents); contents 526 components/policy/core/common/cloud/component_cloud_policy_service_unittest.cc ASSERT_EQ(0u, contents.size()); contents 191 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc std::map<std::string, std::string> contents; contents 192 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc cache_->LoadAllSubkeys("extension-policy", &contents); contents 193 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_FALSE(contents.empty()); contents 203 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc cache_->LoadAllSubkeys("extension-policy", &contents); contents 204 components/policy/core/common/cloud/component_cloud_policy_store_unittest.cc EXPECT_TRUE(contents.empty()); contents 107 components/policy/core/common/cloud/resource_cache.cc std::map<std::string, std::string>* contents) { contents 109 components/policy/core/common/cloud/resource_cache.cc contents->clear(); contents 125 components/policy/core/common/cloud/resource_cache.cc (*contents)[subkey].swap(data); contents 51 components/policy/core/common/cloud/resource_cache.h std::map<std::string, std::string>* contents); contents 61 components/policy/core/common/cloud/resource_cache_unittest.cc std::map<std::string, std::string> contents; contents 62 components/policy/core/common/cloud/resource_cache_unittest.cc cache.LoadAllSubkeys(kKey1, &contents); contents 63 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(2u, contents.size()); contents 64 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(kData0, contents[kSubA]); contents 65 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(kData1, contents[kSubB]); contents 79 components/policy/core/common/cloud/resource_cache_unittest.cc cache.LoadAllSubkeys(kKey1, &contents); contents 80 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(2u, contents.size()); contents 81 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(kData1, contents[kSubB]); contents 82 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(kData1, contents[kSubD]); contents 87 components/policy/core/common/cloud/resource_cache_unittest.cc cache.LoadAllSubkeys(kKey1, &contents); contents 88 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(0u, contents.size()); contents 91 components/policy/core/common/cloud/resource_cache_unittest.cc cache.LoadAllSubkeys(kKey2, &contents); contents 92 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(2u, contents.size()); contents 93 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(kData0, contents[kSubA]); contents 94 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(kData1, contents[kSubB]); contents 95 components/policy/core/common/cloud/resource_cache_unittest.cc cache.LoadAllSubkeys(kKey3, &contents); contents 96 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(2u, contents.size()); contents 97 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(kData0, contents[kSubA]); contents 98 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(kData1, contents[kSubB]); contents 106 components/policy/core/common/cloud/resource_cache_unittest.cc cache.LoadAllSubkeys(kKey1, &contents); contents 107 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(0u, contents.size()); contents 108 components/policy/core/common/cloud/resource_cache_unittest.cc cache.LoadAllSubkeys(kKey1, &contents); contents 109 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(0u, contents.size()); contents 112 components/policy/core/common/cloud/resource_cache_unittest.cc cache.LoadAllSubkeys(kKey3, &contents); contents 113 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(2u, contents.size()); contents 114 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(kData0, contents[kSubA]); contents 115 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(kData1, contents[kSubB]); contents 134 components/policy/core/common/cloud/resource_cache_unittest.cc std::map<std::string, std::string> contents; contents 135 components/policy/core/common/cloud/resource_cache_unittest.cc cache.LoadAllSubkeys(kKey1, &contents); contents 136 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(3u, contents.size()); contents 137 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(kData0, contents[kSubA]); contents 138 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(kData1, contents[kSubB]); contents 139 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(kData0, contents[kSubC]); contents 145 components/policy/core/common/cloud/resource_cache_unittest.cc cache.LoadAllSubkeys(kKey1, &contents); contents 146 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(2u, contents.size()); contents 147 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(kData1, contents[kSubB]); contents 148 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(kData0, contents[kSubC]); contents 151 components/policy/core/common/cloud/resource_cache_unittest.cc cache.LoadAllSubkeys(kKey2, &contents); contents 152 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(2u, contents.size()); contents 153 components/policy/core/common/cloud/resource_cache_unittest.cc cache.LoadAllSubkeys(kKey3, &contents); contents 154 components/policy/core/common/cloud/resource_cache_unittest.cc EXPECT_EQ(2u, contents.size()); contents 25 components/translate/content/common/translate_messages.h IPC_STRUCT_TRAITS_MEMBER(contents) contents 40 components/translate/core/common/language_detection_details.h base::string16 contents; contents 200 components/translate/language_detection/language_detection_util.cc const base::string16& contents, contents 205 components/translate/language_detection/language_detection_util.cc std::string cld_language = DetermineTextLanguage(contents, &is_cld_reliable); contents 17 components/translate/language_detection/language_detection_util.h const base::string16& contents, contents 97 components/translate/language_detection/language_detection_util_unittest.cc base::string16 contents = base::ASCIIToUTF16( contents 106 components/translate/language_detection/language_detection_util_unittest.cc contents, contents 117 components/translate/language_detection/language_detection_util_unittest.cc base::string16 contents = base::ASCIIToUTF16( contents 126 components/translate/language_detection/language_detection_util_unittest.cc contents, contents 138 components/translate/language_detection/language_detection_util_unittest.cc base::string16 contents = base::ASCIIToUTF16( contents 147 components/translate/language_detection/language_detection_util_unittest.cc contents, contents 158 components/translate/language_detection/language_detection_util_unittest.cc base::string16 contents = base::ASCIIToUTF16( contents 167 components/translate/language_detection/language_detection_util_unittest.cc contents, contents 129 components/web_contents_delegate_android/web_contents_delegate_android.cc void WebContentsDelegateAndroid::ActivateContents(WebContents* contents) { contents 137 components/web_contents_delegate_android/web_contents_delegate_android.cc void WebContentsDelegateAndroid::DeactivateContents(WebContents* contents) { contents 51 components/web_contents_delegate_android/web_contents_delegate_android.h void SetOwnerWebContents(content::WebContents* contents); contents 63 components/web_contents_delegate_android/web_contents_delegate_android.h virtual void ActivateContents(content::WebContents* contents) OVERRIDE; contents 64 components/web_contents_delegate_android/web_contents_delegate_android.h virtual void DeactivateContents(content::WebContents* contents) OVERRIDE; contents 119 components/web_modal/web_contents_modal_dialog_manager.cc WebContents* contents = web_contents(); contents 120 components/web_modal/web_contents_modal_dialog_manager.cc if (!contents) { contents 126 components/web_modal/web_contents_modal_dialog_manager.cc content::RenderViewHost* host = contents->GetRenderViewHost(); contents 130 components/web_modal/web_contents_modal_dialog_manager.cc delegate_->SetWebContentsBlocked(contents, blocked); contents 224 components/webdata/common/web_database_migration_unittest.cc bool GetWebDatabaseData(const base::FilePath& file, std::string* contents) { contents 233 components/webdata/common/web_database_migration_unittest.cc base::ReadFileToString(source_path, contents); contents 264 components/webdata/common/web_database_migration_unittest.cc std::string contents; contents 265 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(GetWebDatabaseData(base::FilePath(file), &contents)); contents 269 components/webdata/common/web_database_migration_unittest.cc ASSERT_TRUE(connection.Execute(contents.data())); contents 58 content/browser/accessibility/accessibility_tree_formatter.cc base::string16* contents) { contents 60 content/browser/accessibility/accessibility_tree_formatter.cc RecursiveFormatAccessibilityTree(*(dict.get()), contents); contents 79 content/browser/accessibility/accessibility_tree_formatter.cc const base::DictionaryValue& dict, base::string16* contents, int depth) { contents 85 content/browser/accessibility/accessibility_tree_formatter.cc *contents += line; contents 91 content/browser/accessibility/accessibility_tree_formatter.cc RecursiveFormatAccessibilityTree(*child_dict, contents, depth + 1); contents 55 content/browser/accessibility/accessibility_tree_formatter.h void FormatAccessibilityTree(base::string16* contents); contents 103 content/browser/accessibility/accessibility_tree_formatter.h base::string16* contents, contents 108 content/browser/accessibility/accessibility_tree_formatter.h base::string16* contents, contents 19 content/browser/android/content_settings.cc WebContents* contents) contents 20 content/browser/android/content_settings.cc : WebContentsObserver(contents), contents 18 content/browser/android/content_settings.h WebContents* contents); contents 54 content/browser/android/in_process/synchronous_compositor_impl.cc WebContents* contents = WebContents::FromRenderViewHost(rvh); contents 55 content/browser/android/in_process/synchronous_compositor_impl.cc if (!contents) contents 57 content/browser/android/in_process/synchronous_compositor_impl.cc return FromWebContents(contents); contents 65 content/browser/android/in_process/synchronous_compositor_impl.cc SynchronousCompositorImpl::SynchronousCompositorImpl(WebContents* contents) contents 68 content/browser/android/in_process/synchronous_compositor_impl.cc contents_(contents), contents 70 content/browser/android/in_process/synchronous_compositor_impl.cc DCHECK(contents); contents 281 content/browser/android/in_process/synchronous_compositor_impl.cc WebContents* contents, contents 283 content/browser/android/in_process/synchronous_compositor_impl.cc DCHECK(contents); contents 286 content/browser/android/in_process/synchronous_compositor_impl.cc SynchronousCompositorImpl::CreateForWebContents(contents); contents 289 content/browser/android/in_process/synchronous_compositor_impl.cc SynchronousCompositorImpl::FromWebContents(contents)) { contents 92 content/browser/android/in_process/synchronous_compositor_impl.h explicit SynchronousCompositorImpl(WebContents* contents); contents 780 content/browser/browser_plugin/browser_plugin_guest.cc void BrowserPluginGuest::LoadProgressChanged(WebContents* contents, contents 844 content/browser/browser_plugin/browser_plugin_guest.cc void BrowserPluginGuest::FindReply(WebContents* contents, contents 215 content/browser/browser_plugin/browser_plugin_guest.h virtual void FindReply(WebContents* contents, contents 140 content/browser/devtools/devtools_manager_unittest.cc EXPECT_FALSE(contents()->GetDelegate()); contents 142 content/browser/devtools/devtools_manager_unittest.cc contents()->SetDelegate(&delegate); contents 172 content/browser/devtools/devtools_manager_unittest.cc contents()->SetDelegate(NULL); contents 180 content/browser/devtools/devtools_manager_unittest.cc contents()->TestDidNavigate(rvh(), 1, url, PAGE_TRANSITION_TYPED); contents 181 content/browser/devtools/devtools_manager_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 192 content/browser/devtools/devtools_manager_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 199 content/browser/devtools/devtools_manager_unittest.cc contents()->TestDidNavigate(rvh(), 1, url, PAGE_TRANSITION_TYPED); contents 200 content/browser/devtools/devtools_manager_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 184 content/browser/download/save_file_manager.cc WebContentsImpl* contents = static_cast<WebContentsImpl*>( contents 186 content/browser/download/save_file_manager.cc if (!contents) contents 189 content/browser/download/save_file_manager.cc return contents->save_package(); contents 105 content/browser/download/save_package_unittest.cc save_package_success_ = new SavePackage(contents(), contents 116 content/browser/download/save_package_unittest.cc save_package_fail_ = new SavePackage(contents(), contents 401 content/browser/download/save_package_unittest.cc new SavePackage(contents(), base::FilePath(), base::FilePath())); contents 437 content/browser/download/save_package_unittest.cc EXPECT_EQ(view_source_url, contents()->GetLastCommittedURL()); contents 359 content/browser/frame_host/navigation_controller_impl_unittest.cc EXPECT_EQ(contents()->GetMaxPageID(), -1); contents 381 content/browser/frame_host/navigation_controller_impl_unittest.cc EXPECT_EQ(contents()->GetMaxPageID(), 0); contents 401 content/browser/frame_host/navigation_controller_impl_unittest.cc EXPECT_EQ(contents()->GetMaxPageID(), 0); contents 409 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->GetPendingRenderViewHost())->SendNavigate(1, url2); contents 422 content/browser/frame_host/navigation_controller_impl_unittest.cc EXPECT_EQ(contents()->GetMaxPageID(), 1); contents 741 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->GetPendingRenderViewHost())->SendNavigate(3, kNewURL); contents 820 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->GetPendingRenderViewHost()); contents 904 content/browser/frame_host/navigation_controller_impl_unittest.cc EXPECT_FALSE(contents()->GetDelegate()); contents 905 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->SetDelegate(delegate.get()); contents 931 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->SetDelegate(NULL); contents 944 content/browser/frame_host/navigation_controller_impl_unittest.cc EXPECT_FALSE(contents()->GetDelegate()); contents 945 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->SetDelegate(delegate.get()); contents 983 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->SetDelegate(NULL); contents 1003 content/browser/frame_host/navigation_controller_impl_unittest.cc EXPECT_FALSE(contents()->GetDelegate()); contents 1004 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->SetDelegate(delegate.get()); contents 1055 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->SetDelegate(NULL); contents 1095 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->GetRenderManagerForTesting()->OnCrossSiteResponse( contents 1096 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->GetRenderManagerForTesting()->pending_frame_host(), contents 1100 content/browser/frame_host/navigation_controller_impl_unittest.cc static_cast<TestRenderViewHost*>(contents()->GetPendingRenderViewHost()); contents 1114 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->GetRenderManagerForTesting()->OnCrossSiteResponse( contents 1115 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->GetRenderManagerForTesting()->pending_frame_host(), contents 2598 content/browser/frame_host/navigation_controller_impl_unittest.cc EXPECT_EQ(contents()->GetMaxPageID(), 1); contents 2748 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->GetFrameTree()->root()->navigator(); contents 2870 content/browser/frame_host/navigation_controller_impl_unittest.cc EXPECT_TRUE(contents()->GetTitle().empty()); contents 3121 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->CommitPendingNavigation(); contents 3184 content/browser/frame_host/navigation_controller_impl_unittest.cc EXPECT_EQ(1, contents()->GetMaxPageIDForSiteInstance(instance1)); contents 3232 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->CommitPendingNavigation(); contents 3349 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->CommitPendingNavigation(); contents 3540 content/browser/frame_host/navigation_controller_impl_unittest.cc EXPECT_EQ(1, contents()->GetMaxPageIDForSiteInstance(instance1)); contents 3636 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->CommitPendingNavigation(); contents 3639 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->OnGoToEntryAtOffset(-1); contents 3643 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->ProceedWithCrossSiteNavigation(); contents 3654 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->OnGoToEntryAtOffset(2); contents 3658 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->ProceedWithCrossSiteNavigation(); contents 3668 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->OnGoToEntryAtOffset(120); // Out of bounds. contents 3680 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->ExpectSetHistoryLengthAndPrune( contents 3702 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->CommitPendingNavigation(); contents 3704 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->ExpectSetHistoryLengthAndPrune( contents 3725 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->CommitPendingNavigation(); contents 3727 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->ExpectSetHistoryLengthAndPrune( contents 3754 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->ExpectSetHistoryLengthAndPrune( contents 3790 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->CommitPendingNavigation(); contents 3953 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->CommitPendingNavigation(); contents 3971 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->CommitPendingNavigation(); contents 4014 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->CommitPendingNavigation(); contents 4033 content/browser/frame_host/navigation_controller_impl_unittest.cc static_cast<TestRenderViewHost*>(contents()->GetPendingRenderViewHost())-> contents 4035 content/browser/frame_host/navigation_controller_impl_unittest.cc contents()->CommitPendingNavigation(); contents 924 content/browser/frame_host/render_frame_host_manager_browsertest.cc WebContents* contents = new_shell->web_contents(); contents 925 content/browser/frame_host/render_frame_host_manager_browsertest.cc EXPECT_TRUE(contents->GetController().IsInitialNavigation()); contents 927 content/browser/frame_host/render_frame_host_manager_browsertest.cc contents->GetController().GetVisibleEntry()->GetURL().path()); contents 932 content/browser/frame_host/render_frame_host_manager_browsertest.cc TitleWatcher title_watcher(contents, expected_title); contents 944 content/browser/frame_host/render_frame_host_manager_browsertest.cc EXPECT_FALSE(contents->GetController().GetVisibleEntry()); contents 977 content/browser/frame_host/render_frame_host_manager_browsertest.cc WebContents* contents = new_shell->web_contents(); contents 978 content/browser/frame_host/render_frame_host_manager_browsertest.cc EXPECT_FALSE(contents->GetController().IsInitialNavigation()); contents 979 content/browser/frame_host/render_frame_host_manager_browsertest.cc EXPECT_FALSE(contents->GetController().GetVisibleEntry()); contents 1004 content/browser/frame_host/render_frame_host_manager_browsertest.cc WebContents* contents = shell()->web_contents(); contents 1005 content/browser/frame_host/render_frame_host_manager_browsertest.cc EXPECT_EQ(5, contents->GetController().GetEntryCount()); contents 186 content/browser/frame_host/render_frame_host_manager_unittest.cc void StartCrossSiteTransition(TestWebContents* contents) { contents 188 content/browser/frame_host/render_frame_host_manager_unittest.cc contents->GetRenderManagerForTesting()->OnCrossSiteResponse( contents 189 content/browser/frame_host/render_frame_host_manager_unittest.cc contents->GetRenderManagerForTesting()->pending_frame_host(), contents 192 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_TRUE(contents->cross_navigation_pending()); contents 194 content/browser/frame_host/render_frame_host_manager_unittest.cc contents->GetRenderViewHost()); contents 214 content/browser/frame_host/render_frame_host_manager_unittest.cc int32 max_page_id = contents()->GetMaxPageIDForSiteInstance( contents 219 content/browser/frame_host/render_frame_host_manager_unittest.cc StartCrossSiteTransition(contents()); contents 253 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->GetRenderManagerForTesting()->current_host()); contents 256 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->GetController().LoadURL( contents 258 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 267 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->GetRenderManagerForTesting()->pending_render_view_host()); contents 363 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->GetRenderManagerForTesting()->current_host()); contents 368 content/browser/frame_host/render_frame_host_manager_unittest.cc PluginFaviconMessageObserver observer(contents()); contents 384 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->GetRenderViewHost()); contents 391 content/browser/frame_host/render_frame_host_manager_unittest.cc PluginFaviconMessageObserver observer(contents()); contents 402 content/browser/frame_host/render_frame_host_manager_unittest.cc PluginFaviconMessageObserver observer(contents()); contents 413 content/browser/frame_host/render_frame_host_manager_unittest.cc PluginFaviconMessageObserver observer(contents()); contents 530 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kUrl1); contents 541 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->SetOpener(opener1.get()); contents 551 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kUrl2); contents 564 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kUrl1); contents 608 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->GetRenderManagerForTesting()->current_host()); contents 625 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kUrl2); contents 653 content/browser/frame_host/render_frame_host_manager_unittest.cc int32 new_id = contents()->GetMaxPageIDForSiteInstance( contents 1081 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kUrl1); contents 1082 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kUrl2); contents 1083 content/browser/frame_host/render_frame_host_manager_unittest.cc RenderViewHost* evil_rvh = contents()->GetRenderViewHost(); contents 1086 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->OnGoToEntryAtOffset(-1); contents 1090 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_NE(evil_rvh, contents()->GetRenderManagerForTesting()-> contents 1107 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->GetFrameTree()->root()->navigator()->DidNavigate(rfh, params); contents 1111 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_TRUE(contents()->GetRenderManagerForTesting()-> contents 1113 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_EQ(evil_rvh, contents()->GetRenderManagerForTesting()->current_host()); contents 1116 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_TRUE(contents()->GetController().GetPendingEntry() == NULL); contents 1117 content/browser/frame_host/render_frame_host_manager_unittest.cc NavigationEntry* entry = contents()->GetController().GetVisibleEntry(); contents 1129 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kUrl1); contents 1137 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kUrl2); contents 1145 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->GetController().GoBack(); contents 1147 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->ProceedWithCrossSiteNavigation(); contents 1149 content/browser/frame_host/render_frame_host_manager_unittest.cc StartCrossSiteTransition(contents()); contents 1153 content/browser/frame_host/render_frame_host_manager_unittest.cc const NavigationEntry* entry1 = contents()->GetController().GetPendingEntry(); contents 1158 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->GetController().GoForward(); contents 1159 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->ProceedWithCrossSiteNavigation(); contents 1160 content/browser/frame_host/render_frame_host_manager_unittest.cc StartCrossSiteTransition(contents()); contents 1161 content/browser/frame_host/render_frame_host_manager_unittest.cc const NavigationEntry* entry2 = contents()->GetController().GetPendingEntry(); contents 1179 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kUrl1); contents 1180 content/browser/frame_host/render_frame_host_manager_unittest.cc RenderFrameHostManager* manager = contents()->GetRenderManagerForTesting(); contents 1189 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->SetOpener(opener1.get()); contents 1199 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kUrl2); contents 1223 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kChromeUrl); contents 1244 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kUrl1); contents 1252 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->SetOpener(opener1.get()); contents 1281 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->GetController().Reload(true); contents 1296 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kSettingsUrl); contents 1308 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->SetOpener(opener1.get()); contents 1312 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kPluginUrl); contents 1476 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kUrl1); contents 1486 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 1488 content/browser/frame_host/render_frame_host_manager_unittest.cc static_cast<TestRenderViewHost*>(contents()->GetPendingRenderViewHost()); contents 1494 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->GetRenderManagerForTesting()->OnCrossSiteResponse( contents 1495 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->GetRenderManagerForTesting()->pending_frame_host(), contents 1498 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 1507 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->TestDidNavigate(rvh2, 1, kUrl2, PAGE_TRANSITION_TYPED); contents 1508 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 1510 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_TRUE(contents()->GetPendingRenderViewHost() == NULL); contents 1526 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kUrl1); contents 1541 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 1543 content/browser/frame_host/render_frame_host_manager_unittest.cc static_cast<TestRenderViewHost*>(contents()->GetPendingRenderViewHost()); contents 1549 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->GetRenderManagerForTesting()->OnCrossSiteResponse( contents 1550 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->GetRenderManagerForTesting()->pending_frame_host(), contents 1553 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 1562 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->TestDidNavigate(rvh2, 1, kUrl2, PAGE_TRANSITION_TYPED); contents 1563 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 1565 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_TRUE(contents()->GetPendingRenderViewHost() == NULL); contents 1581 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kUrl1); contents 1591 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 1593 content/browser/frame_host/render_frame_host_manager_unittest.cc static_cast<TestRenderViewHost*>(contents()->GetPendingRenderViewHost()); contents 1599 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->GetRenderManagerForTesting()->OnCrossSiteResponse( contents 1600 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->GetRenderManagerForTesting()->pending_frame_host(), contents 1603 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 1608 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->TestDidNavigate(rvh2, 1, kUrl2, PAGE_TRANSITION_TYPED); contents 1609 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 1611 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_TRUE(contents()->GetPendingRenderViewHost() == NULL); contents 1631 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kUrl1); contents 1646 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 1648 content/browser/frame_host/render_frame_host_manager_unittest.cc static_cast<TestRenderViewHost*>(contents()->GetPendingRenderViewHost()); contents 1654 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->GetRenderManagerForTesting()->OnCrossSiteResponse( contents 1655 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->GetRenderManagerForTesting()->pending_frame_host(), contents 1658 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 1663 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->TestDidNavigate(rvh2, 1, kUrl2, PAGE_TRANSITION_TYPED); contents 1664 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 1666 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_TRUE(contents()->GetPendingRenderViewHost() == NULL); contents 1688 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->NavigateAndCommit(kUrl1); contents 1703 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 1705 content/browser/frame_host/render_frame_host_manager_unittest.cc static_cast<TestRenderViewHost*>(contents()->GetPendingRenderViewHost()); contents 1708 content/browser/frame_host/render_frame_host_manager_unittest.cc contents()->TestDidNavigate(rvh2, 1, kUrl2, PAGE_TRANSITION_TYPED); contents 1709 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 1711 content/browser/frame_host/render_frame_host_manager_unittest.cc EXPECT_TRUE(contents()->GetPendingRenderViewHost() == NULL); contents 1744 content/browser/loader/resource_dispatcher_host_impl.cc void ResourceDispatcherHostImpl::OnUserGesture(WebContentsImpl* contents) { contents 173 content/browser/loader/resource_dispatcher_host_impl.h void OnUserGesture(WebContentsImpl* contents); contents 2874 content/browser/loader/resource_dispatcher_host_unittest.cc std::string contents; contents 2876 content/browser/loader/resource_dispatcher_host_unittest.cc &contents)); contents 2877 content/browser/loader/resource_dispatcher_host_unittest.cc EXPECT_EQ(net::URLRequestTestJob::test_data_1(), contents); contents 497 content/browser/loader/resource_loader_unittest.cc std::string contents; contents 498 content/browser/loader/resource_loader_unittest.cc ASSERT_TRUE(base::ReadFileToString(temp_path(), &contents)); contents 499 content/browser/loader/resource_loader_unittest.cc EXPECT_EQ(test_data(), contents); contents 646 content/browser/loader/resource_loader_unittest.cc std::string contents; contents 647 content/browser/loader/resource_loader_unittest.cc ASSERT_TRUE(base::ReadFileToString(temp_path(), &contents)); contents 648 content/browser/loader/resource_loader_unittest.cc EXPECT_EQ(test_data(), contents); contents 101 content/browser/loader/temporary_file_stream_unittest.cc std::string contents; contents 102 content/browser/loader/temporary_file_stream_unittest.cc ASSERT_TRUE(base::ReadFileToString(file_path, &contents)); contents 103 content/browser/loader/temporary_file_stream_unittest.cc EXPECT_EQ(kTestData, contents); contents 704 content/browser/media/capture/web_contents_video_capture_device.cc WebContentsImpl* contents = static_cast<WebContentsImpl*>(web_contents()); contents 705 content/browser/media/capture/web_contents_video_capture_device.cc if (contents) { contents 706 content/browser/media/capture/web_contents_video_capture_device.cc contents->IncrementCapturerCount(oracle_proxy_->GetCaptureSize()); contents 707 content/browser/media/capture/web_contents_video_capture_device.cc fullscreen_widget_id_ = contents->GetFullscreenWidgetRoutingID(); contents 169 content/browser/net/sqlite_persistent_cookie_store_unittest.cc std::string contents; contents 171 content/browser/net/sqlite_persistent_cookie_store_unittest.cc &contents)) contents 173 content/browser/net/sqlite_persistent_cookie_store_unittest.cc return contents; contents 548 content/browser/net/sqlite_persistent_cookie_store_unittest.cc std::string contents = ReadRawDBContents(); contents 549 content/browser/net/sqlite_persistent_cookie_store_unittest.cc EXPECT_NE(0U, contents.length()); contents 550 content/browser/net/sqlite_persistent_cookie_store_unittest.cc EXPECT_NE(contents.find("value123XYZ"), std::string::npos); contents 602 content/browser/net/sqlite_persistent_cookie_store_unittest.cc contents = ReadRawDBContents(); contents 603 content/browser/net/sqlite_persistent_cookie_store_unittest.cc EXPECT_NE(0U, contents.length()); contents 604 content/browser/net/sqlite_persistent_cookie_store_unittest.cc EXPECT_EQ(contents.find("encrypted_value123XYZ"), std::string::npos); contents 605 content/browser/net/sqlite_persistent_cookie_store_unittest.cc EXPECT_EQ(contents.find("something456ABC"), std::string::npos); contents 226 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc ppapi::DirContents contents; contents 238 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc contents.push_back(entry); contents 241 content/browser/renderer_host/pepper/pepper_flash_file_message_filter.cc context->reply_msg = PpapiPluginMsg_FlashFile_GetDirContentsReply(contents); contents 100 content/browser/renderer_host/render_view_host_unittest.cc contents()->Stop(); contents 146 content/browser/renderer_host/render_view_host_unittest.cc TestWebContents* web_contents = contents(); contents 284 content/browser/renderer_host/render_view_host_unittest.cc contents()->GetFrameTree()->root()->current_frame_host(); contents 215 content/browser/ssl/ssl_manager.cc WebContentsImpl* contents = contents 217 content/browser/ssl/ssl_manager.cc policy()->UpdateEntry(entry, contents); contents 220 content/browser/ssl/ssl_manager.cc contents->DidChangeVisibleSSLState(); contents 69 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc contents()->NavigateAndCommit(first); contents 74 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc contents()->NavigateAndCommit(second); contents 97 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc overlay_.reset(new OverscrollNavigationOverlay(contents())); contents 158 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc contents()->TestSetIsLoading(false); contents 192 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc contents()->CommitPendingNavigation(); contents 204 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc contents()->TestSetIsLoading(false); contents 215 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc contents()->TestSetIsLoading(true); contents 216 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc contents()->TestSetIsLoading(false); contents 219 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc contents()->CommitPendingNavigation(); contents 220 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc contents()->TestSetIsLoading(true); contents 221 content/browser/web_contents/aura/overscroll_navigation_overlay_unittest.cc contents()->TestSetIsLoading(false); contents 819 content/browser/web_contents/web_contents_impl.cc WebContentsImpl* contents = static_cast<WebContentsImpl*>(web_contents); contents 820 content/browser/web_contents/web_contents_impl.cc max_page_ids_ = contents->max_page_ids_; contents 1526 content/browser/web_contents/web_contents_impl.cc WebContentsImpl* contents = GetCreatedWindow(route_id); contents 1527 content/browser/web_contents/web_contents_impl.cc if (contents) { contents 1531 content/browser/web_contents/web_contents_impl.cc this, contents, disposition, initial_pos, user_gesture, NULL); contents 161 content/browser/web_contents/web_contents_impl_browsertest.cc virtual void LoadingStateChanged(WebContents* contents, contents 114 content/browser/web_contents/web_contents_impl_unittest.cc TestInterstitialPage(WebContentsImpl* contents, contents 120 content/browser/web_contents/web_contents_impl_unittest.cc contents, contents 121 content/browser/web_contents/web_contents_impl_unittest.cc static_cast<RenderWidgetHostDelegate*>(contents), contents 270 content/browser/web_contents/web_contents_impl_unittest.cc explicit TestWebContentsObserver(WebContents* contents) contents 271 content/browser/web_contents/web_contents_impl_unittest.cc : WebContentsObserver(contents) { contents 333 content/browser/web_contents/web_contents_impl_unittest.cc contents()->UpdateTitle(rvh(), 0, contents 336 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(base::ASCIIToUTF16("Lots O' Whitespace"), contents()->GetTitle()); contents 343 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(base::string16(), contents()->GetTitle()); contents 356 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(title, contents()->GetTitle()); contents 380 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(base::ASCIIToUTF16(kUrl), contents()->GetTitle()); contents 385 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance1 = contents()->GetSiteInstance(); contents 389 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(-1, contents()->GetMaxPageID()); contents 390 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(-1, contents()->GetMaxPageIDForSiteInstance(instance1)); contents 391 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(-1, contents()->GetMaxPageIDForSiteInstance(instance2.get())); contents 394 content/browser/web_contents/web_contents_impl_unittest.cc contents()->UpdateMaxPageID(3); contents 395 content/browser/web_contents/web_contents_impl_unittest.cc contents()->UpdateMaxPageID(1); contents 396 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(3, contents()->GetMaxPageID()); contents 397 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(3, contents()->GetMaxPageIDForSiteInstance(instance1)); contents 398 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(-1, contents()->GetMaxPageIDForSiteInstance(instance2.get())); contents 400 content/browser/web_contents/web_contents_impl_unittest.cc contents()->UpdateMaxPageIDForSiteInstance(instance2.get(), 7); contents 401 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(3, contents()->GetMaxPageID()); contents 402 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(3, contents()->GetMaxPageIDForSiteInstance(instance1)); contents 403 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(7, contents()->GetMaxPageIDForSiteInstance(instance2.get())); contents 409 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance1 = contents()->GetSiteInstance(); contents 410 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetPendingRenderViewHost() == NULL); contents 416 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 425 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, url, PAGE_TRANSITION_TYPED); contents 426 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 427 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(orig_rvh, contents()->GetRenderViewHost()); contents 451 content/browser/web_contents/web_contents_impl_unittest.cc contents()->transition_cross_site = true; contents 454 content/browser/web_contents/web_contents_impl_unittest.cc contents()->GetFrameTree()->root()->current_frame_host(); contents 457 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance1 = contents()->GetSiteInstance(); contents 463 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, url, PAGE_TRANSITION_TYPED); contents 471 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 472 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(orig_rvh, contents()->GetRenderViewHost()); contents 473 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(url, contents()->GetLastCommittedURL()); contents 474 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(url, contents()->GetVisibleURL()); contents 480 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 481 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(url, contents()->GetLastCommittedURL()); contents 482 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(url2, contents()->GetVisibleURL()); contents 484 content/browser/web_contents/web_contents_impl_unittest.cc static_cast<TestRenderViewHost*>(contents()->GetPendingRenderViewHost()); contents 487 content/browser/web_contents/web_contents_impl_unittest.cc RenderFrameHostImpl* pending_rfh = contents()->GetFrameTree()->root()-> contents 496 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate( contents 498 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance2 = contents()->GetSiteInstance(); contents 506 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 507 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(pending_rvh, contents()->GetRenderViewHost()); contents 508 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(url2, contents()->GetLastCommittedURL()); contents 509 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(url2, contents()->GetVisibleURL()); contents 511 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetPendingRenderViewHost() == NULL); contents 513 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetRenderManagerForTesting()->IsOnSwappedOutList( contents 522 content/browser/web_contents/web_contents_impl_unittest.cc static_cast<TestRenderViewHost*>(contents()->GetPendingRenderViewHost()); contents 524 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 532 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate( contents 534 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 535 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(goback_rvh, contents()->GetRenderViewHost()); contents 536 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(instance1, contents()->GetSiteInstance()); contents 538 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetRenderManagerForTesting()-> contents 552 content/browser/web_contents/web_contents_impl_unittest.cc contents()->transition_cross_site = true; contents 556 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance1 = contents()->GetSiteInstance(); contents 562 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, url, PAGE_TRANSITION_TYPED); contents 564 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 565 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(orig_rvh, contents()->GetRenderViewHost()); contents 575 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 576 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetPendingRenderViewHost() == NULL); contents 581 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(new_rvh, 1, url2, PAGE_TRANSITION_TYPED); contents 582 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance2 = contents()->GetSiteInstance(); contents 584 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 587 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetPendingRenderViewHost() == NULL); contents 598 content/browser/web_contents/web_contents_impl_unittest.cc contents()->transition_cross_site = true; contents 600 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance1 = contents()->GetSiteInstance(); contents 606 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, url, PAGE_TRANSITION_TYPED); contents 626 content/browser/web_contents/web_contents_impl_unittest.cc static_cast<TestRenderViewHost*>(contents()->GetPendingRenderViewHost()); contents 627 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate( contents 629 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance2a = contents()->GetSiteInstance(); contents 661 content/browser/web_contents/web_contents_impl_unittest.cc contents()->transition_cross_site = true; contents 664 content/browser/web_contents/web_contents_impl_unittest.cc contents()->GetFrameTree()->root()->current_frame_host(); contents 668 content/browser/web_contents/web_contents_impl_unittest.cc static_cast<SiteInstanceImpl*>(contents()->GetSiteInstance()); contents 675 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, native_url, PAGE_TRANSITION_TYPED); contents 677 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 678 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(orig_rvh, contents()->GetRenderViewHost()); contents 679 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(native_url, contents()->GetLastCommittedURL()); contents 680 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(native_url, contents()->GetVisibleURL()); contents 681 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(orig_instance, contents()->GetSiteInstance()); contents 682 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(GURL(), contents()->GetSiteInstance()->GetSiteURL()); contents 690 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 691 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(native_url, contents()->GetLastCommittedURL()); contents 692 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(url, contents()->GetVisibleURL()); contents 693 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->GetPendingRenderViewHost()); contents 694 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, url, PAGE_TRANSITION_TYPED); contents 702 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(orig_instance, contents()->GetSiteInstance()); contents 704 content/browser/web_contents/web_contents_impl_unittest.cc contents()->GetSiteInstance()->GetSiteURL().DomainIs("google.com")); contents 705 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(url, contents()->GetLastCommittedURL()); contents 711 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 712 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(url, contents()->GetLastCommittedURL()); contents 713 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(url2, contents()->GetVisibleURL()); contents 715 content/browser/web_contents/web_contents_impl_unittest.cc static_cast<TestRenderViewHost*>(contents()->GetPendingRenderViewHost()); contents 725 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate( contents 727 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* new_instance = contents()->GetSiteInstance(); contents 729 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 730 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(pending_rvh, contents()->GetRenderViewHost()); contents 731 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(url2, contents()->GetLastCommittedURL()); contents 732 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(url2, contents()->GetVisibleURL()); contents 734 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->GetPendingRenderViewHost()); contents 736 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetRenderManagerForTesting()->IsOnSwappedOutList( contents 750 content/browser/web_contents/web_contents_impl_unittest.cc contents()->transition_cross_site = true; contents 757 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, url, PAGE_TRANSITION_TYPED); contents 765 content/browser/web_contents/web_contents_impl_unittest.cc static_cast<TestRenderViewHost*>(contents()->GetPendingRenderViewHost()); contents 770 content/browser/web_contents/web_contents_impl_unittest.cc int opener_routing_id = contents()->CreateOpenerRenderViews( contents 780 content/browser/web_contents/web_contents_impl_unittest.cc contents()->transition_cross_site = true; contents 782 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance1 = contents()->GetSiteInstance(); contents 788 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate( contents 811 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate( contents 813 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance3 = contents()->GetSiteInstance(); contents 815 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 822 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 823 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate( contents 825 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance4 = contents()->GetSiteInstance(); contents 832 content/browser/web_contents/web_contents_impl_unittest.cc contents()->transition_cross_site = true; contents 834 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance1 = contents()->GetSiteInstance(); contents 840 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, url, PAGE_TRANSITION_TYPED); contents 841 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 842 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(orig_rvh, contents()->GetRenderViewHost()); contents 853 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 854 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(orig_rvh, contents()->GetRenderViewHost()); contents 864 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 866 content/browser/web_contents/web_contents_impl_unittest.cc contents()->GetPendingRenderViewHost()); contents 871 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate( contents 873 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance2 = contents()->GetSiteInstance(); contents 874 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 877 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetPendingRenderViewHost() == NULL); contents 884 content/browser/web_contents/web_contents_impl_unittest.cc contents()->transition_cross_site = true; contents 886 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance1 = contents()->GetSiteInstance(); contents 892 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, url, PAGE_TRANSITION_TYPED); contents 893 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 894 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(orig_rvh, contents()->GetRenderViewHost()); contents 904 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 911 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance2 = contents()->GetSiteInstance(); contents 912 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 915 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetPendingRenderViewHost() == NULL); contents 919 content/browser/web_contents/web_contents_impl_unittest.cc contents()->transition_cross_site = true; contents 926 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(ntp_rvh, 1, url1, PAGE_TRANSITION_TYPED); contents 928 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance1 = contents()->GetSiteInstance(); contents 930 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 931 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(ntp_rvh, contents()->GetRenderViewHost()); contents 941 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 943 content/browser/web_contents/web_contents_impl_unittest.cc static_cast<TestRenderViewHost*>(contents()->GetPendingRenderViewHost()); contents 952 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate( contents 955 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance2 = contents()->GetSiteInstance(); contents 957 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 958 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(google_rvh, contents()->GetRenderViewHost()); contents 960 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->GetPendingRenderViewHost()); contents 970 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 971 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate( contents 974 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance3 = contents()->GetSiteInstance(); contents 976 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 977 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(google_rvh, contents()->GetRenderViewHost()); contents 979 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->GetPendingRenderViewHost()); contents 986 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 991 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 992 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetPendingRenderViewHost()); contents 1002 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(google_rvh, 1, url2, PAGE_TRANSITION_TYPED); contents 1005 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 1007 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(google_rvh, contents()->GetRenderViewHost()); contents 1023 content/browser/web_contents/web_contents_impl_unittest.cc contents()->transition_cross_site = true; contents 1030 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, url, PAGE_TRANSITION_TYPED); contents 1031 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 1032 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(orig_rvh, contents()->GetRenderViewHost()); contents 1051 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 1059 content/browser/web_contents/web_contents_impl_unittest.cc contents()->transition_cross_site = true; contents 1066 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 1073 content/browser/web_contents/web_contents_impl_unittest.cc static_cast<TestRenderViewHost*>(contents()->GetPendingRenderViewHost()); contents 1074 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 1081 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 1082 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(orig_rvh, contents()->GetRenderViewHost()); contents 1086 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(pending_rvh, 1, url2, PAGE_TRANSITION_TYPED); contents 1087 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 1088 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(pending_rvh, contents()->GetRenderViewHost()); contents 1096 content/browser/web_contents/web_contents_impl_unittest.cc contents()->transition_cross_site = true; contents 1098 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance1 = contents()->GetSiteInstance(); contents 1104 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, url, PAGE_TRANSITION_TYPED); contents 1105 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 1106 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(orig_rvh, contents()->GetRenderViewHost()); contents 1115 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 1117 content/browser/web_contents/web_contents_impl_unittest.cc contents()->GetPendingRenderViewHost()); contents 1123 content/browser/web_contents/web_contents_impl_unittest.cc contents()->GetRenderManagerForTesting()->OnCrossSiteResponse( contents 1124 content/browser/web_contents/web_contents_impl_unittest.cc contents()->GetRenderManagerForTesting()->pending_frame_host(), contents 1138 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 1139 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetPendingRenderViewHost() != NULL); contents 1142 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate( contents 1144 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance2 = contents()->GetSiteInstance(); contents 1145 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 1148 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetPendingRenderViewHost() == NULL); contents 1154 content/browser/web_contents/web_contents_impl_unittest.cc contents()->transition_cross_site = true; contents 1156 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance1 = contents()->GetSiteInstance(); contents 1162 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, url, PAGE_TRANSITION_TYPED); contents 1163 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 1164 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(orig_rvh, contents()->GetRenderViewHost()); contents 1173 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->cross_navigation_pending()); contents 1185 content/browser/web_contents/web_contents_impl_unittest.cc SiteInstance* instance2 = contents()->GetSiteInstance(); contents 1186 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 1190 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetPendingRenderViewHost() == NULL); contents 1205 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, url, PAGE_TRANSITION_TYPED); contents 1216 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 2, url2, PAGE_TRANSITION_TYPED); contents 1222 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, url, PAGE_TRANSITION_TYPED); contents 1236 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, url, PAGE_TRANSITION_TYPED); contents 1237 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, url, PAGE_TRANSITION_TYPED); contents 1253 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 1254 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(orig_rvh, contents()->GetRenderViewHost()); contents 1255 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, new_url, PAGE_TRANSITION_TYPED); contents 1266 content/browser/web_contents/web_contents_impl_unittest.cc contents()->SetDelegate(&fake_delegate); contents 1273 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, url, PAGE_TRANSITION_TYPED); contents 1274 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(orig_rvh, contents()->GetRenderViewHost()); contents 1278 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->IsFullscreenForCurrentTab()); contents 1279 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(fake_delegate.IsFullscreenForTabOrPending(contents())); contents 1283 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->IsFullscreenForCurrentTab()); contents 1284 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(fake_delegate.IsFullscreenForTabOrPending(contents())); contents 1290 content/browser/web_contents/web_contents_impl_unittest.cc RenderViewHost* const pending_rvh = contents()->GetPendingRenderViewHost(); contents 1291 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate( contents 1296 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->IsFullscreenForCurrentTab()); contents 1297 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(fake_delegate.IsFullscreenForTabOrPending(contents())); contents 1299 content/browser/web_contents/web_contents_impl_unittest.cc contents()->SetDelegate(NULL); contents 1306 content/browser/web_contents/web_contents_impl_unittest.cc contents()->SetDelegate(&fake_delegate); contents 1312 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 1, url, PAGE_TRANSITION_TYPED); contents 1313 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(orig_rvh, contents()->GetRenderViewHost()); contents 1318 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 1319 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(orig_rvh, 2, url2, PAGE_TRANSITION_TYPED); contents 1320 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(orig_rvh, contents()->GetRenderViewHost()); contents 1324 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->IsFullscreenForCurrentTab()); contents 1325 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(fake_delegate.IsFullscreenForTabOrPending(contents())); contents 1332 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->IsFullscreenForCurrentTab()); contents 1333 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(fake_delegate.IsFullscreenForTabOrPending(contents())); contents 1340 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->cross_navigation_pending()); contents 1341 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(orig_rvh, contents()->GetRenderViewHost()); contents 1342 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate( contents 1347 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->IsFullscreenForCurrentTab()); contents 1348 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(fake_delegate.IsFullscreenForTabOrPending(contents())); contents 1351 content/browser/web_contents/web_contents_impl_unittest.cc contents()->SetDelegate(NULL); contents 1358 content/browser/web_contents/web_contents_impl_unittest.cc contents()->SetDelegate(&fake_delegate); contents 1364 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(test_rvh(), 1, url, PAGE_TRANSITION_TYPED); contents 1365 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(test_rvh(), contents()->GetRenderViewHost()); contents 1369 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->IsFullscreenForCurrentTab()); contents 1370 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(fake_delegate.IsFullscreenForTabOrPending(contents())); contents 1374 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->IsFullscreenForCurrentTab()); contents 1375 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(fake_delegate.IsFullscreenForTabOrPending(contents())); contents 1384 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->IsFullscreenForCurrentTab()); contents 1385 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(fake_delegate.IsFullscreenForTabOrPending(contents())); contents 1387 content/browser/web_contents/web_contents_impl_unittest.cc contents()->SetDelegate(NULL); contents 1414 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, url2, &state, &deleted); contents 1419 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->ShowingInterstitialPage()); contents 1420 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == NULL); contents 1424 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->ShowingInterstitialPage()); contents 1425 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == interstitial); contents 1433 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->ShowingInterstitialPage()); contents 1434 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == NULL); contents 1461 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, url2, &state, &deleted); contents 1466 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->ShowingInterstitialPage()); contents 1467 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == NULL); contents 1471 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->ShowingInterstitialPage()); contents 1472 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == interstitial); contents 1480 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->ShowingInterstitialPage()); contents 1481 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == NULL); contents 1506 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), false, url2, &state, &deleted); contents 1511 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->ShowingInterstitialPage()); contents 1512 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == NULL); contents 1516 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->ShowingInterstitialPage()); contents 1517 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == interstitial); contents 1526 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->ShowingInterstitialPage()); contents 1527 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == NULL); contents 1557 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, url2, &state, &deleted); contents 1562 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->ShowingInterstitialPage()); contents 1563 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == NULL); contents 1567 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->ShowingInterstitialPage()); contents 1568 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == interstitial); contents 1579 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->ShowingInterstitialPage()); contents 1580 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == interstitial); contents 1587 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->ShowingInterstitialPage()); contents 1588 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == NULL); contents 1615 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, url2, &state, &deleted); contents 1620 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->ShowingInterstitialPage()); contents 1621 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == NULL); contents 1625 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->ShowingInterstitialPage()); contents 1626 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == interstitial); contents 1637 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->ShowingInterstitialPage()); contents 1638 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == interstitial); contents 1645 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->ShowingInterstitialPage()); contents 1646 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == NULL); contents 1672 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), false, url2, &state, &deleted); contents 1677 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->ShowingInterstitialPage()); contents 1678 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == NULL); contents 1682 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->ShowingInterstitialPage()); contents 1683 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == interstitial); contents 1694 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->ShowingInterstitialPage()); contents 1695 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == NULL); contents 1714 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, url, &state, &deleted); contents 1742 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, interstitial_url, contents 1777 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, interstitial_url, contents 1817 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, interstitial_url, contents 1839 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, url, &state, &deleted); contents 1861 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, url, &state, &deleted); contents 1896 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, url2, &state, &deleted); contents 1931 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, url1, &state1, &deleted1); contents 1942 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, url2, &state2, &deleted2); contents 1960 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->ShowingInterstitialPage()); contents 1961 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == NULL); contents 1984 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, url1, &state1, &deleted1); contents 2001 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, url2, &state2, &deleted2); contents 2019 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->ShowingInterstitialPage()); contents 2020 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->GetInterstitialPage() == NULL); contents 2036 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, interstitial_url, contents 2069 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, interstitial_url, contents 2080 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, interstitial_url, contents 2096 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(interstitial2, contents()->GetInterstitialPage()); contents 2107 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, url, &state, &deleted); contents 2120 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, url, &state, &deleted); contents 2140 content/browser/web_contents/web_contents_impl_unittest.cc contents()->GetController().LoadURL( contents 2148 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, kGURL, &state, &deleted); contents 2155 content/browser/web_contents/web_contents_impl_unittest.cc contents()->GetController().LoadURL( contents 2161 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, kGURL, &state2, &deleted2); contents 2167 content/browser/web_contents/web_contents_impl_unittest.cc NavigationEntry* entry = contents()->GetController().GetPendingEntry(); contents 2186 content/browser/web_contents/web_contents_impl_unittest.cc contents()->GetController().LoadURL( contents 2189 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidNavigate(rvh(), 1, kGURL, PAGE_TRANSITION_TYPED); contents 2196 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, kGURL, &state, &deleted); contents 2205 content/browser/web_contents/web_contents_impl_unittest.cc contents()->RunJavaScriptMessage(contents()->GetRenderViewHost(), contents 2231 content/browser/web_contents/web_contents_impl_unittest.cc new TestInterstitialPage(contents(), true, url2, &state, &deleted); contents 2265 content/browser/web_contents/web_contents_impl_unittest.cc contents()->NavigateAndCommit(url1); contents 2298 content/browser/web_contents/web_contents_impl_unittest.cc TestWebContentsObserver observer(contents()); contents 2308 content/browser/web_contents/web_contents_impl_unittest.cc contents()->NavigateAndCommit(url_normalized); contents 2311 content/browser/web_contents/web_contents_impl_unittest.cc contents()->TestDidFinishLoad(url_from_ipc); contents 2332 content/browser/web_contents/web_contents_impl_unittest.cc contents()->AddPendingContents(other_contents.get()); contents 2335 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(NULL, contents()->GetCreatedWindow(route_id)); contents 2340 content/browser/web_contents/web_contents_impl_unittest.cc contents()->UpdatePreferredSize(original_preferred_size); contents 2344 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(contents()->GetCapturerCount(), 0); contents 2345 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(original_preferred_size, contents()->GetPreferredSize()); contents 2349 content/browser/web_contents/web_contents_impl_unittest.cc contents()->IncrementCapturerCount(gfx::Size()); contents 2350 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(1, contents()->GetCapturerCount()); contents 2351 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(gfx::Size(), contents()->GetPreferredSize()); contents 2356 content/browser/web_contents/web_contents_impl_unittest.cc contents()->IncrementCapturerCount(capture_size); contents 2357 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(2, contents()->GetCapturerCount()); contents 2358 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(capture_size, contents()->GetPreferredSize()); contents 2363 content/browser/web_contents/web_contents_impl_unittest.cc contents()->IncrementCapturerCount(another_capture_size); contents 2364 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(3, contents()->GetCapturerCount()); contents 2365 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(capture_size, contents()->GetPreferredSize()); contents 2369 content/browser/web_contents/web_contents_impl_unittest.cc contents()->DecrementCapturerCount(); contents 2370 content/browser/web_contents/web_contents_impl_unittest.cc contents()->DecrementCapturerCount(); contents 2371 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(1, contents()->GetCapturerCount()); contents 2372 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(capture_size, contents()->GetPreferredSize()); contents 2376 content/browser/web_contents/web_contents_impl_unittest.cc contents()->DecrementCapturerCount(); contents 2377 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(0, contents()->GetCapturerCount()); contents 2378 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_EQ(original_preferred_size, contents()->GetPreferredSize()); contents 2385 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->GetLastActiveTime().is_null()); contents 2388 content/browser/web_contents/web_contents_impl_unittest.cc contents()->last_active_time_ = base::TimeTicks(); contents 2389 content/browser/web_contents/web_contents_impl_unittest.cc ASSERT_TRUE(contents()->GetLastActiveTime().is_null()); contents 2392 content/browser/web_contents/web_contents_impl_unittest.cc contents()->WasShown(); contents 2393 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->GetLastActiveTime().is_null()); contents 2432 content/browser/web_contents/web_contents_impl_unittest.cc contents()->SetDelegate(delegate.get()); contents 2439 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->HandleWheelEvent(event)); contents 2444 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->HandleWheelEvent(event)); contents 2451 content/browser/web_contents/web_contents_impl_unittest.cc bool handled = contents()->HandleWheelEvent(event); contents 2465 content/browser/web_contents/web_contents_impl_unittest.cc handled = contents()->HandleWheelEvent(event); contents 2478 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->HandleWheelEvent(event)); contents 2482 content/browser/web_contents/web_contents_impl_unittest.cc contents()->SetDelegate(NULL); contents 2492 content/browser/web_contents/web_contents_impl_unittest.cc contents()->SetDelegate(delegate.get()); contents 2500 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->HandleGestureEvent(event)); contents 2504 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->HandleGestureEvent(event)); contents 2510 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->HandleGestureEvent(event)); contents 2515 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->HandleGestureEvent(event)); contents 2519 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_TRUE(contents()->HandleGestureEvent(event)); contents 2528 content/browser/web_contents/web_contents_impl_unittest.cc EXPECT_FALSE(contents()->HandleGestureEvent(event)); contents 2532 content/browser/web_contents/web_contents_impl_unittest.cc contents()->SetDelegate(NULL); contents 20 content/browser/web_contents/web_contents_user_data_unittest.cc explicit WebContentsAttachedClass1(WebContents* contents) {} contents 29 content/browser/web_contents/web_contents_user_data_unittest.cc explicit WebContentsAttachedClass2(WebContents* contents) {} contents 39 content/browser/web_contents/web_contents_user_data_unittest.cc WebContents* contents = web_contents(); contents 41 content/browser/web_contents/web_contents_user_data_unittest.cc WebContentsAttachedClass1::FromWebContents(contents); contents 44 content/browser/web_contents/web_contents_user_data_unittest.cc WebContentsAttachedClass2::FromWebContents(contents); contents 47 content/browser/web_contents/web_contents_user_data_unittest.cc WebContentsAttachedClass1::CreateForWebContents(contents); contents 48 content/browser/web_contents/web_contents_user_data_unittest.cc class1 = WebContentsAttachedClass1::FromWebContents(contents); contents 50 content/browser/web_contents/web_contents_user_data_unittest.cc class2 = WebContentsAttachedClass2::FromWebContents(contents); contents 53 content/browser/web_contents/web_contents_user_data_unittest.cc WebContentsAttachedClass2::CreateForWebContents(contents); contents 55 content/browser/web_contents/web_contents_user_data_unittest.cc WebContentsAttachedClass1::FromWebContents(contents); contents 57 content/browser/web_contents/web_contents_user_data_unittest.cc class2 = WebContentsAttachedClass2::FromWebContents(contents); contents 92 content/browser/web_contents/web_contents_user_data_unittest.cc WebContents* contents = web_contents(); contents 94 content/browser/web_contents/web_contents_user_data_unittest.cc WebContentsAttachedClass1::FromWebContents(contents); contents 97 content/browser/web_contents/web_contents_user_data_unittest.cc WebContentsAttachedClass1::CreateForWebContents(contents); contents 98 content/browser/web_contents/web_contents_user_data_unittest.cc clazz = WebContentsAttachedClass1::FromWebContents(contents); contents 101 content/browser/web_contents/web_contents_user_data_unittest.cc WebContentsAttachedClass1::CreateForWebContents(contents); contents 103 content/browser/web_contents/web_contents_user_data_unittest.cc WebContentsAttachedClass1::FromWebContents(contents); contents 179 content/browser/web_contents/web_contents_view_aura.cc WebDragSourceAura(aura::Window* window, WebContentsImpl* contents) contents 181 content/browser/web_contents/web_contents_view_aura.cc contents_(contents) { contents 184 content/browser/web_contents/web_contents_view_aura.cc Source<WebContents>(contents)); contents 97 content/browser/web_contents/web_contents_view_aura_browsertest.cc explicit NavigationWatcher(WebContents* contents) contents 98 content/browser/web_contents/web_contents_view_aura_browsertest.cc : WebContentsObserver(contents), contents 51 content/browser/web_contents/web_drag_dest_mac.h - (id)initWithWebContentsImpl:(content::WebContentsImpl*)contents; contents 58 content/browser/web_contents/web_drag_source_mac.h - (id)initWithContents:(content::WebContentsImpl*)contents contents 46 content/browser/webui/web_ui_impl.cc WebUIImpl::WebUIImpl(WebContents* contents) contents 49 content/browser/webui/web_ui_impl.cc web_contents_(contents) { contents 50 content/browser/webui/web_ui_impl.cc DCHECK(contents); contents 25 content/browser/webui/web_ui_impl.h explicit WebUIImpl(WebContents* contents); contents 57 content/browser/webui/web_ui_mojo_browsertest.cc std::string contents; contents 58 content/browser/webui/web_ui_mojo_browsertest.cc CHECK(base::ReadFileToString(GetFilePathForJSResource(id), &contents, contents 61 content/browser/webui/web_ui_mojo_browsertest.cc ref_contents->data() = contents; contents 53 content/public/android/javatests/src/org/chromium/content/browser/GestureDetectorResetTest.java String contents = DOMUtils.getNodeContents(mView, mViewClient, mNodeId); contents 54 content/public/android/javatests/src/org/chromium/content/browser/GestureDetectorResetTest.java return mExpectedContents.equals(contents); contents 28 content/public/browser/android/external_video_surface_container.h static void CreateForWebContents(WebContents* contents); contents 32 content/public/browser/android/external_video_surface_container.h static ExternalVideoSurfaceContainer* FromWebContents(WebContents* contents); contents 47 content/public/browser/android/synchronous_compositor.h static void SetClientForWebContents(WebContents* contents, contents 106 content/public/browser/web_contents_delegate.h virtual void ActivateContents(WebContents* contents) {} contents 110 content/public/browser/web_contents_delegate.h virtual void DeactivateContents(WebContents* contents) {} contents 219 content/public/browser/web_contents_delegate.h virtual void WebContentsFocused(WebContents* contents) {} contents 67 content/public/browser/web_contents_observer.cc WebContentsImpl* contents = web_contents_; contents 69 content/public/browser/web_contents_observer.cc WebContentsDestroyed(contents); contents 35 content/public/browser/web_contents_user_data.h static void CreateForWebContents(WebContents* contents) { contents 36 content/public/browser/web_contents_user_data.h DCHECK(contents); contents 37 content/public/browser/web_contents_user_data.h if (!FromWebContents(contents)) contents 38 content/public/browser/web_contents_user_data.h contents->SetUserData(UserDataKey(), new T(contents)); contents 44 content/public/browser/web_contents_user_data.h static T* FromWebContents(WebContents* contents) { contents 45 content/public/browser/web_contents_user_data.h DCHECK(contents); contents 46 content/public/browser/web_contents_user_data.h return static_cast<T*>(contents->GetUserData(UserDataKey())); contents 48 content/public/browser/web_contents_user_data.h static const T* FromWebContents(const WebContents* contents) { contents 49 content/public/browser/web_contents_user_data.h DCHECK(contents); contents 50 content/public/browser/web_contents_user_data.h return static_cast<const T*>(contents->GetUserData(UserDataKey())); contents 30 content/public/browser/web_drag_dest_delegate.h virtual void DragInitialize(WebContents* contents) = 0; contents 124 content/public/test/test_renderer_host.cc void RenderViewHostTestHarness::SetContents(WebContents* contents) { contents 125 content/public/test/test_renderer_host.cc contents_.reset(contents); contents 145 content/public/test/test_renderer_host.h void SetContents(WebContents* contents); contents 19 content/public/test/web_contents_tester.cc WebContentsTester* WebContentsTester::For(WebContents* contents) { contents 20 content/public/test/web_contents_tester.cc return static_cast<TestWebContents*>(contents); contents 51 content/public/test/web_contents_tester.h static WebContentsTester* For(WebContents* contents); contents 242 content/renderer/dom_serializer_browsertest.cc void LoadContents(const std::string& contents, contents 250 content/renderer/dom_serializer_browsertest.cc GetMainFrame()->loadHTMLString(contents, base_url); contents 252 content/renderer/dom_serializer_browsertest.cc WebData data(contents.data(), contents.length()); contents 339 content/shell/browser/shell.cc void Shell::ActivateContents(WebContents* contents) { contents 340 content/shell/browser/shell.cc contents->GetRenderViewHost()->Focus(); contents 343 content/shell/browser/shell.cc void Shell::DeactivateContents(WebContents* contents) { contents 344 content/shell/browser/shell.cc contents->GetRenderViewHost()->Blur(); contents 357 content/shell/browser/shell.cc void Shell::WebContentsFocused(WebContents* contents) { contents 359 content/shell/browser/shell.cc PlatformWebContentsFocused(contents); contents 151 content/shell/browser/shell.h virtual void ActivateContents(WebContents* contents) OVERRIDE; contents 152 content/shell/browser/shell.h virtual void DeactivateContents(WebContents* contents) OVERRIDE; contents 156 content/shell/browser/shell.h virtual void WebContentsFocused(WebContents* contents) OVERRIDE; contents 209 content/shell/browser/shell.h void PlatformWebContentsFocused(WebContents* contents); contents 63 content/shell/browser/shell_message_filter.cc std::string* contents) { contents 65 content/shell/browser/shell_message_filter.cc base::ReadFileToString(local_file, contents); contents 46 content/shell/browser/shell_message_filter.h std::string* contents); contents 562 content/shell/browser/shell_views.cc void Shell::PlatformWebContentsFocused(WebContents* contents) { contents 567 content/shell/browser/shell_views.cc delegate_view->OnWebContentsFocused(contents); contents 315 content/shell/renderer/webkit_test_runner.cc std::string contents; contents 317 content/shell/renderer/webkit_test_runner.cc routing_id(), local_path, &contents)); contents 320 content/shell/renderer/webkit_test_runner.cc base::Base64Encode(contents, &contents_base64); contents 42 content/test/image_decoder_test.cc void ReadFileToVector(const base::FilePath& path, std::vector<char>* contents) { contents 45 content/test/image_decoder_test.cc contents->resize(raw_image_data.size()); contents 46 content/test/image_decoder_test.cc memcpy(&contents->front(), raw_image_data.data(), raw_image_data.size()); contents 384 content/test/test_render_view_host.h TestWebContents* contents(); contents 112 content/test/test_web_contents.cc WebContentsImpl* contents = contents 114 content/test/test_web_contents.cc contents->GetController().CopyStateFrom(controller_); contents 115 content/test/test_web_contents.cc return contents; contents 182 content/test/test_web_contents.cc void TestWebContents::AddPendingContents(TestWebContents* contents) { contents 184 content/test/test_web_contents.cc pending_contents_[contents->GetRenderViewHost()->GetRoutingID()] = contents; contents 185 content/test/test_web_contents.cc AddDestructionObserver(contents); contents 82 content/test/test_web_contents.h void AddPendingContents(TestWebContents* contents); contents 195 crypto/openpgp_symmetric_encryption.cc base::StringPiece contents; contents 198 crypto/openpgp_symmetric_encryption.cc if (!ParsePacket(&reader, &tag, &contents)) contents 202 crypto/openpgp_symmetric_encryption.cc Reader inner(contents); contents 208 crypto/openpgp_symmetric_encryption.cc if (!ParsePacket(&reader, &tag, &contents)) contents 214 crypto/openpgp_symmetric_encryption.cc inner = Reader(contents); contents 215 crypto/openpgp_symmetric_encryption.cc if (!ParseSymmetricallyEncrypted(&inner, &decryption_context, &contents)) contents 218 crypto/openpgp_symmetric_encryption.cc reader = Reader(contents); contents 219 crypto/openpgp_symmetric_encryption.cc if (!ParsePacket(&reader, &tag, &contents)) contents 225 crypto/openpgp_symmetric_encryption.cc inner = Reader(contents); contents 633 crypto/openpgp_symmetric_encryption.cc static ByteString MakePacket(unsigned tag, const ByteString& contents) { contents 637 crypto/openpgp_symmetric_encryption.cc if (contents.size() < 192) { contents 638 crypto/openpgp_symmetric_encryption.cc header.push_back(contents.size()); contents 639 crypto/openpgp_symmetric_encryption.cc } else if (contents.size() < 8384) { contents 640 crypto/openpgp_symmetric_encryption.cc size_t length = contents.size(); contents 645 crypto/openpgp_symmetric_encryption.cc size_t length = contents.size(); contents 653 crypto/openpgp_symmetric_encryption.cc return header + contents; contents 659 crypto/openpgp_symmetric_encryption.cc static ByteString SerializeLiteralData(base::StringPiece contents) { contents 667 crypto/openpgp_symmetric_encryption.cc literal_data += ByteString(reinterpret_cast<const uint8*>(contents.data()), contents 668 crypto/openpgp_symmetric_encryption.cc contents.size()); contents 322 extensions/browser/extension_host.cc void ExtensionHost::CloseContents(WebContents* contents) { contents 99 extensions/browser/extension_host.h virtual void CloseContents(content::WebContents* contents) OVERRIDE; contents 79 extensions/browser/file_highlighter.cc FileHighlighter::FileHighlighter(const std::string& contents) contents 80 extensions/browser/file_highlighter.cc : contents_(contents), start_(0u), end_(contents_.size()) { contents 196 extensions/browser/file_highlighter.cc SourceHighlighter::SourceHighlighter(const std::string& contents, contents 198 extensions/browser/file_highlighter.cc : FileHighlighter(contents) { contents 44 extensions/browser/file_highlighter.h FileHighlighter(const std::string& contents); contents 704 extensions/browser/process_manager.cc WebContents* contents = content::Source<WebContents>(source).ptr(); contents 705 extensions/browser/process_manager.cc if (contents->GetBrowserContext() != GetBrowserContext()) contents 717 extensions/browser/process_manager.cc RenderViewHostDestructionObserver::CreateForWebContents(contents); contents 723 extensions/browser/process_manager.cc WebContents* contents = content::Source<WebContents>(source).ptr(); contents 724 extensions/browser/process_manager.cc if (contents->GetBrowserContext() != GetBrowserContext()) contents 727 extensions/browser/process_manager.cc contents->GetRenderViewHost()); contents 736 extensions/browser/process_manager.cc content::Details<RenderViewHost>(contents->GetRenderViewHost())); contents 103 gin/array_buffer.cc v8::ArrayBuffer::Contents contents = array->Externalize(); contents 104 gin/array_buffer.cc buffer_ = contents.Data(); contents 105 gin/array_buffer.cc length_ = contents.ByteLength(); contents 91 google_apis/drive/base_requests_server_unittest.cc std::string contents; contents 92 google_apis/drive/base_requests_server_unittest.cc base::ReadFileToString(temp_file, &contents); contents 103 google_apis/drive/base_requests_server_unittest.cc EXPECT_EQ(expected_contents, contents); contents 1734 google_apis/drive/drive_api_requests_unittest.cc std::string contents; contents 1735 google_apis/drive/drive_api_requests_unittest.cc base::ReadFileToString(temp_file, &contents); contents 1744 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(expected_contents, contents); contents 1754 google_apis/drive/drive_api_requests_unittest.cc std::string contents; contents 1765 google_apis/drive/drive_api_requests_unittest.cc base::Bind(&AppendContent, &contents), contents 1779 google_apis/drive/drive_api_requests_unittest.cc EXPECT_EQ(expected_contents, contents); contents 50 gpu/config/gpu_info_collector_x11.cc std::string contents; contents 51 gpu/config/gpu_info_collector_x11.cc if (!base::ReadFileToString(ati_file_path, &contents)) contents 53 gpu/config/gpu_info_collector_x11.cc base::StringTokenizer t(contents, "\r\n"); contents 457 gpu/tools/compositor_model_bench/render_tree.cc string contents; contents 458 gpu/tools/compositor_model_bench/render_tree.cc if (!ReadFileToString(path, &contents)) contents 464 gpu/tools/compositor_model_bench/render_tree.cc root.reset(JSONReader::ReadAndReturnError(contents, contents 34 ipc/ipc_channel_nacl.cc bool ReadDataOnReaderThread(int pipe, MessageContents* contents) { contents 39 ipc/ipc_channel_nacl.cc contents->data.resize(Channel::kReadBufferSize); contents 40 ipc/ipc_channel_nacl.cc contents->fds.resize(FileDescriptorSet::kMaxDescriptorsPerMessage); contents 42 ipc/ipc_channel_nacl.cc NaClAbiNaClImcMsgIoVec iov = { &contents->data[0], contents->data.size() }; contents 44 ipc/ipc_channel_nacl.cc &iov, 1, &contents->fds[0], contents->fds.size() contents 52 ipc/ipc_channel_nacl.cc contents->data.clear(); contents 53 ipc/ipc_channel_nacl.cc contents->fds.clear(); contents 58 ipc/ipc_channel_nacl.cc contents->data.resize(bytes_read); contents 59 ipc/ipc_channel_nacl.cc contents->fds.resize(msg.desc_length); contents 215 ipc/ipc_channel_nacl.cc void Channel::ChannelImpl::DidRecvMsg(scoped_ptr<MessageContents> contents) { contents 222 ipc/ipc_channel_nacl.cc data->swap(contents->data); contents 226 ipc/ipc_channel_nacl.cc contents->fds.begin(), contents->fds.end()); contents 227 ipc/ipc_channel_nacl.cc contents->fds.clear(); contents 49 ipc/ipc_channel_nacl.h void DidRecvMsg(scoped_ptr<MessageContents> contents); contents 77 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc const std::vector<uint8_t>& contents) contents 78 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc : info_(info), contents_(contents) {} contents 81 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc const std::string& contents) contents 83 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc std::copy(contents.begin(), contents.end(), std::back_inserter(contents_)); contents 160 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc const std::string& contents, contents 163 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc std::copy(contents.begin(), contents.end(), std::back_inserter(data)); contents 168 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc const std::vector<uint8_t>& contents, contents 178 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc info.size = contents.size(); contents 185 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc FakeHtml5FsNode node(info, contents); contents 651 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc const std::vector<uint8_t> contents = node->contents(); contents 652 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc EXPECT_TRUE(filesystem->AddFile(newpath, contents, NULL)); contents 38 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h const std::vector<uint8_t>& contents); contents 39 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h FakeHtml5FsNode(const PP_FileInfo& info, const std::string& contents); contents 55 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h const std::vector<uint8_t>& contents() const { return contents_; } contents 80 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h const std::string& contents, contents 83 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h const std::vector<uint8_t>& contents, contents 216 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc char contents[] = "contents"; contents 218 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(0, node->Write(HandleAttr(), &contents[0], strlen(contents), contents 220 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(strlen(contents), bytes_written); contents 228 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(strlen(contents), size); contents 245 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc const char contents[] = "contents"; contents 247 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ppapi_html5_.filesystem_template()->AddFile("/file", contents, NULL)); contents 259 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ASSERT_EQ(strlen(contents), bytes_read); contents 260 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ASSERT_STREQ(contents, buffer); contents 270 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ASSERT_EQ(strlen(contents) - 4, bytes_read); contents 287 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc const char contents[] = "contents"; contents 289 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ppapi_html5_.filesystem_template()->AddFile("/file", contents, NULL)); contents 328 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc const char contents[] = "contents"; contents 333 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc "/file", contents, &fake_node)); contents 356 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(strlen(contents), statbuf.st_size); contents 364 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc EXPECT_EQ(strlen(contents), size); contents 389 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc const char contents[] = "contents"; contents 391 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ppapi_html5_.filesystem_template()->AddFile("/file", contents, NULL)); contents 424 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc const char contents[] = "contents"; contents 426 native_client_sdk/src/tests/nacl_io_test/html5_fs_test.cc ppapi_html5_.filesystem_template()->AddFile("/file", contents, NULL)); contents 93 native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc const char contents[] = "0123456789abcdefg"; contents 94 native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc ASSERT_TRUE(ppapi_.server_template()->AddEntity("file", contents, NULL)); contents 123 native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc const char contents[] = "0123456789abcdefg"; contents 124 native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc ASSERT_TRUE(ppapi_.server_template()->AddEntity("file", contents, NULL)); contents 153 native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc const char contents[] = "contents"; contents 154 native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc ASSERT_TRUE(ppapi_.server_template()->AddEntity("file", contents, NULL)); contents 168 native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc const char contents[] = "contents"; contents 169 native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc ASSERT_TRUE(ppapi_.server_template()->AddEntity("file", contents, NULL)); contents 178 native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc EXPECT_EQ(strlen(contents), statbuf.st_size); contents 186 native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc const char contents[] = "contents"; contents 187 native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc ASSERT_TRUE(ppapi_.server_template()->AddEntity("file", contents, NULL)); contents 217 net/cert/crl_set.cc std::string contents; contents 218 net/cert/crl_set.cc if (!header_dict->GetString("ContentType", &contents)) contents 220 net/cert/crl_set.cc if (contents != "CRLSet") contents 351 net/cert/crl_set.cc std::string contents; contents 352 net/cert/crl_set.cc if (!header_dict->GetString("ContentType", &contents)) contents 354 net/cert/crl_set.cc if (contents != "CRLSetDelta") contents 446 net/cert/crl_set.cc std::string contents; contents 447 net/cert/crl_set.cc if (!header_dict->GetString("ContentType", &contents)) contents 450 net/cert/crl_set.cc if (contents == "CRLSet") { contents 452 net/cert/crl_set.cc } else if (contents == "CRLSetDelta") { contents 191 net/cert/ct_objects_extractor_nss.cc SECItem contents; contents 194 net/cert/ct_objects_extractor_nss.cc SECStatus rv = SEC_QuickDERDecodeItem(arena, &contents, contents 200 net/cert/ct_objects_extractor_nss.cc base::StringPiece parsed_data(reinterpret_cast<char*>(contents.data), contents 201 net/cert/ct_objects_extractor_nss.cc contents.len); contents 2197 net/disk_cache/backend_unittest.cc entry_impl->rankings()->Data()->contents = 0; contents 717 net/disk_cache/blockfile/backend_impl.cc Addr address(rankings->Data()->contents); contents 829 net/disk_cache/blockfile/backend_impl.cc open_entries_.find(rankings->Data()->contents); contents 1722 net/disk_cache/blockfile/backend_impl.cc int rv = NewEntry(Addr(next->Data()->contents), &entry); contents 181 net/disk_cache/blockfile/backend_impl_v3.cc open_entries_.find(rankings->Data()->contents); contents 143 net/disk_cache/blockfile/disk_format.h CacheAddr contents; // Address of the EntryStore. contents 417 net/disk_cache/blockfile/entry_impl.cc node->contents = entry_.address().value(); contents 565 net/disk_cache/blockfile/entry_impl.cc return !node_.Data()->contents; contents 272 net/disk_cache/blockfile/entry_impl_v3.cc node->contents = entry_.address().value(); contents 548 net/disk_cache/blockfile/rankings.cc if (!data->contents) contents 559 net/disk_cache/blockfile/rankings.cc node->Data()->contents = address; contents 329 net/disk_cache/simple/simple_index_file_unittest.cc std::string contents; contents 330 net/disk_cache/simple/simple_index_file_unittest.cc EXPECT_TRUE(base::ReadFileToString(index_file_path, &contents)); contents 333 net/disk_cache/simple/simple_index_file_unittest.cc WrappedSimpleIndexFile::Deserialize(contents.data(), contents 334 net/disk_cache/simple/simple_index_file_unittest.cc contents.size(), contents 108 net/dns/dns_hosts.cc void ParseHosts(const std::string& contents, DnsHosts* dns_hosts) { contents 115 net/dns/dns_hosts.cc HostsParser parser(contents); contents 160 net/dns/dns_hosts.cc std::string contents; contents 161 net/dns/dns_hosts.cc if (!base::ReadFileToString(path, &contents)) contents 164 net/dns/dns_hosts.cc ParseHosts(contents, dns_hosts); contents 67 net/dns/dns_hosts.h void NET_EXPORT_PRIVATE ParseHosts(const std::string& contents, contents 14 net/dns/dns_hosts_unittest.cc std::string contents = contents 63 net/dns/dns_hosts_unittest.cc ParseHosts(contents, &hosts); contents 84 net/http/http_network_layer_unittest.cc std::string contents; contents 85 net/http/http_network_layer_unittest.cc rv = ReadTransaction(trans.get(), &contents); contents 87 net/http/http_network_layer_unittest.cc EXPECT_EQ(content, contents); contents 339 net/http/http_network_layer_unittest.cc std::string contents; contents 340 net/http/http_network_layer_unittest.cc rv = ReadTransaction(trans.get(), &contents); contents 342 net/http/http_network_layer_unittest.cc EXPECT_EQ("hello world", contents); contents 551 net/http/http_network_layer_unittest.cc std::string contents; contents 552 net/http/http_network_layer_unittest.cc rv = ReadTransaction(trans.get(), &contents); contents 557 net/http/http_network_layer_unittest.cc EXPECT_EQ("content", contents); contents 605 net/http/http_network_layer_unittest.cc std::string contents; contents 606 net/http/http_network_layer_unittest.cc rv = ReadTransaction(trans.get(), &contents); contents 608 net/http/http_network_layer_unittest.cc EXPECT_EQ("Bypass message", contents); contents 156 net/quic/quic_packet_generator_test.cc void CheckPacketContains(const PacketContents& contents, contents 158 net/quic/quic_packet_generator_test.cc size_t num_retransmittable_frames = contents.num_connection_close_frames + contents 159 net/quic/quic_packet_generator_test.cc contents.num_goaway_frames + contents.num_rst_stream_frames + contents 160 net/quic/quic_packet_generator_test.cc contents.num_stream_frames; contents 161 net/quic/quic_packet_generator_test.cc size_t num_frames = contents.num_feedback_frames + contents.num_ack_frames + contents 162 net/quic/quic_packet_generator_test.cc contents.num_stop_waiting_frames + num_retransmittable_frames; contents 175 net/quic/quic_packet_generator_test.cc EXPECT_EQ(contents.num_ack_frames, simple_framer_.ack_frames().size()); contents 176 net/quic/quic_packet_generator_test.cc EXPECT_EQ(contents.num_connection_close_frames, contents 178 net/quic/quic_packet_generator_test.cc EXPECT_EQ(contents.num_feedback_frames, contents 180 net/quic/quic_packet_generator_test.cc EXPECT_EQ(contents.num_goaway_frames, contents 182 net/quic/quic_packet_generator_test.cc EXPECT_EQ(contents.num_rst_stream_frames, contents 184 net/quic/quic_packet_generator_test.cc EXPECT_EQ(contents.num_stream_frames, contents 186 net/quic/quic_packet_generator_test.cc EXPECT_EQ(contents.num_stop_waiting_frames, contents 188 net/quic/quic_packet_generator_test.cc EXPECT_EQ(contents.fec_group, simple_framer_.header().fec_group); contents 270 net/quic/quic_packet_generator_test.cc PacketContents contents; contents 271 net/quic/quic_packet_generator_test.cc contents.num_ack_frames = 1; contents 272 net/quic/quic_packet_generator_test.cc CheckPacketContains(contents, packet_); contents 304 net/quic/quic_packet_generator_test.cc PacketContents contents; contents 305 net/quic/quic_packet_generator_test.cc contents.num_ack_frames = 1; contents 306 net/quic/quic_packet_generator_test.cc contents.num_feedback_frames = 1; contents 307 net/quic/quic_packet_generator_test.cc contents.num_stop_waiting_frames = 1; contents 308 net/quic/quic_packet_generator_test.cc CheckPacketContains(contents, packet_); contents 347 net/quic/quic_packet_generator_test.cc PacketContents contents; contents 348 net/quic/quic_packet_generator_test.cc contents.num_rst_stream_frames = 1; contents 349 net/quic/quic_packet_generator_test.cc CheckPacketContains(contents, packet_); contents 361 net/quic/quic_packet_generator_test.cc PacketContents contents; contents 362 net/quic/quic_packet_generator_test.cc contents.num_rst_stream_frames = 1; contents 363 net/quic/quic_packet_generator_test.cc CheckPacketContains(contents, packet_); contents 398 net/quic/quic_packet_generator_test.cc PacketContents contents; contents 399 net/quic/quic_packet_generator_test.cc contents.num_stream_frames = 1; contents 400 net/quic/quic_packet_generator_test.cc CheckPacketContains(contents, packet_); contents 433 net/quic/quic_packet_generator_test.cc PacketContents contents; contents 434 net/quic/quic_packet_generator_test.cc contents.num_stream_frames = 2; contents 435 net/quic/quic_packet_generator_test.cc CheckPacketContains(contents, packet_); contents 543 net/quic/quic_packet_generator_test.cc PacketContents contents; contents 544 net/quic/quic_packet_generator_test.cc contents.num_stream_frames = 1; contents 545 net/quic/quic_packet_generator_test.cc CheckPacketContains(contents, packet_); contents 546 net/quic/quic_packet_generator_test.cc CheckPacketContains(contents, packet2_); contents 576 net/quic/quic_packet_generator_test.cc PacketContents contents; contents 577 net/quic/quic_packet_generator_test.cc contents.num_ack_frames = 1; contents 578 net/quic/quic_packet_generator_test.cc contents.num_goaway_frames = 1; contents 579 net/quic/quic_packet_generator_test.cc contents.num_feedback_frames = 1; contents 580 net/quic/quic_packet_generator_test.cc contents.num_rst_stream_frames = 1; contents 581 net/quic/quic_packet_generator_test.cc contents.num_stream_frames = 1; contents 582 net/quic/quic_packet_generator_test.cc CheckPacketContains(contents, packet_); contents 623 net/quic/quic_packet_generator_test.cc PacketContents contents; contents 624 net/quic/quic_packet_generator_test.cc contents.num_ack_frames = 1; contents 625 net/quic/quic_packet_generator_test.cc contents.num_feedback_frames = 1; contents 626 net/quic/quic_packet_generator_test.cc contents.num_rst_stream_frames = 1; contents 627 net/quic/quic_packet_generator_test.cc contents.num_stream_frames = 1; contents 628 net/quic/quic_packet_generator_test.cc CheckPacketContains(contents, packet_); contents 2562 net/spdy/spdy_network_transaction_unittest.cc std::string contents("hello!"); contents 2563 net/spdy/spdy_network_transaction_unittest.cc EXPECT_EQ(contents, d.data_received()); contents 2648 net/spdy/spdy_network_transaction_unittest.cc std::string contents("hello!"); contents 2649 net/spdy/spdy_network_transaction_unittest.cc EXPECT_EQ(contents, d.data_received()); contents 31 net/test/embedded_test_server/embedded_test_server.cc CustomHttpResponse(const std::string& headers, const std::string& contents) contents 32 net/test/embedded_test_server/embedded_test_server.cc : headers_(headers), contents_(contents) { contents 300 net/tools/dump_cache/dump_files.cc printf("entry: 0x%x\n", rankings.contents); contents 5624 net/url_request/url_request_unittest.cc std::string contents; contents 5625 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::ReadFileToString(path, &contents)); contents 5626 net/url_request/url_request_unittest.cc EXPECT_EQ(contents, d.data_received()); contents 5666 net/url_request/url_request_unittest.cc std::string contents; contents 5667 net/url_request/url_request_unittest.cc EXPECT_TRUE(base::ReadFileToString(path, &contents)); contents 5668 net/url_request/url_request_unittest.cc EXPECT_EQ(contents, d.data_received()); contents 76 ppapi/c/private/ppb_flash_file.h struct PP_DirContents_Dev** contents); contents 80 ppapi/c/private/ppb_flash_file.h struct PP_DirContents_Dev* contents); contents 107 ppapi/cpp/private/flash_file.cc PP_DirContents_Dev* contents = NULL; contents 109 ppapi/cpp/private/flash_file.cc GetDirContents(instance.pp_instance(), path.c_str(), &contents); contents 110 ppapi/cpp/private/flash_file.cc if (result == PP_OK && contents) { contents 111 ppapi/cpp/private/flash_file.cc for (int32_t i = 0; i < contents->count; i++) contents 112 ppapi/cpp/private/flash_file.cc dir_contents->push_back(ConvertDirEntry(contents->entries[i])); contents 114 ppapi/cpp/private/flash_file.cc if (contents) { contents 116 ppapi/cpp/private/flash_file.cc FreeDirContents(instance.pp_instance(), contents); contents 106 ppapi/proxy/flash_file_resource.cc PP_DirContents_Dev** contents) { contents 116 ppapi/proxy/flash_file_resource.cc *contents = new PP_DirContents_Dev; contents 117 ppapi/proxy/flash_file_resource.cc (*contents)->count = static_cast<int32_t>(entries.size()); contents 118 ppapi/proxy/flash_file_resource.cc (*contents)->entries = new PP_DirEntry_Dev[entries.size()]; contents 121 ppapi/proxy/flash_file_resource.cc PP_DirEntry_Dev* dest = &(*contents)->entries[i]; contents 134 ppapi/proxy/flash_file_resource.cc PP_DirContents_Dev* contents) { contents 135 ppapi/proxy/flash_file_resource.cc for (int32_t i = 0; i < contents->count; ++i) contents 136 ppapi/proxy/flash_file_resource.cc delete[] contents->entries[i].name; contents 137 ppapi/proxy/flash_file_resource.cc delete[] contents->entries; contents 138 ppapi/proxy/flash_file_resource.cc delete contents; contents 45 ppapi/proxy/flash_file_resource.h PP_DirContents_Dev** contents) OVERRIDE; contents 47 ppapi/proxy/flash_file_resource.h PP_DirContents_Dev* contents) OVERRIDE; contents 45 ppapi/proxy/flash_font_file_resource.cc std::string* contents = GetFontTable(table); contents 46 ppapi/proxy/flash_font_file_resource.cc if (!contents) { contents 54 ppapi/proxy/flash_font_file_resource.cc contents = AddFontTable(table, out_contents); contents 58 ppapi/proxy/flash_font_file_resource.cc if (output && *output_length < contents->size()) contents 61 ppapi/proxy/flash_font_file_resource.cc *output_length = static_cast<uint32_t>(contents->size()); contents 63 ppapi/proxy/flash_font_file_resource.cc memcpy(output, contents->c_str(), *output_length); contents 75 ppapi/proxy/flash_font_file_resource.cc const std::string& contents) { contents 76 ppapi/proxy/flash_font_file_resource.cc linked_ptr<std::string> heap_string(new std::string(contents)); contents 47 ppapi/proxy/flash_font_file_resource.h std::string* AddFontTable(uint32_t table, const std::string& contents); contents 36 ppapi/tests/test_flash_file.cc bool WriteFile(PP_FileHandle file_handle, const std::string& contents) { contents 39 ppapi/tests/test_flash_file.cc BOOL result = ::WriteFile(file_handle, contents.c_str(), contents.size(), contents 41 ppapi/tests/test_flash_file.cc return result && bytes_written == static_cast<DWORD>(contents.size()); contents 45 ppapi/tests/test_flash_file.cc bytes_written = write(file_handle, contents.c_str(), contents.size()); contents 47 ppapi/tests/test_flash_file.cc return bytes_written == static_cast<ssize_t>(contents.size()); contents 51 ppapi/tests/test_flash_file.cc bool ReadFile(PP_FileHandle file_handle, std::string* contents) { contents 55 ppapi/tests/test_flash_file.cc contents->clear(); contents 63 ppapi/tests/test_flash_file.cc contents->append(buffer, bytes_read); contents 74 ppapi/tests/test_flash_file.cc contents->append(buffer, bytes_read); contents 135 ppapi/tests/test_flash_file.cc std::string contents = "This is file."; contents 137 ppapi/tests/test_flash_file.cc ASSERT_TRUE(WriteFile(file_handle, contents)); contents 146 ppapi/tests/test_flash_file.cc ASSERT_FALSE(WriteFile(file_handle, contents)); contents 148 ppapi/tests/test_flash_file.cc ASSERT_EQ(contents, read_contents); contents 158 ppapi/tests/test_flash_file.cc std::string contents = "This is file."; contents 166 ppapi/tests/test_flash_file.cc ASSERT_TRUE(WriteFile(file_handle, contents)); contents 176 ppapi/tests/test_flash_file.cc ASSERT_EQ(contents, read_contents); contents 190 ppapi/tests/test_flash_file.cc std::string contents = "This is file."; contents 198 ppapi/tests/test_flash_file.cc ASSERT_TRUE(WriteFile(file_handle, contents)); contents 215 ppapi/tests/test_flash_file.cc ASSERT_TRUE(WriteFile(file_handle, contents)); contents 239 ppapi/tests/test_flash_file.cc std::string contents = "This is file."; contents 248 ppapi/tests/test_flash_file.cc ASSERT_TRUE(WriteFile(file_handle, contents)); contents 251 ppapi/tests/test_flash_file.cc ASSERT_EQ(static_cast<size_t>(info.size), contents.size()); contents 278 ppapi/tests/test_flash_file.cc std::string contents = "This is file."; contents 284 ppapi/tests/test_flash_file.cc ASSERT_TRUE(WriteFile(file_handle, contents)); contents 312 ppapi/tests/test_flash_file.cc std::string contents = "This is a temp file."; contents 313 ppapi/tests/test_flash_file.cc ASSERT_TRUE(WriteFile(file_handle, contents)); contents 316 ppapi/tests/test_flash_file.cc ASSERT_EQ(contents, read_contents); contents 329 ppapi/tests/test_flash_file.cc std::vector<FileModuleLocal::DirEntry> contents; contents 331 ppapi/tests/test_flash_file.cc FileModuleLocal::GetDirContents(instance_, std::string(), &contents)); contents 332 ppapi/tests/test_flash_file.cc *item_count = contents.size(); contents 41 ppapi/thunk/ppb_flash_file_api.h PP_DirContents_Dev** contents) = 0; contents 43 ppapi/thunk/ppb_flash_file_api.h PP_DirContents_Dev* contents) = 0; contents 67 ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc PP_DirContents_Dev** contents) { contents 71 ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc return enter.functions()->GetDirContents(instance, path, contents); contents 75 ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc PP_DirContents_Dev* contents) { contents 78 ppapi/thunk/ppb_flash_file_modulelocal_thunk.cc enter.functions()->FreeDirContents(instance, contents); contents 1303 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc string contents; contents 1304 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc self->message->SerializePartialToString(&contents); contents 1305 third_party/protobuf/python/google/protobuf/pyext/python-proto2.cc return PyString_FromStringAndSize(contents.c_str(), contents.size()); contents 100 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc void CreateTempFile(const string& name, const string& contents); contents 316 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc const string& contents) { contents 326 third_party/protobuf/src/google/protobuf/compiler/command_line_interface_unittest.cc File::WriteStringToFileOrDie(contents, full_name); contents 81 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc void AddFile(const string& name, const char* contents) { contents 82 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc files_[name] = contents; contents 87 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc const char* contents = FindPtrOrNull(files_, filename); contents 88 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc if (contents == NULL) { contents 91 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc return new io::ArrayInputStream(contents, strlen(contents)); contents 349 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc void AddFile(const string& filename, const char* contents) { contents 350 third_party/protobuf/src/google/protobuf/compiler/importer_unittest.cc File::WriteStringToFileOrDie(contents, filename); contents 139 third_party/protobuf/src/google/protobuf/compiler/zip_writer.cc bool ZipWriter::Write(const string& filename, const string& contents) { contents 145 third_party/protobuf/src/google/protobuf/compiler/zip_writer.cc info.size = contents.size(); contents 146 third_party/protobuf/src/google/protobuf/compiler/zip_writer.cc info.crc32 = ComputeCRC32(contents); contents 164 third_party/protobuf/src/google/protobuf/compiler/zip_writer.cc output.WriteString(contents); // file data contents 76 third_party/protobuf/src/google/protobuf/compiler/zip_writer.h bool Write(const string& filename, const string& contents); contents 1703 third_party/protobuf/src/google/protobuf/descriptor.cc string contents = "syntax = \"proto2\";\n\n"; contents 1714 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(&contents, "import public \"$0\";\n", contents 1717 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(&contents, "import weak \"$0\";\n", contents 1720 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(&contents, "import \"$0\";\n", contents 1726 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(&contents, "package $0;\n\n", package()); contents 1729 third_party/protobuf/src/google/protobuf/descriptor.cc if (FormatLineOptions(0, options(), &contents)) { contents 1730 third_party/protobuf/src/google/protobuf/descriptor.cc contents.append("\n"); // add some space if we had options contents 1734 third_party/protobuf/src/google/protobuf/descriptor.cc enum_type(i)->DebugString(0, &contents); contents 1735 third_party/protobuf/src/google/protobuf/descriptor.cc contents.append("\n"); contents 1749 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(&contents, "message $0", contents 1751 third_party/protobuf/src/google/protobuf/descriptor.cc message_type(i)->DebugString(0, &contents); contents 1752 third_party/protobuf/src/google/protobuf/descriptor.cc contents.append("\n"); contents 1757 third_party/protobuf/src/google/protobuf/descriptor.cc service(i)->DebugString(&contents); contents 1758 third_party/protobuf/src/google/protobuf/descriptor.cc contents.append("\n"); contents 1764 third_party/protobuf/src/google/protobuf/descriptor.cc if (i > 0) contents.append("}\n\n"); contents 1766 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(&contents, "extend .$0 {\n", contents 1769 third_party/protobuf/src/google/protobuf/descriptor.cc extension(i)->DebugString(1, &contents); contents 1771 third_party/protobuf/src/google/protobuf/descriptor.cc if (extension_count() > 0) contents.append("}\n\n"); contents 1773 third_party/protobuf/src/google/protobuf/descriptor.cc return contents; contents 1777 third_party/protobuf/src/google/protobuf/descriptor.cc string contents; contents 1778 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(&contents, "message $0", name()); contents 1779 third_party/protobuf/src/google/protobuf/descriptor.cc DebugString(0, &contents); contents 1780 third_party/protobuf/src/google/protobuf/descriptor.cc return contents; contents 1783 third_party/protobuf/src/google/protobuf/descriptor.cc void Descriptor::DebugString(int depth, string *contents) const { contents 1786 third_party/protobuf/src/google/protobuf/descriptor.cc contents->append(" {\n"); contents 1788 third_party/protobuf/src/google/protobuf/descriptor.cc FormatLineOptions(depth, options(), contents); contents 1807 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(contents, "$0 message $1", contents 1809 third_party/protobuf/src/google/protobuf/descriptor.cc nested_type(i)->DebugString(depth, contents); contents 1813 third_party/protobuf/src/google/protobuf/descriptor.cc enum_type(i)->DebugString(depth, contents); contents 1816 third_party/protobuf/src/google/protobuf/descriptor.cc field(i)->DebugString(depth, contents); contents 1820 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(contents, "$0 extensions $1 to $2;\n", contents 1830 third_party/protobuf/src/google/protobuf/descriptor.cc if (i > 0) strings::SubstituteAndAppend(contents, "$0 }\n", prefix); contents 1832 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(contents, "$0 extend .$1 {\n", contents 1835 third_party/protobuf/src/google/protobuf/descriptor.cc extension(i)->DebugString(depth + 1, contents); contents 1838 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(contents, "$0 }\n", prefix); contents 1840 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(contents, "$0}\n", prefix); contents 1844 third_party/protobuf/src/google/protobuf/descriptor.cc string contents; contents 1847 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(&contents, "extend .$0 {\n", contents 1851 third_party/protobuf/src/google/protobuf/descriptor.cc DebugString(depth, &contents); contents 1853 third_party/protobuf/src/google/protobuf/descriptor.cc contents.append("}\n"); contents 1855 third_party/protobuf/src/google/protobuf/descriptor.cc return contents; contents 1858 third_party/protobuf/src/google/protobuf/descriptor.cc void FieldDescriptor::DebugString(int depth, string *contents) const { contents 1872 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(contents, "$0$1 $2 $3 = $4", contents 1883 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(contents, " [default = $0", contents 1889 third_party/protobuf/src/google/protobuf/descriptor.cc contents->append(bracketed ? ", " : " ["); contents 1891 third_party/protobuf/src/google/protobuf/descriptor.cc contents->append(formatted_options); contents 1895 third_party/protobuf/src/google/protobuf/descriptor.cc contents->append("]"); contents 1899 third_party/protobuf/src/google/protobuf/descriptor.cc message_type()->DebugString(depth, contents); contents 1901 third_party/protobuf/src/google/protobuf/descriptor.cc contents->append(";\n"); contents 1906 third_party/protobuf/src/google/protobuf/descriptor.cc string contents; contents 1907 third_party/protobuf/src/google/protobuf/descriptor.cc DebugString(0, &contents); contents 1908 third_party/protobuf/src/google/protobuf/descriptor.cc return contents; contents 1911 third_party/protobuf/src/google/protobuf/descriptor.cc void EnumDescriptor::DebugString(int depth, string *contents) const { contents 1914 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(contents, "$0enum $1 {\n", contents 1917 third_party/protobuf/src/google/protobuf/descriptor.cc FormatLineOptions(depth, options(), contents); contents 1920 third_party/protobuf/src/google/protobuf/descriptor.cc value(i)->DebugString(depth, contents); contents 1922 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(contents, "$0}\n", prefix); contents 1926 third_party/protobuf/src/google/protobuf/descriptor.cc string contents; contents 1927 third_party/protobuf/src/google/protobuf/descriptor.cc DebugString(0, &contents); contents 1928 third_party/protobuf/src/google/protobuf/descriptor.cc return contents; contents 1931 third_party/protobuf/src/google/protobuf/descriptor.cc void EnumValueDescriptor::DebugString(int depth, string *contents) const { contents 1933 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(contents, "$0$1 = $2", contents 1938 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(contents, " [$0]", formatted_options); contents 1940 third_party/protobuf/src/google/protobuf/descriptor.cc contents->append(";\n"); contents 1944 third_party/protobuf/src/google/protobuf/descriptor.cc string contents; contents 1945 third_party/protobuf/src/google/protobuf/descriptor.cc DebugString(&contents); contents 1946 third_party/protobuf/src/google/protobuf/descriptor.cc return contents; contents 1949 third_party/protobuf/src/google/protobuf/descriptor.cc void ServiceDescriptor::DebugString(string *contents) const { contents 1950 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(contents, "service $0 {\n", name()); contents 1952 third_party/protobuf/src/google/protobuf/descriptor.cc FormatLineOptions(1, options(), contents); contents 1955 third_party/protobuf/src/google/protobuf/descriptor.cc method(i)->DebugString(1, contents); contents 1958 third_party/protobuf/src/google/protobuf/descriptor.cc contents->append("}\n"); contents 1962 third_party/protobuf/src/google/protobuf/descriptor.cc string contents; contents 1963 third_party/protobuf/src/google/protobuf/descriptor.cc DebugString(0, &contents); contents 1964 third_party/protobuf/src/google/protobuf/descriptor.cc return contents; contents 1967 third_party/protobuf/src/google/protobuf/descriptor.cc void MethodDescriptor::DebugString(int depth, string *contents) const { contents 1970 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(contents, "$0rpc $1(.$2) returns (.$3)", contents 1977 third_party/protobuf/src/google/protobuf/descriptor.cc strings::SubstituteAndAppend(contents, " {\n$0$1}\n", contents 1980 third_party/protobuf/src/google/protobuf/descriptor.cc contents->append(";\n"); contents 270 third_party/protobuf/src/google/protobuf/descriptor.h void DebugString(int depth, string *contents) const; contents 527 third_party/protobuf/src/google/protobuf/descriptor.h void DebugString(int depth, string *contents) const; contents 644 third_party/protobuf/src/google/protobuf/descriptor.h void DebugString(int depth, string *contents) const; contents 722 third_party/protobuf/src/google/protobuf/descriptor.h void DebugString(int depth, string *contents) const; contents 792 third_party/protobuf/src/google/protobuf/descriptor.h void DebugString(string *contents) const; contents 861 third_party/protobuf/src/google/protobuf/descriptor.h void DebugString(int depth, string *contents) const; contents 4460 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc SingletonSourceTree(const string& filename, const string& contents) contents 4461 third_party/protobuf/src/google/protobuf/descriptor_unittest.cc : filename_(filename), contents_(contents) {} contents 85 third_party/protobuf/src/google/protobuf/testing/file.cc void File::WriteStringToFileOrDie(const string& contents, const string& name) { contents 89 third_party/protobuf/src/google/protobuf/testing/file.cc GOOGLE_CHECK_EQ(fwrite(contents.data(), 1, contents.size(), file), contents 90 third_party/protobuf/src/google/protobuf/testing/file.cc contents.size()) contents 59 third_party/protobuf/src/google/protobuf/testing/file.h static void WriteStringToFileOrDie(const string& contents, contents 67 tools/gn/command_args.cc const std::string& data = file->contents(); contents 176 tools/gn/err.cc std::string line = GetNthLine(input_file->contents(), contents 63 tools/gn/function_write_file.cc std::ostringstream contents; contents 67 tools/gn/function_write_file.cc contents << list[i].ToString(false) << std::endl; contents 69 tools/gn/function_write_file.cc contents << args[1].ToString(false); contents 75 tools/gn/function_write_file.cc const std::string& contents_string = contents.str(); contents 338 tools/gn/functions.cc const std::vector<const ParseNode*>& args_vector = args_list->contents(); contents 40 tools/gn/input_file.h const std::string& contents() const { contents 82 tools/gn/ninja_target_writer.cc std::string contents = file.str(); contents 83 tools/gn/ninja_target_writer.cc base::WriteFile(ninja_file, contents.c_str(), contents 84 tools/gn/ninja_target_writer.cc static_cast<int>(contents.size())); contents 329 tools/gn/parse_tree.h const std::vector<const ParseNode*>& contents() const { return contents_; } contents 76 tools/gn/tokenizer.cc input_(input_file->contents()), contents 826 ui/base/clipboard/clipboard_unittest.cc std::string contents; contents 827 ui/base/clipboard/clipboard_unittest.cc clipboard().ReadAsciiText(CLIPBOARD_TYPE_COPY_PASTE, &contents); contents 828 ui/base/clipboard/clipboard_unittest.cc EXPECT_EQ(contents, new_value); contents 70 ui/keyboard/keyboard_controller_proxy.cc virtual void WebContentsDestroyed(content::WebContents* contents) OVERRIDE { contents 162 ui/keyboard/keyboard_controller_proxy.cc void KeyboardControllerProxy::SetupWebContents(content::WebContents* contents) { contents 118 ui/keyboard/keyboard_controller_proxy.h virtual void SetupWebContents(content::WebContents* contents); contents 20 ui/message_center/views/message_center_bubble.cc explicit ContentsView(MessageCenterBubble* bubble, views::View* contents); contents 36 ui/message_center/views/message_center_bubble.cc ContentsView::ContentsView(MessageCenterBubble* bubble, views::View* contents) contents 39 ui/message_center/views/message_center_bubble.cc AddChildView(contents); contents 993 ui/message_center/views/message_center_view.cc scroller_->contents()->RemoveAllChildViews(/*delete_children=*/false); contents 994 ui/message_center/views/message_center_view.cc scroller_->contents()->AddChildView( contents 139 ui/message_center/views/notifier_settings_view.cc explicit EntryView(views::View* contents); contents 158 ui/message_center/views/notifier_settings_view.cc EntryView::EntryView(views::View* contents) contents 160 ui/message_center/views/notifier_settings_view.cc AddChildView(contents); contents 524 ui/message_center/views/notifier_settings_view.cc return scroller_->height() < scroller_->contents()->height(); contents 648 ui/message_center/views/notifier_settings_view.cc views::View* contents_view = scroller_->contents(); contents 662 ui/message_center/views/notifier_settings_view.cc scroller_->contents()->GetPreferredSize().height(); contents 671 ui/message_center/views/notifier_settings_view.cc gfx::Size content_size = scroller_->contents()->GetPreferredSize(); contents 21 ui/v2/public/window.h View* contents() { return contents_.get(); } contents 207 ui/views/bubble/bubble_border_unittest.cc gfx::Size contents = gfx::Size(10, 10); contents 212 ui/views/bubble/bubble_border_unittest.cc gfx::Rect visible_tip_1 = b1.GetBounds(anchor, contents); contents 218 ui/views/bubble/bubble_border_unittest.cc gfx::Rect invisible_tip_1 = b1.GetBounds(anchor, contents); contents 228 ui/views/bubble/bubble_border_unittest.cc gfx::Rect visible_tip_2 = b2.GetBounds(anchor, contents); contents 234 ui/views/bubble/bubble_border_unittest.cc gfx::Rect invisible_tip_2 = b2.GetBounds(anchor, contents); contents 96 ui/views/controls/scroll_view.cc View* contents = child_at(0); contents 98 ui/views/controls/scroll_view.cc scroll_rect.Offset(-contents->x(), -contents->y()); contents 201 ui/views/controls/scroll_view.cc gfx::Size size = contents()->GetPreferredSize(); contents 215 ui/views/controls/scroll_view.cc int height = contents()->GetHeightForWidth(width) + insets.height(); contents 222 ui/views/controls/scroll_view.cc int content_height = contents()->GetHeightForWidth(content_width); contents 225 ui/views/controls/scroll_view.cc content_height = contents()->GetHeightForWidth(content_width); contents 227 ui/views/controls/scroll_view.cc if (contents()->bounds().size() != gfx::Size(content_width, content_height)) contents 228 ui/views/controls/scroll_view.cc contents()->SetBounds(0, 0, content_width, content_height); contents 578 ui/views/controls/scroll_view.cc int y = abs(scroll_view->contents()->y()); contents 579 ui/views/controls/scroll_view.cc int vis_height = scroll_view->contents()->parent()->height(); contents 582 ui/views/controls/scroll_view.cc int bottom = std::min(scroll_view->contents()->height() - 1, contents 602 ui/views/controls/scroll_view.cc int y = abs(scroll_view->contents()->y()); contents 43 ui/views/controls/scroll_view.h const View* contents() const { return contents_; } contents 44 ui/views/controls/scroll_view.h View* contents() { return contents_; } contents 53 ui/views/controls/scroll_view_unittest.cc View* contents = new View; contents 54 ui/views/controls/scroll_view_unittest.cc scroll_view.SetContents(contents); contents 57 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ("0,0 100x100", contents->parent()->bounds().ToString()); contents 63 ui/views/controls/scroll_view_unittest.cc View* contents = new View; contents 64 ui/views/controls/scroll_view_unittest.cc scroll_view.SetContents(contents); contents 68 ui/views/controls/scroll_view_unittest.cc contents->SetBounds(0, 0, 50, 400); contents 70 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(100 - scroll_view.GetScrollBarWidth(), contents->parent()->width()); contents 71 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(100, contents->parent()->height()); contents 78 ui/views/controls/scroll_view_unittest.cc contents->SetBounds(0, 0, 400, 50); contents 80 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(100, contents->parent()->width()); contents 82 ui/views/controls/scroll_view_unittest.cc contents->parent()->height()); contents 89 ui/views/controls/scroll_view_unittest.cc contents->SetBounds(0, 0, 300, 400); contents 91 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(100 - scroll_view.GetScrollBarWidth(), contents->parent()->width()); contents 93 ui/views/controls/scroll_view_unittest.cc contents->parent()->height()); contents 103 ui/views/controls/scroll_view_unittest.cc View* contents = new View; contents 107 ui/views/controls/scroll_view_unittest.cc scroll_view.SetContents(contents); contents 113 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ("0,0 100x100", contents->parent()->bounds().ToString()); contents 118 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ("0,20 100x80", contents->parent()->bounds().ToString()); contents 125 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ("0,0 100x100", contents->parent()->bounds().ToString()); contents 131 ui/views/controls/scroll_view_unittest.cc View* contents = new View; contents 132 ui/views/controls/scroll_view_unittest.cc scroll_view.SetContents(contents); contents 140 ui/views/controls/scroll_view_unittest.cc contents->SetBounds(0, 0, 50, 400); contents 142 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(0, contents->parent()->x()); contents 143 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(20, contents->parent()->y()); contents 144 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(100 - scroll_view.GetScrollBarWidth(), contents->parent()->width()); contents 145 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(80, contents->parent()->height()); contents 156 ui/views/controls/scroll_view_unittest.cc contents->SetBounds(0, 0, 400, 50); contents 158 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(0, contents->parent()->x()); contents 159 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(20, contents->parent()->y()); contents 160 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(100, contents->parent()->width()); contents 162 ui/views/controls/scroll_view_unittest.cc contents->parent()->height()); contents 173 ui/views/controls/scroll_view_unittest.cc contents->SetBounds(0, 0, 300, 400); contents 175 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(0, contents->parent()->x()); contents 176 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(20, contents->parent()->y()); contents 177 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(100 - scroll_view.GetScrollBarWidth(), contents->parent()->width()); contents 179 ui/views/controls/scroll_view_unittest.cc contents->parent()->height()); contents 193 ui/views/controls/scroll_view_unittest.cc CustomView* contents = new CustomView; contents 194 ui/views/controls/scroll_view_unittest.cc scroll_view.SetContents(contents); contents 195 ui/views/controls/scroll_view_unittest.cc contents->SetPreferredSize(gfx::Size(500, 500)); contents 202 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ("0,0", contents->bounds().origin().ToString()); contents 209 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ("-1,0", contents->bounds().origin().ToString()); contents 216 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ("-1,-1", contents->bounds().origin().ToString()); contents 223 ui/views/controls/scroll_view_unittest.cc CustomView* contents = new CustomView; contents 224 ui/views/controls/scroll_view_unittest.cc scroll_view.SetContents(contents); contents 225 ui/views/controls/scroll_view_unittest.cc contents->SetPreferredSize(gfx::Size(500, 1000)); contents 229 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ("0,0", contents->bounds().origin().ToString()); contents 233 ui/views/controls/scroll_view_unittest.cc contents->ScrollRectToVisible(gfx::Rect(0, 405, 10, 10)); contents 234 ui/views/controls/scroll_view_unittest.cc const int viewport_height = contents->parent()->height(); contents 235 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(-(415 - viewport_height), contents->y()); contents 238 ui/views/controls/scroll_view_unittest.cc contents->ScrollRectToVisible(gfx::Rect(0, -contents->y(), 10, 10)); contents 239 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(-(415 - viewport_height), contents->y()); contents 260 ui/views/controls/scroll_view_unittest.cc scroll_view.contents()->size()); contents 281 ui/views/controls/scroll_view_unittest.cc scroll_view.contents()->size()); contents 306 ui/views/controls/scroll_view_unittest.cc scroll_view.contents()->size()); contents 330 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(scroll_view.contents()->size().width(), expected_width); contents 331 ui/views/controls/scroll_view_unittest.cc EXPECT_EQ(scroll_view.contents()->size().height(), 1000 * expected_width); contents 37 ui/views/controls/tabbed_pane/tabbed_pane.cc Tab(TabbedPane* tabbed_pane, const base::string16& title, View* contents); contents 89 ui/views/controls/tabbed_pane/tabbed_pane.cc Tab::Tab(TabbedPane* tabbed_pane, const base::string16& title, View* contents) contents 95 ui/views/controls/tabbed_pane/tabbed_pane.cc contents_(contents) { contents 259 ui/views/controls/tabbed_pane/tabbed_pane.cc NULL : GetTabAt(selected_tab_index())->contents(); contents 262 ui/views/controls/tabbed_pane/tabbed_pane.cc void TabbedPane::AddTab(const base::string16& title, View* contents) { contents 263 ui/views/controls/tabbed_pane/tabbed_pane.cc AddTabAtIndex(tab_strip_->child_count(), title, contents); contents 268 ui/views/controls/tabbed_pane/tabbed_pane.cc View* contents) { contents 270 ui/views/controls/tabbed_pane/tabbed_pane.cc contents->SetVisible(false); contents 272 ui/views/controls/tabbed_pane/tabbed_pane.cc tab_strip_->AddChildViewAt(new Tab(this, title, contents), index); contents 273 ui/views/controls/tabbed_pane/tabbed_pane.cc contents_->AddChildViewAt(contents, index); contents 293 ui/views/controls/tabbed_pane/tabbed_pane.cc FocusManager* focus_manager = tab->contents()->GetFocusManager(); contents 297 ui/views/controls/tabbed_pane/tabbed_pane.cc !tab->contents()->Contains(focused_view)) contents 298 ui/views/controls/tabbed_pane/tabbed_pane.cc focus_manager->SetFocusedView(tab->contents()); contents 43 ui/views/controls/tabbed_pane/tabbed_pane.h void AddTab(const base::string16& title, View* contents); contents 48 ui/views/controls/tabbed_pane/tabbed_pane.h void AddTabAtIndex(int index, const base::string16& title, View* contents); contents 316 ui/views/controls/webview/webview.cc content::WebContents* contents = NULL; contents 318 ui/views/controls/webview/webview.cc contents = ViewsDelegate::views_delegate->CreateWebContents( contents 322 ui/views/controls/webview/webview.cc if (!contents) { contents 328 ui/views/controls/webview/webview.cc return contents; contents 110 ui/views/examples/scroll_view_example.cc scroll_view_->contents()->ScrollRectToVisible( contents 99 ui/views/examples/widget_example.cc View* contents = new View(); contents 100 ui/views/examples/widget_example.cc contents->SetLayoutManager(new BoxLayout(BoxLayout::kHorizontal, 0, 0, 0)); contents 101 ui/views/examples/widget_example.cc contents->set_background(Background::CreateSolidBackground(SK_ColorGRAY)); contents 102 ui/views/examples/widget_example.cc BuildButton(contents, "Close", CLOSE_WIDGET); contents 103 ui/views/examples/widget_example.cc widget->SetContentsView(contents); contents 478 ui/views/focus/focus_traversal_unittest.cc View* contents = NULL; contents 482 ui/views/focus/focus_traversal_unittest.cc contents = new View(); contents 483 ui/views/focus/focus_traversal_unittest.cc contents->set_background(Background::CreateSolidBackground(SK_ColorWHITE)); contents 485 ui/views/focus/focus_traversal_unittest.cc contents->AddChildView(cb); contents 490 ui/views/focus/focus_traversal_unittest.cc contents->AddChildView(cb); contents 495 ui/views/focus/focus_traversal_unittest.cc contents->AddChildView(cb); contents 500 ui/views/focus/focus_traversal_unittest.cc contents->AddChildView(link); contents 505 ui/views/focus/focus_traversal_unittest.cc contents->AddChildView(text_field); contents 513 ui/views/focus/focus_traversal_unittest.cc style_tab_->AddTab(ASCIIToUTF16("Style"), contents); contents 517 ui/views/focus/focus_traversal_unittest.cc contents = new View(); contents 518 ui/views/focus/focus_traversal_unittest.cc contents->set_background(Background::CreateSolidBackground(SK_ColorWHITE)); contents 520 ui/views/focus/focus_traversal_unittest.cc contents->AddChildView(text_field); contents 526 ui/views/focus/focus_traversal_unittest.cc contents->AddChildView(button); contents 533 ui/views/focus/focus_traversal_unittest.cc contents->AddChildView(link); contents 536 ui/views/focus/focus_traversal_unittest.cc search_border_view_ = new BorderView(contents); contents 544 ui/views/focus/focus_traversal_unittest.cc contents = new View(); contents 545 ui/views/focus/focus_traversal_unittest.cc contents->SetFocusable(true); contents 546 ui/views/focus/focus_traversal_unittest.cc contents->set_background(Background::CreateSolidBackground(SK_ColorBLUE)); contents 547 ui/views/focus/focus_traversal_unittest.cc contents->set_id(kThumbnailContainerID); contents 550 ui/views/focus/focus_traversal_unittest.cc contents->AddChildView(button); contents 555 ui/views/focus/focus_traversal_unittest.cc contents->AddChildView(button); contents 559 ui/views/focus/focus_traversal_unittest.cc GetContentsView()->AddChildView(contents); contents 560 ui/views/focus/focus_traversal_unittest.cc contents->SetBounds(250, y, 200, 50); contents 1638 ui/views/view_unittest.cc explicit SimpleWidgetDelegate(View* contents) : contents_(contents) { } contents 1981 ui/views/view_unittest.cc View* contents = new View; contents 1982 ui/views/view_unittest.cc viewport->AddChildView(contents); contents 1984 ui/views/view_unittest.cc contents->SetBoundsRect(gfx::Rect(0, 0, 100, 200)); contents 1987 ui/views/view_unittest.cc contents->AddChildView(child); contents 2040 ui/views/view_unittest.cc View* contents = new View; contents 2041 ui/views/view_unittest.cc viewport->AddChildView(contents); contents 2043 ui/views/view_unittest.cc contents->SetBoundsRect(gfx::Rect(0, 0, 100, 200)); contents 2048 ui/views/view_unittest.cc contents->AddChildView(child); contents 2055 ui/views/view_unittest.cc contents->SetY(contents->y() - 1); contents 2065 ui/views/view_unittest.cc contents->SetY(contents->y() - 10);