| 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 EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ | 5 #ifndef EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ |
| 6 #define EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ | 6 #define EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 namespace extensions { | 45 namespace extensions { |
| 46 | 46 |
| 47 class ComponentExtensionResourceManager; | 47 class ComponentExtensionResourceManager; |
| 48 class Extension; | 48 class Extension; |
| 49 class ExtensionCache; | 49 class ExtensionCache; |
| 50 class ExtensionError; | 50 class ExtensionError; |
| 51 class ExtensionHostDelegate; | 51 class ExtensionHostDelegate; |
| 52 class ExtensionPrefsObserver; | 52 class ExtensionPrefsObserver; |
| 53 class ExtensionApiFrameIdMap; | 53 class ExtensionApiFrameIdMap; |
| 54 class ExtensionApiFrameIdMapHelper; | 54 class ExtensionApiFrameIdMapHelper; |
| 55 class ExtensionNavigationUIData; |
| 55 class ExtensionSystem; | 56 class ExtensionSystem; |
| 56 class ExtensionSystemProvider; | 57 class ExtensionSystemProvider; |
| 57 class ExtensionWebContentsObserver; | 58 class ExtensionWebContentsObserver; |
| 58 class InfoMap; | 59 class InfoMap; |
| 59 class KioskDelegate; | 60 class KioskDelegate; |
| 60 class ProcessManagerDelegate; | 61 class ProcessManagerDelegate; |
| 61 class RuntimeAPIDelegate; | 62 class RuntimeAPIDelegate; |
| 62 | 63 |
| 63 // Interface to allow the extensions module to make browser-process-specific | 64 // Interface to allow the extensions module to make browser-process-specific |
| 64 // queries of the embedder. Should be Set() once in the browser process. | 65 // queries of the embedder. Should be Set() once in the browser process. |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 virtual std::unique_ptr<ExtensionApiFrameIdMapHelper> | 250 virtual std::unique_ptr<ExtensionApiFrameIdMapHelper> |
| 250 CreateExtensionApiFrameIdMapHelper(ExtensionApiFrameIdMap* map); | 251 CreateExtensionApiFrameIdMapHelper(ExtensionApiFrameIdMap* map); |
| 251 | 252 |
| 252 virtual std::unique_ptr<content::BluetoothChooser> CreateBluetoothChooser( | 253 virtual std::unique_ptr<content::BluetoothChooser> CreateBluetoothChooser( |
| 253 content::RenderFrameHost* frame, | 254 content::RenderFrameHost* frame, |
| 254 const content::BluetoothChooser::EventHandler& event_handler); | 255 const content::BluetoothChooser::EventHandler& event_handler); |
| 255 | 256 |
| 256 // Returns true if activity logging is enabled for the given |context|. | 257 // Returns true if activity logging is enabled for the given |context|. |
| 257 virtual bool IsActivityLoggingEnabled(content::BrowserContext* context); | 258 virtual bool IsActivityLoggingEnabled(content::BrowserContext* context); |
| 258 | 259 |
| 260 virtual ExtensionNavigationUIData* GetExtensionNavigationUIData( |
| 261 net::URLRequest* request); |
| 262 |
| 259 // Returns a delegate that provides kiosk mode functionality. | 263 // Returns a delegate that provides kiosk mode functionality. |
| 260 virtual KioskDelegate* GetKioskDelegate() = 0; | 264 virtual KioskDelegate* GetKioskDelegate() = 0; |
| 261 | 265 |
| 262 // Returns the single instance of |this|. | 266 // Returns the single instance of |this|. |
| 263 static ExtensionsBrowserClient* Get(); | 267 static ExtensionsBrowserClient* Get(); |
| 264 | 268 |
| 265 // Initialize the single instance. | 269 // Initialize the single instance. |
| 266 static void Set(ExtensionsBrowserClient* client); | 270 static void Set(ExtensionsBrowserClient* client); |
| 267 }; | 271 }; |
| 268 | 272 |
| 269 } // namespace extensions | 273 } // namespace extensions |
| 270 | 274 |
| 271 #endif // EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ | 275 #endif // EXTENSIONS_BROWSER_EXTENSIONS_BROWSER_CLIENT_H_ |
| OLD | NEW |