: dismiss_count_(0),
open_search_result_count_(0),
test_signin_delegate_(new TestSigninDelegate),
- model_(new AppListTestModel) {
+ model_(new AppListTestModel),
+ speech_ui_(SPEECH_RECOGNITION_OFF) {
}
AppListTestViewDelegate::~AppListTestViewDelegate() {}
}
void AppListTestViewDelegate::OpenSearchResult(SearchResult* result,
+ bool auto_launch,
int event_flags) {
++open_search_result_count_;
}
base::TimeDelta AppListTestViewDelegate::GetAutoLaunchTimeout() {
- return base::TimeDelta();
+ return auto_launch_timeout_;
+}
+
+void AppListTestViewDelegate::AutoLaunchCanceled() {
+ auto_launch_timeout_ = base::TimeDelta();
}
void AppListTestViewDelegate::Dismiss() {