OLD | NEW |
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 21 matching lines...) Expand all Loading... |
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 void HandleSearch(const base::ListValue* args); |
| 42 void HandleSpeechRecognition(const base::ListValue* args); |
42 | 43 |
43 RecommendedApps* recommended_apps_; // Not owned. | 44 RecommendedApps* recommended_apps_; // Not owned. |
44 | 45 |
45 DISALLOW_COPY_AND_ASSIGN(StartPageHandler); | 46 DISALLOW_COPY_AND_ASSIGN(StartPageHandler); |
46 }; | 47 }; |
47 | 48 |
48 } // namespace app_list | 49 } // namespace app_list |
49 | 50 |
50 #endif // CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_HANDLER_H_ | 51 #endif // CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_HANDLER_H_ |
OLD | NEW |