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

Side by Side Diff: chrome/browser/ui/webui/app_list/start_page_handler.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: fix 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_HANDLER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "chrome/browser/ui/app_list/recommended_apps_observer.h" 10 #include "chrome/browser/ui/app_list/recommended_apps_observer.h"
(...skipping 20 matching lines...) Expand all
31 31
32 // RecommendedAppsObserver overrdies: 32 // RecommendedAppsObserver overrdies:
33 virtual void OnRecommendedAppsChanged() OVERRIDE; 33 virtual void OnRecommendedAppsChanged() OVERRIDE;
34 34
35 // Creates a ListValue for the recommended apps and sends it to js side. 35 // Creates a ListValue for the recommended apps and sends it to js side.
36 void SendRecommendedApps(); 36 void SendRecommendedApps();
37 37
38 // JS callbacks. 38 // JS callbacks.
39 void HandleInitialize(const base::ListValue* args); 39 void HandleInitialize(const base::ListValue* args);
40 void HandleLaunchApp(const base::ListValue* args); 40 void HandleLaunchApp(const base::ListValue* args);
41 void HandleSearch(const base::ListValue* args);
41 42
42 RecommendedApps* recommended_apps_; // Not owned. 43 RecommendedApps* recommended_apps_; // Not owned.
43 44
44 DISALLOW_COPY_AND_ASSIGN(StartPageHandler); 45 DISALLOW_COPY_AND_ASSIGN(StartPageHandler);
45 }; 46 };
46 47
47 } // namespace app_list 48 } // namespace app_list
48 49
49 #endif // CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_HANDLER_H_ 50 #endif // CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/app_list/start_page_service.cc ('k') | chrome/browser/ui/webui/app_list/start_page_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698