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

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

Issue 1436583002: Revert of 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
« no previous file with comments | « chrome/browser/ui/search/search_model_unittest.cc ('k') | chrome/browser/ui/search/search_tab_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/search_tab_helper.h
diff --git a/chrome/browser/ui/search/search_tab_helper.h b/chrome/browser/ui/search/search_tab_helper.h
index 6c5bea98d2a25af137a3f4d9d5ec3167fa5ff33f..0db812788c6fb8edd5478b05ac99fc4ffd33b2c2 100644
--- a/chrome/browser/ui/search/search_tab_helper.h
+++ b/chrome/browser/ui/search/search_tab_helper.h
@@ -90,6 +90,9 @@
// Called when the tab corresponding to |this| instance is deactivated.
void OnTabDeactivated();
+ // Tells the page to toggle voice search.
+ void ToggleVoiceSearch();
+
// Returns true if the underlying page is a search results page.
bool IsSearchResultsPage();
@@ -155,6 +158,7 @@
// Overridden from SearchIPCRouter::Delegate:
void OnInstantSupportDetermined(bool supports_instant) override;
+ void OnSetVoiceSearchSupport(bool supports_voice_search) override;
void FocusOmnibox(OmniboxFocusState state) override;
void NavigateToURL(const GURL& url,
WindowOpenDisposition disposition,
« no previous file with comments | « chrome/browser/ui/search/search_model_unittest.cc ('k') | chrome/browser/ui/search/search_tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698