| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| 6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 6 #define CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 class ShellContentRendererClient : public ContentRendererClient { | 28 class ShellContentRendererClient : public ContentRendererClient { |
| 29 public: | 29 public: |
| 30 static ShellContentRendererClient* Get(); | 30 static ShellContentRendererClient* Get(); |
| 31 | 31 |
| 32 ShellContentRendererClient(); | 32 ShellContentRendererClient(); |
| 33 virtual ~ShellContentRendererClient(); | 33 virtual ~ShellContentRendererClient(); |
| 34 | 34 |
| 35 // ContentRendererClient implementation. | 35 // ContentRendererClient implementation. |
| 36 virtual void RenderThreadStarted() OVERRIDE; | 36 virtual void RenderThreadStarted() OVERRIDE; |
| 37 virtual void RenderFrameCreated(RenderFrame* render_frame) OVERRIDE; |
| 37 virtual void RenderViewCreated(RenderView* render_view) OVERRIDE; | 38 virtual void RenderViewCreated(RenderView* render_view) OVERRIDE; |
| 38 virtual bool OverrideCreatePlugin( | 39 virtual bool OverrideCreatePlugin( |
| 39 RenderFrame* render_frame, | 40 RenderFrame* render_frame, |
| 40 blink::WebFrame* frame, | 41 blink::WebFrame* frame, |
| 41 const blink::WebPluginParams& params, | 42 const blink::WebPluginParams& params, |
| 42 blink::WebPlugin** plugin) OVERRIDE; | 43 blink::WebPlugin** plugin) OVERRIDE; |
| 43 virtual blink::WebMediaStreamCenter* OverrideCreateWebMediaStreamCenter( | 44 virtual blink::WebMediaStreamCenter* OverrideCreateWebMediaStreamCenter( |
| 44 blink::WebMediaStreamCenterClient* client) OVERRIDE; | 45 blink::WebMediaStreamCenterClient* client) OVERRIDE; |
| 45 virtual blink::WebRTCPeerConnectionHandler* | 46 virtual blink::WebRTCPeerConnectionHandler* |
| 46 OverrideCreateWebRTCPeerConnectionHandler( | 47 OverrideCreateWebRTCPeerConnectionHandler( |
| (...skipping 11 matching lines...) Expand all Loading... |
| 58 void WebTestProxyCreated(RenderView* render_view, | 59 void WebTestProxyCreated(RenderView* render_view, |
| 59 WebTestRunner::WebTestProxyBase* proxy); | 60 WebTestRunner::WebTestProxyBase* proxy); |
| 60 | 61 |
| 61 scoped_ptr<ShellRenderProcessObserver> shell_observer_; | 62 scoped_ptr<ShellRenderProcessObserver> shell_observer_; |
| 62 scoped_ptr<MockWebClipboardImpl> clipboard_; | 63 scoped_ptr<MockWebClipboardImpl> clipboard_; |
| 63 }; | 64 }; |
| 64 | 65 |
| 65 } // namespace content | 66 } // namespace content |
| 66 | 67 |
| 67 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 68 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |