Index: chrome/browser/ui/app_list/start_page_observer.h |
diff --git a/chrome/browser/ui/app_list/start_page_observer.h b/chrome/browser/ui/app_list/start_page_observer.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d705b20544769bb7a6ad63cd56cb0cbd3e3754c8 |
--- /dev/null |
+++ b/chrome/browser/ui/app_list/start_page_observer.h |
@@ -0,0 +1,23 @@ |
+// Copyright 2013 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef CHROME_BROWSER_UI_APP_LIST_START_PAGE_OBSERVER_H_ |
+#define CHROME_BROWSER_UI_APP_LIST_START_PAGE_OBSERVER_H_ |
+ |
+#include "base/strings/string16.h" |
+ |
+namespace app_list { |
+ |
+class StartPageObserver { |
+ public: |
+ // Invoked when a search query happens from the start page. |
+ virtual void OnSearch(const base::string16& query) = 0; |
+ |
+ protected: |
+ virtual ~StartPageObserver() {} |
+}; |
+ |
+} // namespace app_list |
+ |
+#endif // CHROME_BROWSER_UI_APP_LIST_START_PAGE_OBSERVER_H_ |