| 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 APPS_SHELL_RENDERER_SHELL_EXTENSIONS_RENDERER_CLIENT_H_ | 5 #ifndef APPS_SHELL_RENDERER_SHELL_EXTENSIONS_RENDERER_CLIENT_H_ |
| 6 #define APPS_SHELL_RENDERER_SHELL_EXTENSIONS_RENDERER_CLIENT_H_ | 6 #define APPS_SHELL_RENDERER_SHELL_EXTENSIONS_RENDERER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "extensions/renderer/extensions_renderer_client.h" | 9 #include "extensions/renderer/extensions_renderer_client.h" |
| 10 | 10 |
| 11 namespace apps { | 11 namespace apps { |
| 12 | 12 |
| 13 class ShellExtensionsRendererClient | 13 class ShellExtensionsRendererClient |
| 14 : public extensions::ExtensionsRendererClient { | 14 : public extensions::ExtensionsRendererClient { |
| 15 public: | 15 public: |
| 16 ShellExtensionsRendererClient(); | 16 ShellExtensionsRendererClient(); |
| 17 virtual ~ShellExtensionsRendererClient(); | 17 virtual ~ShellExtensionsRendererClient(); |
| 18 | 18 |
| 19 // extensions::ExtensionsRendererClient implementation. | 19 // extensions::ExtensionsRendererClient implementation. |
| 20 virtual bool IsIncognitoProcess() const OVERRIDE; | 20 virtual bool IsIncognitoProcess() const OVERRIDE; |
| 21 virtual int GetLowestIsolatedWorldId() const OVERRIDE; | 21 virtual int GetLowestIsolatedWorldId() const OVERRIDE; |
| 22 virtual void RegisterNativeHandlers( |
| 23 extensions::ModuleSystem* module_system, |
| 24 extensions::ScriptContext* context) OVERRIDE; |
| 25 virtual void PopulateSourceMap(ResourceBundleSourceMap* source_map) OVERRIDE; |
| 22 | 26 |
| 23 private: | 27 private: |
| 24 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsRendererClient); | 28 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsRendererClient); |
| 25 }; | 29 }; |
| 26 | 30 |
| 27 } // namespace apps | 31 } // namespace apps |
| 28 | 32 |
| 29 #endif // APPS_SHELL_RENDERER_SHELL_EXTENSIONS_RENDERER_CLIENT_H_ | 33 #endif // APPS_SHELL_RENDERER_SHELL_EXTENSIONS_RENDERER_CLIENT_H_ |
| OLD | NEW |