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

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

Issue 1428423002: Remove setVoiceSearchSupported part of EmbeddedSearch SearchBox API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac fix 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_ipc_router_unittest.cc ('k') | chrome/browser/ui/search/search_model.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/search_model.h
diff --git a/chrome/browser/ui/search/search_model.h b/chrome/browser/ui/search/search_model.h
index 3e97cf2a981e95263101a45e9ae29d702733ab1d..e7e701e3e7004b5f4cd09bd173fa9bf5283d1ad4 100644
--- a/chrome/browser/ui/search/search_model.h
+++ b/chrome/browser/ui/search/search_model.h
@@ -24,9 +24,7 @@ class SearchModel {
public:
struct State {
State();
- State(const SearchMode& mode,
- InstantSupportState instant_support,
- bool voice_search_supported);
+ State(const SearchMode& mode, InstantSupportState instant_support);
bool operator==(const State& rhs) const;
@@ -35,9 +33,6 @@ class SearchModel {
// Does the current page support Instant?
InstantSupportState instant_support;
-
- // Does the current page support voice search?
- bool voice_search_supported;
};
SearchModel();
@@ -64,13 +59,6 @@ class SearchModel {
return state_.instant_support;
}
- // Sets the page voice search support state. Change notifications are sent to
- // observers.
- void SetVoiceSearchSupported(bool supported);
-
- // Gets the voice search support state of the page.
- bool voice_search_supported() const { return state_.voice_search_supported; }
-
// Add and remove observers.
void AddObserver(SearchModelObserver* observer);
void RemoveObserver(SearchModelObserver* observer);
« no previous file with comments | « chrome/browser/ui/search/search_ipc_router_unittest.cc ('k') | chrome/browser/ui/search/search_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698