Home
last modified time | relevance | path

Searched refs:SearchTabHelper (Results 1 – 19 of 19) sorted by relevance

/external/chromium_org/chrome/browser/ui/search/
Dsearch_tab_helper.cc51 DEFINE_WEB_CONTENTS_USER_DATA_KEY(SearchTabHelper);
129 SearchTabHelper::SearchTabHelper(content::WebContents* web_contents) in SearchTabHelper() function in SearchTabHelper
148 SearchTabHelper::~SearchTabHelper() { in ~SearchTabHelper()
153 void SearchTabHelper::InitForPreloadedNTP() { in InitForPreloadedNTP()
157 void SearchTabHelper::OmniboxEditModelChanged(bool user_input_in_progress, in OmniboxEditModelChanged()
169 void SearchTabHelper::NavigationEntryUpdated() { in NavigationEntryUpdated()
176 void SearchTabHelper::InstantSupportChanged(bool instant_support) { in InstantSupportChanged()
194 bool SearchTabHelper::SupportsInstant() const { in SupportsInstant()
198 void SearchTabHelper::SetSuggestionToPrefetch( in SetSuggestionToPrefetch()
203 void SearchTabHelper::Submit(const base::string16& text) { in Submit()
[all …]
Dsearch_tab_helper_unittest.cc65 SearchTabHelper::CreateForWebContents(web_contents()); in SetUp()
96 SearchTabHelper* search_tab_helper = in TEST_F()
97 SearchTabHelper::FromWebContents(web_contents()); in TEST_F()
98 ASSERT_NE(static_cast<SearchTabHelper*>(NULL), search_tab_helper); in TEST_F()
108 SearchTabHelper* search_tab_helper = in TEST_F()
109 SearchTabHelper::FromWebContents(web_contents()); in TEST_F()
110 ASSERT_NE(static_cast<SearchTabHelper*>(NULL), search_tab_helper); in TEST_F()
131 SearchTabHelper* search_tab_helper = in TEST_F()
132 SearchTabHelper::FromWebContents(web_contents()); in TEST_F()
133 ASSERT_NE(static_cast<SearchTabHelper*>(NULL), search_tab_helper); in TEST_F()
[all …]
Dsearch_tab_helper.h40 class SearchTabHelper : public content::WebContentsObserver,
41 public content::WebContentsUserData<SearchTabHelper>,
45 virtual ~SearchTabHelper();
90 friend class content::WebContentsUserData<SearchTabHelper>;
127 explicit SearchTabHelper(content::WebContents* web_contents);
215 DISALLOW_COPY_AND_ASSIGN(SearchTabHelper);
Dinstant_page_unittest.cc65 SearchTabHelper::CreateForWebContents(web_contents()); in SetUp()
87 SearchTabHelper::FromWebContents(web_contents())-> in TEST_F()
99 SearchTabHelper::FromWebContents(web_contents())-> in TEST_F()
122 SearchTabHelper::FromWebContents(web_contents())-> in TEST_F()
138 SearchTabHelper::FromWebContents(web_contents())-> in TEST_F()
153 SearchTabHelper::FromWebContents(web_contents())->InstantSupportChanged(true); in TEST_F()
Dsearch_delegate.cc27 tab_model_ = SearchTabHelper::FromWebContents(web_contents)->model(); in OnTabActivated()
41 SearchTabHelper* search_tab_helper = in StopObservingTab()
42 SearchTabHelper::FromWebContents(web_contents); in StopObservingTab()
Dinstant_page.cc26 SearchTabHelper::FromWebContents(contents())->model()->RemoveObserver(this); in ~InstantPage()
31 SearchTabHelper::FromWebContents(contents())->SupportsInstant() : false; in supports_instant()
60 SearchModel* model = SearchTabHelper::FromWebContents(contents())->model(); in SetContents()
121 SearchTabHelper::FromWebContents(contents())->model()->RemoveObserver(this); in ClearContents()
Dsearch_delegate_unittest.cc23 SearchTabHelper::FromWebContents(web_contents)->model()-> in TEST_F()
32 SearchTabHelper::FromWebContents(web_contents)->model()-> in TEST_F()
39 SearchTabHelper::FromWebContents(web_contents)->model()-> in TEST_F()
Dsearch_ipc_router_policy_unittest.cc23 SearchTabHelper::CreateForWebContents(web_contents()); in SetUp()
31 SearchTabHelper* search_tab_helper = in GetSearchIPCRouterPolicy()
32 SearchTabHelper::FromWebContents(web_contents()); in GetSearchIPCRouterPolicy()
33 EXPECT_NE(static_cast<SearchTabHelper*>(NULL), search_tab_helper); in GetSearchIPCRouterPolicy()
Dinstant_search_prerenderer.cc23 return SearchTabHelper::FromWebContents(contents)->IsSearchResultsPage(); in PageSupportsInstantSearch()
99 SearchTabHelper::FromWebContents(prerender_contents())-> in Prerender()
106 SearchTabHelper::FromWebContents(prerender_contents())->Submit(query); in Commit()
Dinstant_controller.cc76 SearchTabHelper::FromWebContents(contents)->NavigationEntryUpdated(); in EnsureSearchTermsAreSet()
103 SearchTabHelper::FromWebContents(instant_tab_->contents())-> in SetSuggestionToPrefetch()
107 SearchTabHelper::FromWebContents(instant_tab_->contents())-> in SetSuggestionToPrefetch()
148 SearchTabHelper::FromWebContents(instant_tab_->contents())->Submit( in SubmitQuery()
Dsearch_model_unittest.cc78 SearchTabHelper::CreateForWebContents(web_contents()); in SetUp()
79 SearchTabHelper* search_tab_helper = in SetUp()
80 SearchTabHelper::FromWebContents(web_contents()); in SetUp()
Dsearch_ipc_router_unittest.cc92 SearchTabHelper::CreateForWebContents(web_contents()); in SetUp()
125 SearchTabHelper* GetSearchTabHelper( in GetSearchTabHelper()
128 return SearchTabHelper::FromWebContents(web_contents); in GetSearchTabHelper()
134 SearchTabHelper* search_tab_helper = GetSearchTabHelper(contents); in SetupMockDelegateAndPolicy()
135 ASSERT_NE(static_cast<SearchTabHelper*>(NULL), search_tab_helper); in SetupMockDelegateAndPolicy()
167 SearchTabHelper* search_tab_helper = GetSearchTabHelper(contents); in GetSearchIPCRouterPolicy()
168 EXPECT_NE(static_cast<SearchTabHelper*>(NULL), search_tab_helper); in GetSearchIPCRouterPolicy()
Dinstant_ntp.cc35 SearchTabHelper::FromWebContents(content)->InitForPreloadedNTP(); in InitContents()
Dinstant_loader.cc100 SearchTabHelper::CreateForWebContents(contents()); in SetContents()
Dinstant_search_prerenderer_unittest.cc120 SearchTabHelper::CreateForWebContents(prerender_contents_.get()); in StartPrerendering()
/external/chromium_org/chrome/browser/ui/omnibox/
Domnibox_current_page_delegate_impl.cc90 SearchTabHelper::FromWebContents( in NotifySearchTabHelper()
/external/chromium_org/chrome/browser/ui/
Dbrowser_tab_contents.cc158 SearchTabHelper::CreateForWebContents(web_contents); in AttachTabHelpers()
Dbrowser_commands.cc981 SearchTabHelper* search_tab_helper = in ToggleSpeechInput()
982 SearchTabHelper::FromWebContents(web_contents); in ToggleSpeechInput()
Dbrowser.cc957 SearchTabHelper::FromWebContents(contents)->OnTabDeactivated(); in TabDeactivated()
1038 SearchTabHelper::FromWebContents(new_contents)->OnTabActivated(); in ActiveTabChanged()