| 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/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/macros.h" | 9 #include "base/macros.h" |
| 10 #include "base/prefs/pref_change_registrar.h" | 10 #include "components/prefs/pref_change_registrar.h" |
| 11 #include "content/public/browser/web_ui_message_handler.h" | 11 #include "content/public/browser/web_ui_message_handler.h" |
| 12 | 12 |
| 13 namespace base { | 13 namespace base { |
| 14 class ListValue; | 14 class ListValue; |
| 15 } | 15 } |
| 16 | 16 |
| 17 namespace app_list { | 17 namespace app_list { |
| 18 | 18 |
| 19 // Handler for the app launcher start page. | 19 // Handler for the app launcher start page. |
| 20 class StartPageHandler : public content::WebUIMessageHandler { | 20 class StartPageHandler : public content::WebUIMessageHandler { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 33 void HandleLaunchApp(const base::ListValue* args); | 33 void HandleLaunchApp(const base::ListValue* args); |
| 34 | 34 |
| 35 PrefChangeRegistrar pref_change_registrar_; | 35 PrefChangeRegistrar pref_change_registrar_; |
| 36 | 36 |
| 37 DISALLOW_COPY_AND_ASSIGN(StartPageHandler); | 37 DISALLOW_COPY_AND_ASSIGN(StartPageHandler); |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 } // namespace app_list | 40 } // namespace app_list |
| 41 | 41 |
| 42 #endif // CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_HANDLER_H_ | 42 #endif // CHROME_BROWSER_UI_WEBUI_APP_LIST_START_PAGE_HANDLER_H_ |
| OLD | NEW |