| Index: chrome/browser/ui/search/search_ipc_router.h
|
| diff --git a/chrome/browser/ui/search/search_ipc_router.h b/chrome/browser/ui/search/search_ipc_router.h
|
| index 0f62aba48b36dfc746632aba778f3c11c21afec9..e0f3749e6063a3da6b5866b02f7215d7225d48c4 100644
|
| --- a/chrome/browser/ui/search/search_ipc_router.h
|
| +++ b/chrome/browser/ui/search/search_ipc_router.h
|
| @@ -36,9 +36,6 @@ class SearchIPCRouter : public content::WebContentsObserver {
|
| // load event.
|
| virtual void OnInstantSupportDetermined(bool supports_instant) = 0;
|
|
|
| - // Called upon determination of voice search API support.
|
| - virtual void OnSetVoiceSearchSupport(bool supports_voice_search) = 0;
|
| -
|
| // Called when the page wants the omnibox to be focused. |state| specifies
|
| // the omnibox focus state.
|
| virtual void FocusOmnibox(OmniboxFocusState state) = 0;
|
| @@ -100,7 +97,6 @@ class SearchIPCRouter : public content::WebContentsObserver {
|
|
|
| // SearchIPCRouter calls these functions before sending/receiving messages
|
| // to/from the page.
|
| - virtual bool ShouldProcessSetVoiceSearchSupport() = 0;
|
| virtual bool ShouldProcessFocusOmnibox(bool is_active_tab) = 0;
|
| virtual bool ShouldProcessNavigateToURL(bool is_active_tab) = 0;
|
| virtual bool ShouldProcessDeleteMostVisitedItem() = 0;
|
| @@ -118,7 +114,6 @@ class SearchIPCRouter : public content::WebContentsObserver {
|
| virtual bool ShouldSendOmniboxFocusChanged() = 0;
|
| virtual bool ShouldSendMostVisitedItems() = 0;
|
| virtual bool ShouldSendThemeBackgroundInfo() = 0;
|
| - virtual bool ShouldSendToggleVoiceSearch() = 0;
|
| virtual bool ShouldSubmitQuery() = 0;
|
| };
|
|
|
| @@ -167,9 +162,6 @@ class SearchIPCRouter : public content::WebContentsObserver {
|
| // Tells the renderer about the current theme background.
|
| void SendThemeBackgroundInfo(const ThemeBackgroundInfo& theme_info);
|
|
|
| - // Tells the page to toggle voice search.
|
| - void ToggleVoiceSearch();
|
| -
|
| // Tells the page that the user pressed Enter in the omnibox.
|
| void Submit(const base::string16& text,
|
| const EmbeddedSearchRequestParams& params);
|
| @@ -199,8 +191,6 @@ class SearchIPCRouter : public content::WebContentsObserver {
|
| bool OnMessageReceived(const IPC::Message& message) override;
|
|
|
| void OnInstantSupportDetermined(int page_seq_no, bool supports_instant) const;
|
| - void OnVoiceSearchSupportDetermined(int page_id,
|
| - bool supports_voice_search) const;
|
| void OnFocusOmnibox(int page_id, OmniboxFocusState state) const;
|
| void OnSearchBoxNavigate(int page_id,
|
| const GURL& url,
|
|
|