Home
last modified time | relevance | path

Searched refs:GetController (Results 1 – 25 of 279) sorted by relevance

12345678910>>...12

/external/chromium_org/chrome/browser/sync/glue/
Dmodel_association_manager_unittest.cc27 FakeDataTypeController* GetController( in GetController() function
91 EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), in TEST_F()
93 EXPECT_EQ(GetController(controllers_, syncer::APPS)->state(), in TEST_F()
99 EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), in TEST_F()
101 EXPECT_EQ(GetController(controllers_, syncer::APPS)->state(), in TEST_F()
106 EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), in TEST_F()
108 EXPECT_EQ(GetController(controllers_, syncer::APPS)->state(), in TEST_F()
110 GetController(controllers_, syncer::BOOKMARKS)->FinishStart( in TEST_F()
112 GetController(controllers_, syncer::APPS)->FinishStart( in TEST_F()
147 EXPECT_EQ(GetController(controllers_, syncer::BOOKMARKS)->state(), in TEST_F()
[all …]
Ddata_type_manager_impl_unittest.cc248 scoped_refptr<FakeDataTypeController> GetController( in GetController() function in browser_sync::SyncDataTypeManagerImplTest
306 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK); in TEST_F()
356 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK); in TEST_F()
383 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK); in TEST_F()
412 GetController(PASSWORDS)->FinishStart(DataTypeController::NEEDS_CRYPTO); in TEST_F()
451 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK); in TEST_F()
468 GetController(PREFERENCES)->FinishStart(DataTypeController::OK); in TEST_F()
502 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK); in TEST_F()
519 GetController(PREFERENCES)->FinishStart(DataTypeController::OK); in TEST_F()
557 GetController(BOOKMARKS)->FinishStart(DataTypeController::OK); in TEST_F()
[all …]
/external/chromium_org/ash/accelerators/
Daccelerator_controller_unittest.cc285 static AcceleratorController* GetController();
312 AcceleratorController* AcceleratorControllerTest::GetController() { in GetController() function in ash::AcceleratorControllerTest
318 AcceleratorController* controller = GetController(); in ProcessWithContext()
329 ExitWarningHandler* ewh = GetController()->GetExitWarningHandlerForTest(); in TEST_F()
351 ExitWarningHandler* ewh = GetController()->GetExitWarningHandlerForTest(); in TEST_F()
368 ExitWarningHandler* ewh = GetController()->GetExitWarningHandlerForTest(); in TEST_F()
384 GetController()->Register(accelerator_a, &target); in TEST_F()
394 GetController()->Register(accelerator_a, &target1); in TEST_F()
396 GetController()->Register(accelerator_a, &target2); in TEST_F()
408 GetController()->Register(accelerator_a, &target); in TEST_F()
[all …]
/external/chromium_org/chrome/browser/
Dbrowser_commands_unittest.cc70 browser()->tab_strip_model()->GetWebContentsAt(0)->GetController(); in TEST_F()
90 browser()->tab_strip_model()->GetWebContentsAt(1)->GetController(); in TEST_F()
107 browser()->tab_strip_model()->GetWebContentsAt(0)->GetController(); in TEST_F()
128 browser()->tab_strip_model()->GetWebContentsAt(1)->GetController(); in TEST_F()
175 EXPECT_TRUE(zeroth->GetController().CanGoBack()); in TEST_F()
176 EXPECT_FALSE(zeroth->GetController().CanGoForward()); in TEST_F()
181 EXPECT_FALSE(first->GetController().CanGoBack()); in TEST_F()
182 EXPECT_TRUE(first->GetController().CanGoForward()); in TEST_F()
190 CommitPendingLoad(&first->GetController()); in TEST_F()
196 EXPECT_FALSE(first->GetController().CanGoBack()); in TEST_F()
[all …]
Drepost_form_warning_browsertest.cc39 web_contents->GetController().Reload(true); in IN_PROC_BROWSER_TEST_F()
40 web_contents->GetController().Reload(true); in IN_PROC_BROWSER_TEST_F()
69 web_contents->GetController().Reload(true); in IN_PROC_BROWSER_TEST_F()
73 content::NavigationController& controller = web_contents->GetController(); in IN_PROC_BROWSER_TEST_F()
83 web_contents->GetController().Reload(true); in IN_PROC_BROWSER_TEST_F()
Drepost_form_warning_controller.cc48 web_contents()->GetController().ContinuePendingReload(); in OnAccepted()
52 web_contents()->GetController().CancelPendingReload(); in OnCanceled()
56 web_contents()->GetController().CancelPendingReload(); in OnClosed()
Derrorpage_browsertest.cc247 GetController().GetEntryCount()); in IN_PROC_BROWSER_TEST_F()
296 EXPECT_EQ(2, wc->GetController().GetEntryCount()); in IN_PROC_BROWSER_TEST_F()
305 content::Source<NavigationController>(&wc->GetController())); in IN_PROC_BROWSER_TEST_F()
315 EXPECT_EQ(2, wc->GetController().GetEntryCount()); in IN_PROC_BROWSER_TEST_F()
326 content::Source<NavigationController>(&wc->GetController())); in IN_PROC_BROWSER_TEST_F()
338 content::Source<NavigationController>(&wc->GetController())); in IN_PROC_BROWSER_TEST_F()
344 EXPECT_EQ(2, wc->GetController().GetEntryCount()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/sync/
Dtab_contents_synced_tab_delegate.cc54 return web_contents_->GetController().GetCurrentEntryIndex(); in GetCurrentEntryIndex()
58 return web_contents_->GetController().GetEntryCount(); in GetEntryCount()
62 return web_contents_->GetController().GetPendingEntryIndex(); in GetPendingEntryIndex()
66 return web_contents_->GetController().GetPendingEntry(); in GetPendingEntry()
70 return web_contents_->GetController().GetEntryAtIndex(i); in GetEntryAtIndex()
74 return web_contents_->GetController().GetVisibleEntry(); in GetActiveEntry()
/external/chromium_org/chrome/browser/ui/views/frame/
Ddesktop_user_action_handler_aura.cc22 if (contents && contents->GetController().CanGoBack()) { in OnUserAction()
23 contents->GetController().GoBack(); in OnUserAction()
30 if (contents && contents->GetController().CanGoForward()) { in OnUserAction()
31 contents->GetController().GoForward(); in OnUserAction()
/external/chromium_org/chrome/browser/ui/
Dbrowser_instant_controller.cc95 if (!instant_ntp->GetController().CanPruneAllButLastCommitted()) { in MaybeSwapInInstantNTPContents()
96 source_contents->GetController().LoadURL(chrome::GetLocalInstantURL( in MaybeSwapInInstantNTPContents()
101 instant_ntp->GetController().CopyStateFromAndPrune( in MaybeSwapInInstantNTPContents()
102 &source_contents->GetController(), false); in MaybeSwapInInstantNTPContents()
111 if (instant_ntp->GetController().CanPruneAllButLastCommitted()) in MaybeSwapInInstantNTPContents()
112 instant_ntp->GetController().PruneAllButLastCommitted(); in MaybeSwapInInstantNTPContents()
114 CHECK(!instant_ntp->GetController().GetLastCommittedEntry()); in MaybeSwapInInstantNTPContents()
246 contents->GetController().Reload(false); in ReloadTabsInInstantProcess()
/external/chromium_org/chrome/browser/ui/ash/
Duser_action_handler.cc36 if (contents && contents->GetController().CanGoBack()) { in OnUserAction()
37 contents->GetController().GoBack(); in OnUserAction()
44 if (contents && contents->GetController().CanGoForward()) { in OnUserAction()
45 contents->GetController().GoForward(); in OnUserAction()
/external/chromium_org/chrome/browser/ui/views/location_bar/
Dgenerated_credit_card_view.cc20 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/chrome/browser/ui/webui/chromeos/
Denterprise_enrollment_ui.cc53 EnterpriseEnrollmentUI::Controller* GetController();
107 EnterpriseEnrollmentUI::Controller* controller = GetController(); in HandleSubmitAuth()
147 EnterpriseEnrollmentUI::Controller* controller = GetController(); in HandleCancelAuth()
158 EnterpriseEnrollmentUI::Controller* controller = GetController(); in HandleConfirmationClose()
168 EnterpriseEnrollmentMessageHandler::GetController() { in GetController() function in chromeos::EnterpriseEnrollmentMessageHandler
169 return EnterpriseEnrollmentUI::GetController(web_ui_); in GetController()
281 if (!GetController(this) || !(bindings_ & BindingsPolicy::WEB_UI)) in RenderViewCreated()
292 bool has_init_user = GetController(this)->GetInitialUser(&user); in RenderViewCreated()
307 EnterpriseEnrollmentUI::Controller* EnterpriseEnrollmentUI::GetController( in GetController() function in chromeos::EnterpriseEnrollmentUI
/external/chromium_org/content/browser/web_contents/
Dweb_contents_view_aura_browsertest.cc154 NavigationControllerImpl* controller = &web_contents->GetController(); in StartTestWithPage()
165 NavigationController& controller = web_contents->GetController(); in TestOverscrollNavigation()
327 web_contents->GetController().GoBack(); in IN_PROC_BROWSER_TEST_F()
414 web_contents->GetController().GetEntryAtIndex(2)); in IN_PROC_BROWSER_TEST_F()
418 web_contents->GetController().GetEntryAtIndex(1)); in IN_PROC_BROWSER_TEST_F()
422 web_contents->GetController().GetEntryAtIndex(0)); in IN_PROC_BROWSER_TEST_F()
431 web_contents->GetController().GetEntryAtIndex(2)); in IN_PROC_BROWSER_TEST_F()
435 web_contents->GetController().GetEntryAtIndex(3)); in IN_PROC_BROWSER_TEST_F()
456 web_contents->GetController().GetEntryAtIndex(3)); in IN_PROC_BROWSER_TEST_F()
467 web_contents->GetController().GetEntryAtIndex(4)); in IN_PROC_BROWSER_TEST_F()
[all …]
Dweb_contents_impl_browsertest.cc165 &shell()->web_contents()->GetController()); in IN_PROC_BROWSER_TEST_F()
171 EXPECT_EQ(&shell()->web_contents()->GetController(), in IN_PROC_BROWSER_TEST_F()
191 &shell()->web_contents()->GetController()); in IN_PROC_BROWSER_TEST_F()
202 EXPECT_EQ(&shell()->web_contents()->GetController(), in IN_PROC_BROWSER_TEST_F()
218 &shell()->web_contents()->GetController()); in IN_PROC_BROWSER_TEST_F()
222 EXPECT_FALSE(shell()->web_contents()->GetController().GetPendingEntry()); in IN_PROC_BROWSER_TEST_F()
225 &shell()->web_contents()->GetController()); in IN_PROC_BROWSER_TEST_F()
310 NavigationController* controller = &shell()->web_contents()->GetController(); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/extensions/
Dscript_bubble_controller_unittest.cc139 web_contents()->GetController().GetVisibleEntry()->GetPageID(), in TEST_F()
140 web_contents()->GetController().GetVisibleEntry()->GetURL()); in TEST_F()
154 web_contents()->GetController().GetVisibleEntry()->GetPageID(), in TEST_F()
155 web_contents()->GetController().GetVisibleEntry()->GetURL()); in TEST_F()
168 web_contents()->GetController().GetVisibleEntry()->GetPageID(), in TEST_F()
169 web_contents()->GetController().GetVisibleEntry()->GetURL()); in TEST_F()
Dextension_override_apitest.cc58 ASSERT_TRUE(tab->GetController().GetVisibleEntry()); in IN_PROC_BROWSER_TEST_F()
59 EXPECT_TRUE(tab->GetController().GetVisibleEntry()->GetURL(). in IN_PROC_BROWSER_TEST_F()
83 ASSERT_TRUE(tab->GetController().GetVisibleEntry()); in IN_PROC_BROWSER_TEST_F()
84 EXPECT_FALSE(tab->GetController().GetVisibleEntry()->GetURL(). in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
Dgenerated_credit_card_decoration.mm21 GeneratedCreditCardBubbleController* controller = GetController();
37 GeneratedCreditCardBubbleController* controller = GetController();
42 GeneratedCreditCardBubbleController* controller = GetController();
51 GetController() const { function
/external/chromium_org/chrome/browser/ui/toolbar/
Dback_forward_menu_model.cc307 items = contents->GetController().GetEntryCount() - in GetHistoryItemCount()
308 contents->GetController().GetCurrentEntryIndex() - 1; in GetHistoryItemCount()
310 items = contents->GetController().GetCurrentEntryIndex(); in GetHistoryItemCount()
325 int current_entry = contents->GetController().GetCurrentEntryIndex(); in GetChapterStopCount()
349 NavigationController& controller = contents->GetController(); in GetIndexOfNextChapterStop()
403 int entry = contents->GetController().GetCurrentEntryIndex() + offset; in FindChapterStop()
438 index += contents->GetController().GetCurrentEntryIndex() + 1; in MenuIndexToNavEntryIndex()
441 index = contents->GetController().GetCurrentEntryIndex() - (index + 1); in MenuIndexToNavEntryIndex()
461 NavigationController& controller = GetWebContents()->GetController(); in GetNavigationEntry()
/external/chromium_org/chrome/browser/ui/bookmarks/
Dbookmark_tab_helper.cc27 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/chrome/browser/ui/search/
Dsearch_ipc_router_unittest.cc202 contents->GetController().GetVisibleEntry()->GetPageID(), in TEST_F()
219 contents->GetController().GetVisibleEntry()->GetPageID(), in TEST_F()
238 contents->GetController().GetVisibleEntry()->GetPageID(), in TEST_F()
257 contents->GetController().GetVisibleEntry()->GetPageID(), in TEST_F()
298 contents->GetController().GetVisibleEntry()->GetPageID(), in TEST_F()
319 contents->GetController().GetVisibleEntry()->GetPageID(), in TEST_F()
335 contents->GetController().GetVisibleEntry()->GetPageID(), in TEST_F()
351 contents->GetController().GetVisibleEntry()->GetPageID(), in TEST_F()
368 contents->GetController().GetVisibleEntry()->GetPageID(), in TEST_F()
386 contents->GetController().GetVisibleEntry()->GetPageID(), in TEST_F()
[all …]
Dinstant_extended_interactive_uitest.cc724 EXPECT_TRUE(active_tab->GetController().CanGoBack()); in IN_PROC_BROWSER_TEST_F()
728 &active_tab->GetController())); in IN_PROC_BROWSER_TEST_F()
729 active_tab->GetController().GoBack(); in IN_PROC_BROWSER_TEST_F()
771 EXPECT_TRUE(active_tab->GetController().CanGoBack()); in IN_PROC_BROWSER_TEST_F()
775 &active_tab->GetController())); in IN_PROC_BROWSER_TEST_F()
776 active_tab->GetController().GoBack(); in IN_PROC_BROWSER_TEST_F()
782 EXPECT_TRUE(active_tab->GetController().CanGoForward()); in IN_PROC_BROWSER_TEST_F()
786 &active_tab->GetController())); in IN_PROC_BROWSER_TEST_F()
787 active_tab->GetController().GoForward(); in IN_PROC_BROWSER_TEST_F()
831 EXPECT_TRUE(active_tab->GetController().CanGoBack()); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/favicon/
Dfavicon_tab_helper.cc64 const NavigationController& controller = web_contents()->GetController(); in GetFavicon()
76 const NavigationController& controller = web_contents()->GetController(); in FaviconIsValid()
90 const NavigationController& controller = web_contents()->GetController(); in ShouldDisplayFavicon()
108 NavigationEntry* entry = web_contents()->GetController().GetActiveEntry(); in SaveFavicon()
134 return web_contents()->GetController().GetActiveEntry(); in GetActiveEntry()
/external/chromium_org/content/shell/browser/
Dshell_web_contents_view_delegate_win.cc94 web_contents_->GetController().CanGoBack()); in ShowContextMenu()
100 web_contents_->GetController().CanGoForward()); in ShowContextMenu()
216 web_contents_->GetController().GoToOffset(-1); in MenuItemSelected()
220 web_contents_->GetController().GoToOffset(1); in MenuItemSelected()
224 web_contents_->GetController().Reload(false); in MenuItemSelected()
/external/chromium_org/chrome/browser/ssl/
Dssl_browser_tests.cc125 NavigationEntry* entry = tab->GetController().GetActiveEntry(); in CheckState()
157 NavigationEntry* entry = tab->GetController().GetActiveEntry(); in CheckAuthenticationBrokenState()
217 content::Source<NavigationController>(&tab->GetController())); in ProceedThroughInterstitial()
423 NavigationEntry* entry = tab->GetController().GetActiveEntry(); in IN_PROC_BROWSER_TEST_F()
467 NavigationEntry* entry = tab->GetController().GetActiveEntry(); in IN_PROC_BROWSER_TEST_F()
504 NavigationEntry* entry = tab->GetController().GetActiveEntry(); in IN_PROC_BROWSER_TEST_F()
514 tab->GetController().GoToOffset(-1); in IN_PROC_BROWSER_TEST_F()
531 NavigationEntry* entry1 = tab->GetController().GetActiveEntry(); in IN_PROC_BROWSER_TEST_F()
535 NavigationEntry* entry2 = tab->GetController().GetActiveEntry(); in IN_PROC_BROWSER_TEST_F()
542 content::Source<NavigationController>(&tab->GetController())); in IN_PROC_BROWSER_TEST_F()
[all …]

12345678910>>...12