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 18 matching lines...) Expand all Loading... |
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 ManagementAPIDelegate; | 38 class ManagementAPIDelegate; |
| 39 class MetricsPrivateDelegate; |
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; |
48 class WebViewGuestDelegate; | 49 class WebViewGuestDelegate; |
(...skipping 71 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 // If supported by the embedder, returns a delegate for embedder-dependent |
| 132 // MetricsPrivateAPI behavior. |
| 133 virtual MetricsPrivateDelegate* GetMetricsPrivateDelegate(); |
| 134 |
130 // NOTE: If this interface gains too many methods (perhaps more than 20) it | 135 // NOTE: If this interface gains too many methods (perhaps more than 20) it |
131 // should be split into one interface per API. | 136 // should be split into one interface per API. |
132 }; | 137 }; |
133 | 138 |
134 } // namespace extensions | 139 } // namespace extensions |
135 | 140 |
136 #endif // EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ | 141 #endif // EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ |
OLD | NEW |