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_NTP_CORE_APP_LAUNCHER_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_CORE_APP_LAUNCHER_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_NTP_CORE_APP_LAUNCHER_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_NTP_CORE_APP_LAUNCHER_HANDLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/values.h" | 12 #include "base/values.h" |
13 #include "chrome/common/extensions/extension_constants.h" | 13 #include "chrome/common/extensions/extension_constants.h" |
14 #include "content/public/browser/web_ui_message_handler.h" | 14 #include "content/public/browser/web_ui_message_handler.h" |
15 #include "extensions/common/extension.h" | 15 #include "extensions/common/extension.h" |
16 | 16 |
17 namespace extensions { | |
18 class Extension; | |
19 } | |
20 | |
21 namespace user_prefs { | 17 namespace user_prefs { |
22 class PrefRegistrySyncable; | 18 class PrefRegistrySyncable; |
23 } | 19 } |
24 | 20 |
25 class Profile; | 21 class Profile; |
26 | 22 |
27 class CoreAppLauncherHandler : public content::WebUIMessageHandler { | 23 class CoreAppLauncherHandler : public content::WebUIMessageHandler { |
28 public: | 24 public: |
29 CoreAppLauncherHandler(); | 25 CoreAppLauncherHandler(); |
30 ~CoreAppLauncherHandler() override; | 26 ~CoreAppLauncherHandler() override; |
(...skipping 13 matching lines...) Expand all Loading... |
44 std::string escaped_url, | 40 std::string escaped_url, |
45 extension_misc::AppLaunchBucket bucket); | 41 extension_misc::AppLaunchBucket bucket); |
46 | 42 |
47 // WebUIMessageHandler implementation. | 43 // WebUIMessageHandler implementation. |
48 void RegisterMessages() override; | 44 void RegisterMessages() override; |
49 | 45 |
50 DISALLOW_COPY_AND_ASSIGN(CoreAppLauncherHandler); | 46 DISALLOW_COPY_AND_ASSIGN(CoreAppLauncherHandler); |
51 }; | 47 }; |
52 | 48 |
53 #endif // CHROME_BROWSER_UI_WEBUI_NTP_CORE_APP_LAUNCHER_HANDLER_H_ | 49 #endif // CHROME_BROWSER_UI_WEBUI_NTP_CORE_APP_LAUNCHER_HANDLER_H_ |
OLD | NEW |