Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3409)

Unified Diff: chrome/browser/ui/search/search_ipc_router.h

Issue 1428423002: Remove setVoiceSearchSupported part of EmbeddedSearch SearchBox API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..56f7033bc4429bf22db186afc201577f4cd9e07b 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;
@@ -199,8 +195,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,

Powered by Google App Engine
This is Rietveld 408576698