| 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 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 class WebContents; | 22 class WebContents; |
| 23 } | 23 } |
| 24 | 24 |
| 25 namespace extensions { | 25 namespace extensions { |
| 26 | 26 |
| 27 class AppViewGuestDelegate; | 27 class AppViewGuestDelegate; |
| 28 class ContentRulesRegistry; | 28 class ContentRulesRegistry; |
| 29 class DevicePermissionsPrompt; | 29 class DevicePermissionsPrompt; |
| 30 class ExtensionOptionsGuest; | 30 class ExtensionOptionsGuest; |
| 31 class ExtensionOptionsGuestDelegate; | 31 class ExtensionOptionsGuestDelegate; |
| 32 class ManagementAPIDelegate; |
| 32 class MimeHandlerViewGuest; | 33 class MimeHandlerViewGuest; |
| 33 class MimeHandlerViewGuestDelegate; | 34 class MimeHandlerViewGuestDelegate; |
| 34 class WebViewGuest; | 35 class WebViewGuest; |
| 35 class WebViewGuestDelegate; | 36 class WebViewGuestDelegate; |
| 36 class WebViewPermissionHelper; | 37 class WebViewPermissionHelper; |
| 37 class WebViewPermissionHelperDelegate; | 38 class WebViewPermissionHelperDelegate; |
| 38 class WebRequestEventRouterDelegate; | 39 class WebRequestEventRouterDelegate; |
| 39 class RulesCacheDelegate; | 40 class RulesCacheDelegate; |
| 40 class SettingsObserver; | 41 class SettingsObserver; |
| 41 class SettingsStorageFactory; | 42 class SettingsStorageFactory; |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 RulesCacheDelegate* cache_delegate) const; | 101 RulesCacheDelegate* cache_delegate) const; |
| 101 | 102 |
| 102 // Creates a DevicePermissionsPrompt appropriate for the embedder. | 103 // Creates a DevicePermissionsPrompt appropriate for the embedder. |
| 103 virtual scoped_ptr<DevicePermissionsPrompt> CreateDevicePermissionsPrompt( | 104 virtual scoped_ptr<DevicePermissionsPrompt> CreateDevicePermissionsPrompt( |
| 104 content::WebContents* web_contents) const; | 105 content::WebContents* web_contents) const; |
| 105 | 106 |
| 106 // Returns a delegate for some of VirtualKeyboardAPI's behavior. | 107 // Returns a delegate for some of VirtualKeyboardAPI's behavior. |
| 107 virtual scoped_ptr<VirtualKeyboardDelegate> CreateVirtualKeyboardDelegate() | 108 virtual scoped_ptr<VirtualKeyboardDelegate> CreateVirtualKeyboardDelegate() |
| 108 const; | 109 const; |
| 109 | 110 |
| 111 // Creates a delegate for handling the management extension api. |
| 112 virtual ManagementAPIDelegate* CreateManagementAPIDelegate() const; |
| 113 |
| 110 // NOTE: If this interface gains too many methods (perhaps more than 20) it | 114 // NOTE: If this interface gains too many methods (perhaps more than 20) it |
| 111 // should be split into one interface per API. | 115 // should be split into one interface per API. |
| 112 }; | 116 }; |
| 113 | 117 |
| 114 } // namespace extensions | 118 } // namespace extensions |
| 115 | 119 |
| 116 #endif // EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ | 120 #endif // EXTENSIONS_BROWSER_API_EXTENSIONS_API_CLIENT_H_ |
| OLD | NEW |