OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ |
6 #define EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ | 6 #define EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... | |
28 class GuestViewManagerDelegate; | 28 class GuestViewManagerDelegate; |
29 } // namespace guest_view | 29 } // namespace guest_view |
30 | 30 |
31 namespace extensions { | 31 namespace extensions { |
32 | 32 |
33 class AppViewGuestDelegate; | 33 class AppViewGuestDelegate; |
34 class ContentRulesRegistry; | 34 class ContentRulesRegistry; |
35 class DevicePermissionsPrompt; | 35 class DevicePermissionsPrompt; |
36 class ExtensionOptionsGuest; | 36 class ExtensionOptionsGuest; |
37 class ExtensionOptionsGuestDelegate; | 37 class ExtensionOptionsGuestDelegate; |
38 class KioskDelegate; | |
38 class ManagementAPIDelegate; | 39 class ManagementAPIDelegate; |
39 class MimeHandlerViewGuest; | 40 class MimeHandlerViewGuest; |
40 class MimeHandlerViewGuestDelegate; | 41 class MimeHandlerViewGuestDelegate; |
41 class RulesCacheDelegate; | 42 class RulesCacheDelegate; |
42 class SettingsObserver; | 43 class SettingsObserver; |
43 class ValueStoreCache; | 44 class ValueStoreCache; |
44 class ValueStoreFactory; | 45 class ValueStoreFactory; |
45 class VirtualKeyboardDelegate; | 46 class VirtualKeyboardDelegate; |
46 class WebRequestEventRouterDelegate; | 47 class WebRequestEventRouterDelegate; |
47 class WebViewGuest; | 48 class WebViewGuest; |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
120 virtual std::unique_ptr<DevicePermissionsPrompt> | 121 virtual std::unique_ptr<DevicePermissionsPrompt> |
121 CreateDevicePermissionsPrompt(content::WebContents* web_contents) const; | 122 CreateDevicePermissionsPrompt(content::WebContents* web_contents) const; |
122 | 123 |
123 // Returns a delegate for some of VirtualKeyboardAPI's behavior. | 124 // Returns a delegate for some of VirtualKeyboardAPI's behavior. |
124 virtual std::unique_ptr<VirtualKeyboardDelegate> | 125 virtual std::unique_ptr<VirtualKeyboardDelegate> |
125 CreateVirtualKeyboardDelegate() const; | 126 CreateVirtualKeyboardDelegate() const; |
126 | 127 |
127 // Creates a delegate for handling the management extension api. | 128 // Creates a delegate for handling the management extension api. |
128 virtual ManagementAPIDelegate* CreateManagementAPIDelegate() const; | 129 virtual ManagementAPIDelegate* CreateManagementAPIDelegate() const; |
129 | 130 |
131 // Returns a delegate that provides kiosk mode functionality. | |
132 virtual KioskDelegate* GetKioskDelegate(); | |
asargent_no_longer_on_chrome
2016/09/28 19:58:15
Most of the rest of these functions are named Crea
Rahul Chaturvedi
2016/09/28 20:26:47
So the difference is that the rest of the function
asargent_no_longer_on_chrome
2016/09/28 20:45:19
Thinking about this some more, does the KioskDeleg
Rahul Chaturvedi
2016/09/28 21:10:29
I really don't want to have a global ::Get. This c
asargent_no_longer_on_chrome
2016/09/28 21:49:41
I'd still prefer that we put this in ExtensionsCli
Rahul Chaturvedi
2016/09/28 23:00:10
Moved to ExtensionsBrowserClient (since Extensions
| |
133 | |
130 // NOTE: If this interface gains too many methods (perhaps more than 20) it | 134 // NOTE: If this interface gains too many methods (perhaps more than 20) it |
131 // should be split into one interface per API. | 135 // should be split into one interface per API. |
132 }; | 136 }; |
133 | 137 |
134 } // namespace extensions | 138 } // namespace extensions |
135 | 139 |
136 #endif // EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ | 140 #endif // EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ |
OLD | NEW |