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

Unified Diff: ui/app_list/test/app_list_test_view_delegate.h

Issue 105773004: Introduces the speech recognition UI to app_list. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years 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 | « ui/app_list/speech_ui_model_observer.h ('k') | ui/app_list/test/app_list_test_view_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/test/app_list_test_view_delegate.h
diff --git a/ui/app_list/test/app_list_test_view_delegate.h b/ui/app_list/test/app_list_test_view_delegate.h
index 0d49182aa8a8f223623f4bb897b79d7b490d6aab..33448ecb9cbbe3d0168f5ec87d5868cadec18081 100644
--- a/ui/app_list/test/app_list_test_view_delegate.h
+++ b/ui/app_list/test/app_list_test_view_delegate.h
@@ -12,6 +12,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/observer_list.h"
#include "ui/app_list/app_list_view_delegate.h"
+#include "ui/app_list/speech_ui_model.h"
namespace app_list {
namespace test {
@@ -40,6 +41,7 @@ class AppListTestViewDelegate : public AppListViewDelegate {
virtual void SetProfileByPath(const base::FilePath& profile_path) OVERRIDE {}
virtual AppListModel* GetModel() OVERRIDE;
virtual SigninDelegate* GetSigninDelegate() OVERRIDE;
+ virtual SpeechUIModel* GetSpeechUI() OVERRIDE;
virtual void GetShortcutPathForApp(
const std::string& app_id,
const base::Callback<void(const base::FilePath&)>& callback) OVERRIDE;
@@ -78,6 +80,7 @@ class AppListTestViewDelegate : public AppListViewDelegate {
scoped_ptr<TestSigninDelegate> test_signin_delegate_;
scoped_ptr<AppListTestModel> model_;
ObserverList<app_list::AppListViewDelegateObserver> observers_;
+ SpeechUIModel speech_ui_;
};
} // namespace test
« no previous file with comments | « ui/app_list/speech_ui_model_observer.h ('k') | ui/app_list/test/app_list_test_view_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698