Searched refs:tab_helper (Results 1 – 8 of 8) sorted by relevance
23 mock_observer_.StartObserving(tab_helper()); in SetUp()30 tab_helper()->DidStartLoading(); in StartLoading()34 tab_helper()->DidStopLoading(); in StopLoading()38 tab_helper()->TabContentsDestroyed(contents_wrapper()->tab_contents()); in TabContentsDestroyed()42 tab_helper()->OnWillPerformClientRedirect(frame_id, 0); in WillPerformClientRedirect()46 tab_helper()->OnDidCompleteOrCancelClientRedirect(frame_id); in CompleteOrCancelClientRedirect()49 AutomationTabHelper* tab_helper() { in tab_helper() function in AutomationTabHelperTest56 ACTION_P2(CheckHasPendingLoads, tab_helper, has_pending_loads) { in ACTION_P2() argument57 EXPECT_EQ(has_pending_loads, tab_helper->has_pending_loads()); in ACTION_P2()71 tab_helper()->RemoveObserver(&mock_observer_); in TEST_F()[all …]
9 MockTabEventObserver::MockTabEventObserver(AutomationTabHelper* tab_helper) { in MockTabEventObserver() argument10 TabEventObserver::StartObserving(tab_helper); in MockTabEventObserver()15 void MockTabEventObserver::StartObserving(AutomationTabHelper* tab_helper) { in StartObserving() argument16 TabEventObserver::StartObserving(tab_helper); in StartObserving()19 void MockTabEventObserver::StopObserving(AutomationTabHelper* tab_helper) { in StopObserving() argument20 TabEventObserver::StopObserving(tab_helper); in StopObserving()
102 AutomationTabHelper* tab_helper() { in tab_helper() function in AutomationTabHelperBrowserTest115 MockTabEventObserver mock_observer(tab_helper()); in IN_PROC_BROWSER_TEST_F()129 MockTabEventObserver mock_observer(tab_helper()); in IN_PROC_BROWSER_TEST_F()143 MockTabEventObserver mock_observer(tab_helper()); in IN_PROC_BROWSER_TEST_F()157 MockTabEventObserver mock_observer(tab_helper()); in IN_PROC_BROWSER_TEST_F()167 MockTabEventObserver mock_observer(tab_helper()); in IN_PROC_BROWSER_TEST_F()185 MockTabEventObserver mock_tab_observer(tab_helper()); in IN_PROC_BROWSER_TEST_F()202 MockTabEventObserver mock_tab_observer(tab_helper()); in IN_PROC_BROWSER_TEST_F()
24 void TabEventObserver::StartObserving(AutomationTabHelper* tab_helper) { in StartObserving() argument25 tab_helper->AddObserver(this); in StartObserving()26 event_sources_.push_back(tab_helper->AsWeakPtr()); in StartObserving()29 void TabEventObserver::StopObserving(AutomationTabHelper* tab_helper) { in StopObserving() argument30 tab_helper->RemoveObserver(this); in StopObserving()32 std::find(event_sources_.begin(), event_sources_.end(), tab_helper); in StopObserving()
16 explicit MockTabEventObserver(AutomationTabHelper* tab_helper);20 void StartObserving(AutomationTabHelper* tab_helper);21 void StopObserving(AutomationTabHelper* tab_helper);
57 void StartObserving(AutomationTabHelper* tab_helper);62 void StopObserving(AutomationTabHelper* tab_helper);
17 SearchEngineTabHelper* tab_helper, in TemplateURLFetcherUICallbacks() argument19 : source_(tab_helper), in TemplateURLFetcherUICallbacks()
21 explicit TemplateURLFetcherUICallbacks(SearchEngineTabHelper* tab_helper,