| 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" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 class ShellContentRendererClient : public content::ContentRendererClient { | 27 class ShellContentRendererClient : public content::ContentRendererClient { |
| 28 public: | 28 public: |
| 29 ShellContentRendererClient(); | 29 ShellContentRendererClient(); |
| 30 ~ShellContentRendererClient() override; | 30 ~ShellContentRendererClient() override; |
| 31 | 31 |
| 32 // content::ContentRendererClient implementation: | 32 // content::ContentRendererClient implementation: |
| 33 void RenderThreadStarted() override; | 33 void RenderThreadStarted() override; |
| 34 void RenderFrameCreated(content::RenderFrame* render_frame) override; | 34 void RenderFrameCreated(content::RenderFrame* render_frame) override; |
| 35 void RenderViewCreated(content::RenderView* render_view) override; | 35 void RenderViewCreated(content::RenderView* render_view) override; |
| 36 bool OverrideCreatePlugin(content::RenderFrame* render_frame, | 36 bool OverrideCreatePlugin(content::RenderFrame* render_frame, |
| 37 blink::WebLocalFrame* frame, | |
| 38 const blink::WebPluginParams& params, | 37 const blink::WebPluginParams& params, |
| 39 blink::WebPlugin** plugin) override; | 38 blink::WebPlugin** plugin) override; |
| 40 blink::WebPlugin* CreatePluginReplacement( | 39 blink::WebPlugin* CreatePluginReplacement( |
| 41 content::RenderFrame* render_frame, | 40 content::RenderFrame* render_frame, |
| 42 const base::FilePath& plugin_path) override; | 41 const base::FilePath& plugin_path) override; |
| 43 bool WillSendRequest(blink::WebLocalFrame* frame, | 42 bool WillSendRequest(blink::WebLocalFrame* frame, |
| 44 ui::PageTransition transition_type, | 43 ui::PageTransition transition_type, |
| 45 const blink::WebURL& url, | 44 const blink::WebURL& url, |
| 46 GURL* new_url) override; | 45 GURL* new_url) override; |
| 47 bool IsExternalPepperPlugin(const std::string& module_name) override; | 46 bool IsExternalPepperPlugin(const std::string& module_name) override; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 65 std::unique_ptr<Dispatcher> extension_dispatcher_; | 64 std::unique_ptr<Dispatcher> extension_dispatcher_; |
| 66 std::unique_ptr<ExtensionsGuestViewContainerDispatcher> | 65 std::unique_ptr<ExtensionsGuestViewContainerDispatcher> |
| 67 guest_view_container_dispatcher_; | 66 guest_view_container_dispatcher_; |
| 68 | 67 |
| 69 DISALLOW_COPY_AND_ASSIGN(ShellContentRendererClient); | 68 DISALLOW_COPY_AND_ASSIGN(ShellContentRendererClient); |
| 70 }; | 69 }; |
| 71 | 70 |
| 72 } // namespace extensions | 71 } // namespace extensions |
| 73 | 72 |
| 74 #endif // EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ | 73 #endif // EXTENSIONS_SHELL_RENDERER_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |