/external/chromium_org/ash/accelerators/ |
D | accelerator_controller_unittest.cc | 250 static AcceleratorController* GetController(); 276 AcceleratorController* AcceleratorControllerTest::GetController() { in GetController() function in ash::AcceleratorControllerTest 286 ExitWarningHandler* ewh = GetController()->GetExitWarningHandlerForTest(); in TEST_F() 291 EXPECT_TRUE(GetController()->Process(press)); in TEST_F() 292 EXPECT_FALSE(GetController()->Process(release)); in TEST_F() 295 EXPECT_TRUE(GetController()->Process(press)); // second press before timer. in TEST_F() 296 EXPECT_FALSE(GetController()->Process(release)); in TEST_F() 308 ExitWarningHandler* ewh = GetController()->GetExitWarningHandlerForTest(); in TEST_F() 313 EXPECT_TRUE(GetController()->Process(press)); in TEST_F() 314 EXPECT_FALSE(GetController()->Process(release)); in TEST_F() [all …]
|
/external/chromium_org/components/sync_driver/ |
D | model_association_manager_unittest.cc | 30 FakeDataTypeController* GetController( in GetController() function 71 EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), in TEST_F() 73 EXPECT_EQ(GetController(controllers_, syncer::APPS)->state(), in TEST_F() 79 EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), in TEST_F() 81 EXPECT_EQ(GetController(controllers_, syncer::APPS)->state(), in TEST_F() 86 EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), in TEST_F() 88 EXPECT_EQ(GetController(controllers_, syncer::APPS)->state(), in TEST_F() 90 GetController(controllers_, syncer::BOOKMARKS)->FinishStart( in TEST_F() 92 GetController(controllers_, syncer::APPS)->FinishStart( in TEST_F() 118 EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), in TEST_F() [all …]
|
D | data_type_manager_impl_unittest.cc | 318 scoped_refptr<FakeDataTypeController> GetController( in GetController() function in sync_driver::SyncDataTypeManagerImplTest 373 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK); in TEST_F() 428 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK); in TEST_F() 458 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK); in TEST_F() 492 GetController(PASSWORDS)->FinishStart(DataTypeController::NEEDS_CRYPTO); in TEST_F() 530 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK); in TEST_F() 547 GetController(PREFERENCES)->FinishStart(DataTypeController::OK); in TEST_F() 583 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK); in TEST_F() 600 GetController(PREFERENCES)->FinishStart(DataTypeController::OK); in TEST_F() 640 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ |
D | browser_commands_unittest.cc | 72 browser()->tab_strip_model()->GetWebContentsAt(0)->GetController(); in TEST_F() 92 browser()->tab_strip_model()->GetWebContentsAt(1)->GetController(); in TEST_F() 109 browser()->tab_strip_model()->GetWebContentsAt(0)->GetController(); in TEST_F() 130 browser()->tab_strip_model()->GetWebContentsAt(1)->GetController(); in TEST_F() 177 EXPECT_TRUE(zeroth->GetController().CanGoBack()); in TEST_F() 178 EXPECT_FALSE(zeroth->GetController().CanGoForward()); in TEST_F() 183 EXPECT_FALSE(first->GetController().CanGoBack()); in TEST_F() 184 EXPECT_TRUE(first->GetController().CanGoForward()); in TEST_F() 192 CommitPendingLoad(&first->GetController()); in TEST_F() 198 EXPECT_FALSE(first->GetController().CanGoBack()); in TEST_F() [all …]
|
D | repost_form_warning_browsertest.cc | 37 web_contents->GetController().Reload(true); in IN_PROC_BROWSER_TEST_F() 38 web_contents->GetController().Reload(true); in IN_PROC_BROWSER_TEST_F() 67 web_contents->GetController().Reload(true); in IN_PROC_BROWSER_TEST_F() 71 content::NavigationController& controller = web_contents->GetController(); in IN_PROC_BROWSER_TEST_F() 81 web_contents->GetController().Reload(true); in IN_PROC_BROWSER_TEST_F()
|
D | repost_form_warning_controller.cc | 34 web_contents()->GetController().ContinuePendingReload(); in OnAccepted() 38 web_contents()->GetController().CancelPendingReload(); in OnCanceled() 42 web_contents()->GetController().CancelPendingReload(); in OnClosed()
|
/external/chromium_org/chrome/browser/ui/sync/ |
D | tab_contents_synced_tab_delegate.cc | 61 return web_contents_->GetController().GetCurrentEntryIndex(); in GetCurrentEntryIndex() 65 return web_contents_->GetController().GetEntryCount(); in GetEntryCount() 69 return web_contents_->GetController().GetPendingEntryIndex(); in GetPendingEntryIndex() 73 return web_contents_->GetController().GetPendingEntry(); in GetPendingEntry() 77 return web_contents_->GetController().GetEntryAtIndex(i); in GetEntryAtIndex() 81 return web_contents_->GetController().GetVisibleEntry(); in GetActiveEntry()
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
D | generated_credit_card_view.cc | 20 autofill::GeneratedCreditCardBubbleController* controller = GetController(); in Update() 33 autofill::GeneratedCreditCardBubbleController* controller = GetController(); in CanHandleClick() 38 autofill::GeneratedCreditCardBubbleController* controller = GetController(); in OnClick() 44 GetController() const { in GetController() function in GeneratedCreditCardView
|
/external/chromium_org/ash/desktop_background/ |
D | desktop_background_controller_unittest.cc | 110 ->GetController(false); in RunDesktopControllerAnimation() 166 GetController(false)); in TEST_F() 177 GetController(false)); in TEST_F() 208 GetController(false)); in TEST_F() 250 root_window_controller->animating_wallpaper_controller()->GetController( in TEST_F() 264 animating_wallpaper_controller()->GetController(false); in TEST_F() 270 GetController(false)->widget())); in TEST_F() 274 GetController(false)); in TEST_F()
|
/external/chromium_org/content/browser/web_contents/aura/ |
D | overscroll_navigation_overlay.cc | 158 web_contents_->GetController().GetPendingEntry(); in StartObserving() 212 const NavigationControllerImpl& controller = web_contents_->GetController(); in CreateSlideLayer() 232 if (!web_contents_->GetController().CanGoBack()) in CreateBackLayer() 239 if (!web_contents_->GetController().CanGoForward()) in CreateFrontLayer() 251 web_contents_->GetController().GoBack(); in OnWindowSlideCompleting() 253 web_contents_->GetController().GoForward(); in OnWindowSlideCompleting() 302 web_contents_->GetController().GetVisibleEntry(); in DidFirstVisuallyNonEmptyPaint()
|
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/ |
D | generated_credit_card_decoration.mm | 20 GeneratedCreditCardBubbleController* controller = GetController(); 36 GeneratedCreditCardBubbleController* controller = GetController(); 42 GeneratedCreditCardBubbleController* controller = GetController(); 51 GetController() const { function
|
/external/chromium_org/chrome/browser/ui/search/ |
D | search_tab_helper.cc | 74 contents->GetController().GetLastCommittedEntry(); in IsCacheableNTP() 83 contents->GetController().GetVisibleEntry(); in IsNTP() 98 contents->GetController().GetVisibleEntry(); in IsLocal() 126 contents->GetController().GetLastCommittedEntry()->GetURL(), in RecordNewTabLoadTime() 203 if (web_contents_->GetController().GetPendingEntry() == NULL) { in OmniboxFocusChanged() 218 web_contents_->GetController().GetSessionStorageNamespaceMap(), in OmniboxFocusChanged() 241 web_contents_->GetController().GetLastCommittedEntry(); in InstantSupportChanged() 272 web_contents_->GetController().GetSessionStorageNamespaceMap(), in OnTabActivated() 302 web_contents_->GetController().GetPendingEntry(); in DidStartNavigationToPendingEntry() 331 web_contents_->GetController().GetLastCommittedEntry(); in DidNavigateMainFrame() [all …]
|
D | instant_extended_interactive_uitest.cc | 628 EXPECT_TRUE(active_tab->GetController().CanGoBack()); in IN_PROC_BROWSER_TEST_F() 632 &active_tab->GetController())); in IN_PROC_BROWSER_TEST_F() 633 active_tab->GetController().GoBack(); in IN_PROC_BROWSER_TEST_F() 675 EXPECT_TRUE(active_tab->GetController().CanGoBack()); in IN_PROC_BROWSER_TEST_F() 679 &active_tab->GetController())); in IN_PROC_BROWSER_TEST_F() 680 active_tab->GetController().GoBack(); in IN_PROC_BROWSER_TEST_F() 686 EXPECT_TRUE(active_tab->GetController().CanGoForward()); in IN_PROC_BROWSER_TEST_F() 690 &active_tab->GetController())); in IN_PROC_BROWSER_TEST_F() 691 active_tab->GetController().GoForward(); in IN_PROC_BROWSER_TEST_F() 736 EXPECT_TRUE(active_tab->GetController().CanGoBack()); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/toolbar/ |
D | back_forward_menu_model.cc | 304 items = contents->GetController().GetEntryCount() - in GetHistoryItemCount() 305 contents->GetController().GetCurrentEntryIndex() - 1; in GetHistoryItemCount() 307 items = contents->GetController().GetCurrentEntryIndex(); in GetHistoryItemCount() 322 int current_entry = contents->GetController().GetCurrentEntryIndex(); in GetChapterStopCount() 346 NavigationController& controller = contents->GetController(); in GetIndexOfNextChapterStop() 400 int entry = contents->GetController().GetCurrentEntryIndex() + offset; in FindChapterStop() 435 index += contents->GetController().GetCurrentEntryIndex() + 1; in MenuIndexToNavEntryIndex() 438 index = contents->GetController().GetCurrentEntryIndex() - (index + 1); in MenuIndexToNavEntryIndex() 458 NavigationController& controller = GetWebContents()->GetController(); in GetNavigationEntry()
|
/external/chromium_org/athena/content/ |
D | render_view_context_menu_impl.cc | 179 return source_web_contents_->GetController().CanGoBack(); in IsCommandIdEnabled() 181 return source_web_contents_->GetController().CanGoForward(); in IsCommandIdEnabled() 185 return source_web_contents_->GetController().CanViewSource(); in IsCommandIdEnabled() 226 source_web_contents_->GetController().GoBack(); in ExecuteCommand() 229 source_web_contents_->GetController().GoForward(); in ExecuteCommand() 232 source_web_contents_->GetController().Reload(true); in ExecuteCommand()
|
D | web_activity.cc | 109 return web_view_->GetWebContents()->GetController().CanGoBack(); in IsCommandEnabled() 111 return web_view_->GetWebContents()->GetController().CanGoForward(); in IsCommandEnabled() 125 web_view_->GetWebContents()->GetController().Reload(false); in OnAcceleratorFired() 128 web_view_->GetWebContents()->GetController().ReloadIgnoringCache(false); in OnAcceleratorFired() 131 web_view_->GetWebContents()->GetController().GoBack(); in OnAcceleratorFired() 134 web_view_->GetWebContents()->GetController().GoForward(); in OnAcceleratorFired() 197 evicted_web_contents_->GetController().CopyStateFrom( in EvictContent() 198 old_contents->GetController()); in EvictContent() 233 web_contents()->GetController().LoadURLWithParams(load_url_params); in OpenURLFromTab() 278 GetWebContents()->GetController().Reload(false); in OverscrollComplete()
|
/external/chromium_org/chrome/browser/favicon/ |
D | favicon_tab_helper.cc | 70 const NavigationController& controller = web_contents()->GetController(); in GetFavicon() 82 const NavigationController& controller = web_contents()->GetController(); in FaviconIsValid() 96 const NavigationController& controller = web_contents()->GetController(); in ShouldDisplayFavicon() 114 NavigationEntry* entry = web_contents()->GetController().GetActiveEntry(); in SaveFavicon() 180 NavigationEntry* entry = web_contents()->GetController().GetActiveEntry(); in GetActiveURL() 199 DCHECK(web_contents()->GetController().GetActiveEntry()); in GetFaviconStatus() 200 return web_contents()->GetController().GetActiveEntry()->GetFavicon(); in GetFaviconStatus()
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
D | bookmark_tab_helper.cc | 27 if (web_contents->GetController().GetLastCommittedEntry()) in IsNTPWebUI() 31 return web_ui && NewTabUI::FromWebUIController(web_ui->GetController()); in IsNTPWebUI() 38 web_contents->GetController().GetLastCommittedEntry(); in IsInstantNTP() 40 entry = web_contents->GetController().GetVisibleEntry(); in IsInstantNTP()
|
/external/chromium_org/ui/ozone/platform/dri/ |
D | gbm_surface.cc | 102 if (window_delegate_->GetController()) { in Initialize() 103 size = window_delegate_->GetController()->GetModeSize(); in Initialize() 147 if (window_delegate_->GetController()) in OnSwapBuffers() 148 window_delegate_->GetController()->QueueOverlayPlane(OverlayPlane(primary)); in OnSwapBuffers()
|
/external/chromium_org/chrome/browser/extensions/ |
D | extension_override_apitest.cc | 59 ASSERT_TRUE(tab->GetController().GetVisibleEntry()); in IN_PROC_BROWSER_TEST_F() 60 EXPECT_TRUE(tab->GetController().GetVisibleEntry()->GetURL(). in IN_PROC_BROWSER_TEST_F() 84 ASSERT_TRUE(tab->GetController().GetVisibleEntry()); in IN_PROC_BROWSER_TEST_F() 85 EXPECT_FALSE(tab->GetController().GetVisibleEntry()->GetURL(). in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/content/shell/browser/ |
D | shell_web_contents_view_delegate_win.cc | 95 web_contents_->GetController().CanGoBack()); in ShowContextMenu() 101 web_contents_->GetController().CanGoForward()); in ShowContextMenu() 217 web_contents_->GetController().GoToOffset(-1); in MenuItemSelected() 221 web_contents_->GetController().GoToOffset(1); in MenuItemSelected() 225 web_contents_->GetController().Reload(false); in MenuItemSelected()
|
/external/chromium_org/chrome/browser/ui/login/ |
D | login_prompt_browsertest.cc | 175 NavigationController* controller = &contents->GetController(); in IN_PROC_BROWSER_TEST_F() 197 NavigationController* controller = &contents->GetController(); in IN_PROC_BROWSER_TEST_F() 247 NavigationController* controller = &contents->GetController(); in IN_PROC_BROWSER_TEST_F() 296 NavigationController* controller1 = &contents1->GetController(); in IN_PROC_BROWSER_TEST_F() 311 NavigationController* controller2 = &contents2->GetController(); in IN_PROC_BROWSER_TEST_F() 361 NavigationController* controller = &contents->GetController(); in IN_PROC_BROWSER_TEST_F() 459 NavigationController* controller = &contents->GetController(); in IN_PROC_BROWSER_TEST_F() 510 NavigationController* controller = &contents->GetController(); in IN_PROC_BROWSER_TEST_F() 561 NavigationController* controller = &contents->GetController(); in IN_PROC_BROWSER_TEST_F() 631 NavigationController* controller = &contents->GetController(); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium_org/content/browser/web_contents/ |
D | web_contents_impl_browsertest.cc | 193 &shell()->web_contents()->GetController()); in IN_PROC_BROWSER_TEST_F() 199 EXPECT_EQ(&shell()->web_contents()->GetController(), in IN_PROC_BROWSER_TEST_F() 220 &shell()->web_contents()->GetController()); in IN_PROC_BROWSER_TEST_F() 231 EXPECT_EQ(&shell()->web_contents()->GetController(), in IN_PROC_BROWSER_TEST_F() 247 &shell()->web_contents()->GetController()); in IN_PROC_BROWSER_TEST_F() 251 EXPECT_FALSE(shell()->web_contents()->GetController().GetPendingEntry()); in IN_PROC_BROWSER_TEST_F() 254 &shell()->web_contents()->GetController()); in IN_PROC_BROWSER_TEST_F() 359 NavigationController* controller = &shell()->web_contents()->GetController(); in IN_PROC_BROWSER_TEST_F() 433 &shell()->web_contents()->GetController()); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ssl/ |
D | ssl_browser_tests.cc | 165 NavigationEntry* entry = tab->GetController().GetActiveEntry(); in CheckSecurityState() 265 content::Source<NavigationController>(&tab->GetController())); in ProceedThroughInterstitial() 502 NavigationEntry* entry = tab->GetController().GetActiveEntry(); in IN_PROC_BROWSER_TEST_F() 547 NavigationEntry* entry = tab->GetController().GetActiveEntry(); in IN_PROC_BROWSER_TEST_F() 584 NavigationEntry* entry = tab->GetController().GetActiveEntry(); in IN_PROC_BROWSER_TEST_F() 594 tab->GetController().GoToOffset(-1); in IN_PROC_BROWSER_TEST_F() 611 NavigationEntry* entry1 = tab->GetController().GetActiveEntry(); in IN_PROC_BROWSER_TEST_F() 615 NavigationEntry* entry2 = tab->GetController().GetActiveEntry(); in IN_PROC_BROWSER_TEST_F() 622 content::Source<NavigationController>(&tab->GetController())); in IN_PROC_BROWSER_TEST_F() 623 tab->GetController().GoBack(); in IN_PROC_BROWSER_TEST_F() [all …]
|
/external/chromium_org/chrome/browser/safe_browsing/ |
D | client_side_detection_host.cc | 416 if (!web_contents() || !web_contents()->GetController().GetActiveEntry()) in OnSafeBrowsingHit() 433 web_contents()->GetController().GetActiveEntry()->GetUniqueID(); in OnSafeBrowsingHit() 443 if (!web_contents() || !web_contents()->GetController().GetActiveEntry()) in OnSafeBrowsingMatch() 453 web_contents()->GetController().GetActiveEntry()->SetExtraData( in OnSafeBrowsingMatch() 463 if (!web_contents() || !web_contents()->GetController().GetVisibleEntry()) in DidPageReceiveSafeBrowsingMatch() 470 NavigationEntry* entry = web_contents()->GetController().GetPendingEntry(); in DidPageReceiveSafeBrowsingMatch() 472 entry = web_contents()->GetController().GetVisibleEntry(); in DidPageReceiveSafeBrowsingMatch() 474 entry = web_contents()->GetController().GetLastCommittedEntry(); in DidPageReceiveSafeBrowsingMatch() 604 web_contents()->GetController().DiscardNonCommittedEntries(); in MaybeShowPhishingWarning() 635 web_contents()->GetController().DiscardNonCommittedEntries(); in MaybeShowMalwareWarning() [all …]
|