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..24706d0386030b3ebf274acbe581add22ebd3847 |
--- /dev/null |
+++ b/chrome/browser/ui/app_list/start_page_observer.h |
@@ -0,0 +1,20 @@ |
+// 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); |
+}; |
xiyuan
2013/11/01 17:28:56
nit:
protected:
virtual ~StartPageObserver() {}
Jun Mukai
2013/11/01 18:37:38
Done.
|
+ |
+} // namespace app_list |
+ |
+#endif // CHROME_BROWSER_UI_APP_LIST_START_PAGE_OBSERVER_H_ |