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

Unified Diff: chrome/browser/ui/search/instant_extended_interactive_uitest.cc

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/cocoa/view_id_util_browsertest.mm ('k') | chrome/browser/ui/search/search_ipc_router.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/search/instant_extended_interactive_uitest.cc
diff --git a/chrome/browser/ui/search/instant_extended_interactive_uitest.cc b/chrome/browser/ui/search/instant_extended_interactive_uitest.cc
index 34a519efc3727ce3785876cc2ce38308d25a87a0..44167e878c194d6ffa7e655b5ebfd5eb15cdfffc 100644
--- a/chrome/browser/ui/search/instant_extended_interactive_uitest.cc
+++ b/chrome/browser/ui/search/instant_extended_interactive_uitest.cc
@@ -139,9 +139,8 @@ class InstantExtendedTest : public InProcessBrowserTest,
submit_count_(0),
on_esc_key_press_event_calls_(0),
on_focus_changed_calls_(0),
- is_focused_(false),
- on_toggle_voice_search_calls_(0) {
- }
+ is_focused_(false) {}
+
protected:
void SetUpInProcessBrowserTestFixture() override {
search::EnableQueryExtractionForTesting();
@@ -185,8 +184,6 @@ class InstantExtendedTest : public InProcessBrowserTest,
&on_focus_changed_calls_) &&
GetBoolFromJS(contents, "isFocused",
&is_focused_) &&
- GetIntFromJS(contents, "onToggleVoiceSearchCalls",
- &on_toggle_voice_search_calls_) &&
GetStringFromJS(contents, "prefetchQuery", &prefetch_query_value_);
}
@@ -247,7 +244,6 @@ class InstantExtendedTest : public InProcessBrowserTest,
std::string query_value_;
int on_focus_changed_calls_;
bool is_focused_;
- int on_toggle_voice_search_calls_;
std::string prefetch_query_value_;
};
« no previous file with comments | « chrome/browser/ui/cocoa/view_id_util_browsertest.mm ('k') | chrome/browser/ui/search/search_ipc_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698