Home
last modified time | relevance | path

Searched refs:tab_helper (Results 1 – 8 of 8) sorted by relevance

/external/chromium/chrome/browser/automation/
Dautomation_tab_helper_unittest.cc23 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 AutomationTabHelperTest
56 ACTION_P2(CheckHasPendingLoads, tab_helper, has_pending_loads) { in ACTION_P2() argument
57 EXPECT_EQ(has_pending_loads, tab_helper->has_pending_loads()); in ACTION_P2()
71 tab_helper()->RemoveObserver(&mock_observer_); in TEST_F()
[all …]
Dmock_tab_event_observer.cc9 MockTabEventObserver::MockTabEventObserver(AutomationTabHelper* tab_helper) { in MockTabEventObserver() argument
10 TabEventObserver::StartObserving(tab_helper); in MockTabEventObserver()
15 void MockTabEventObserver::StartObserving(AutomationTabHelper* tab_helper) { in StartObserving() argument
16 TabEventObserver::StartObserving(tab_helper); in StartObserving()
19 void MockTabEventObserver::StopObserving(AutomationTabHelper* tab_helper) { in StopObserving() argument
20 TabEventObserver::StopObserving(tab_helper); in StopObserving()
Dautomation_tab_helper_browsertest.cc102 AutomationTabHelper* tab_helper() { in tab_helper() function in AutomationTabHelperBrowserTest
115 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()
Dautomation_tab_helper.cc24 void TabEventObserver::StartObserving(AutomationTabHelper* tab_helper) { in StartObserving() argument
25 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() argument
30 tab_helper->RemoveObserver(this); in StopObserving()
32 std::find(event_sources_.begin(), event_sources_.end(), tab_helper); in StopObserving()
Dmock_tab_event_observer.h16 explicit MockTabEventObserver(AutomationTabHelper* tab_helper);
20 void StartObserving(AutomationTabHelper* tab_helper);
21 void StopObserving(AutomationTabHelper* tab_helper);
Dautomation_tab_helper.h57 void StartObserving(AutomationTabHelper* tab_helper);
62 void StopObserving(AutomationTabHelper* tab_helper);
/external/chromium/chrome/browser/ui/search_engines/
Dtemplate_url_fetcher_ui_callbacks.cc17 SearchEngineTabHelper* tab_helper, in TemplateURLFetcherUICallbacks() argument
19 : source_(tab_helper), in TemplateURLFetcherUICallbacks()
Dtemplate_url_fetcher_ui_callbacks.h21 explicit TemplateURLFetcherUICallbacks(SearchEngineTabHelper* tab_helper,