| 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_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ | 6 #define EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "content/public/renderer/content_renderer_client.h" | 12 #include "content/public/renderer/content_renderer_client.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 class WebURL; | 15 class WebURL; |
| 16 } // namespace blink | 16 } // namespace blink |
| 17 | 17 |
| 18 namespace extensions { | 18 namespace extensions { |
| 19 | 19 |
| 20 class Dispatcher; | 20 class Dispatcher; |
| 21 class DispatcherDelegate; | 21 class DispatcherDelegate; |
| 22 class ExtensionsClient; | 22 class ExtensionsClient; |
| 23 class ExtensionsGuestViewContainerDispatcher; | 23 class ExtensionsGuestViewContainerDispatcher; |
| 24 class ShellExtensionsRendererClient; | 24 class ShellExtensionsRendererClient; |
| 25 class ShellRendererMainDelegate; | |
| 26 | 25 |
| 27 // Renderer initialization and runtime support for app_shell. | 26 // Renderer initialization and runtime support for app_shell. |
| 28 class ShellContentRendererClient : public content::ContentRendererClient { | 27 class ShellContentRendererClient : public content::ContentRendererClient { |
| 29 public: | 28 public: |
| 30 ShellContentRendererClient(); | 29 ShellContentRendererClient(); |
| 31 ~ShellContentRendererClient() override; | 30 ~ShellContentRendererClient() override; |
| 32 | 31 |
| 33 // content::ContentRendererClient implementation: | 32 // content::ContentRendererClient implementation: |
| 34 void RenderThreadStarted() override; | 33 void RenderThreadStarted() override; |
| 35 void RenderFrameCreated(content::RenderFrame* render_frame) override; | 34 void RenderFrameCreated(content::RenderFrame* render_frame) override; |
| (...skipping 30 matching lines...) Expand all Loading... |
| 66 std::unique_ptr<Dispatcher> extension_dispatcher_; | 65 std::unique_ptr<Dispatcher> extension_dispatcher_; |
| 67 std::unique_ptr<ExtensionsGuestViewContainerDispatcher> | 66 std::unique_ptr<ExtensionsGuestViewContainerDispatcher> |
| 68 guest_view_container_dispatcher_; | 67 guest_view_container_dispatcher_; |
| 69 | 68 |
| 70 DISALLOW_COPY_AND_ASSIGN(ShellContentRendererClient); | 69 DISALLOW_COPY_AND_ASSIGN(ShellContentRendererClient); |
| 71 }; | 70 }; |
| 72 | 71 |
| 73 } // namespace extensions | 72 } // namespace extensions |
| 74 | 73 |
| 75 #endif // EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ | 74 #endif // EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |