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

Unified Diff: chrome/browser/ui/app_list/start_page_observer.h

Issue 55433002: Propagates the search result of start page to the app-list search box. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: observer Created 7 years, 1 month 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
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_
« no previous file with comments | « chrome/browser/ui/app_list/app_list_view_delegate.cc ('k') | chrome/browser/ui/app_list/start_page_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698