Chromium Code Reviews| 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 #include "apps/shell/browser/shell_extensions_browser_client.h" | 5 #include "apps/shell/browser/shell_extensions_browser_client.h" |
| 6 | 6 |
| 7 #include "apps/shell/browser/shell_app_sorting.h" | 7 #include "apps/shell/browser/shell_app_sorting.h" |
| 8 #include "apps/shell/browser/shell_extension_system_factory.h" | 8 #include "apps/shell/browser/shell_extension_system_factory.h" |
| 9 #include "apps/shell/browser/shell_extension_web_contents_observer.h" | 9 #include "apps/shell/browser/shell_extension_web_contents_observer.h" |
| 10 #include "apps/shell/browser/shell_runtime_api_delegate.h" | 10 #include "apps/shell/browser/shell_runtime_api_delegate.h" |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 235 ShellExtensionsBrowserClient::CreateRuntimeAPIDelegate( | 235 ShellExtensionsBrowserClient::CreateRuntimeAPIDelegate( |
| 236 content::BrowserContext* context) const { | 236 content::BrowserContext* context) const { |
| 237 return scoped_ptr<RuntimeAPIDelegate>(new apps::ShellRuntimeAPIDelegate()); | 237 return scoped_ptr<RuntimeAPIDelegate>(new apps::ShellRuntimeAPIDelegate()); |
| 238 } | 238 } |
| 239 | 239 |
| 240 ComponentExtensionResourceManager* | 240 ComponentExtensionResourceManager* |
| 241 ShellExtensionsBrowserClient::GetComponentExtensionResourceManager() { | 241 ShellExtensionsBrowserClient::GetComponentExtensionResourceManager() { |
| 242 return NULL; | 242 return NULL; |
| 243 } | 243 } |
| 244 | 244 |
| 245 void ShellExtensionsBrowserClient::BroadcastEventToRenderers( | |
| 246 const std::string& event_name, | |
| 247 scoped_ptr<base::ListValue> args) { | |
| 248 // system.storage and system.display APIs won't notify when a removable | |
| 249 // storage or display is connected/disconnected unless we implement | |
| 250 // this method. | |
|
Yoyo Zhou
2014/07/15 00:39:13
I'm confused - is this meant to be implemented?
Y
| |
| 251 } | |
| 252 | |
| 245 } // namespace extensions | 253 } // namespace extensions |
| OLD | NEW |