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 44167e878c194d6ffa7e655b5ebfd5eb15cdfffc..34a519efc3727ce3785876cc2ce38308d25a87a0 100644 |
--- a/chrome/browser/ui/search/instant_extended_interactive_uitest.cc |
+++ b/chrome/browser/ui/search/instant_extended_interactive_uitest.cc |
@@ -139,8 +139,9 @@ |
submit_count_(0), |
on_esc_key_press_event_calls_(0), |
on_focus_changed_calls_(0), |
- is_focused_(false) {} |
- |
+ is_focused_(false), |
+ on_toggle_voice_search_calls_(0) { |
+ } |
protected: |
void SetUpInProcessBrowserTestFixture() override { |
search::EnableQueryExtractionForTesting(); |
@@ -184,6 +185,8 @@ |
&on_focus_changed_calls_) && |
GetBoolFromJS(contents, "isFocused", |
&is_focused_) && |
+ GetIntFromJS(contents, "onToggleVoiceSearchCalls", |
+ &on_toggle_voice_search_calls_) && |
GetStringFromJS(contents, "prefetchQuery", &prefetch_query_value_); |
} |
@@ -244,6 +247,7 @@ |
std::string query_value_; |
int on_focus_changed_calls_; |
bool is_focused_; |
+ int on_toggle_voice_search_calls_; |
std::string prefetch_query_value_; |
}; |