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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 virtual void RenderThreadStarted() OVERRIDE; | 21 virtual void RenderThreadStarted() OVERRIDE; |
22 virtual void RenderViewCreated(RenderView* render_view) OVERRIDE; | 22 virtual void RenderViewCreated(RenderView* render_view) OVERRIDE; |
23 virtual void SetNumberOfViews(int number_of_views) OVERRIDE; | 23 virtual void SetNumberOfViews(int number_of_views) OVERRIDE; |
24 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; | 24 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; |
25 virtual std::string GetDefaultEncoding() OVERRIDE; | 25 virtual std::string GetDefaultEncoding() OVERRIDE; |
26 virtual bool OverrideCreatePlugin( | 26 virtual bool OverrideCreatePlugin( |
27 RenderView* render_view, | 27 RenderView* render_view, |
28 WebKit::WebFrame* frame, | 28 WebKit::WebFrame* frame, |
29 const WebKit::WebPluginParams& params, | 29 const WebKit::WebPluginParams& params, |
30 WebKit::WebPlugin** plugin) OVERRIDE; | 30 WebKit::WebPlugin** plugin) OVERRIDE; |
| 31 virtual WebKit::WebPlugin* CreatePluginReplacement( |
| 32 RenderView* render_view, |
| 33 const FilePath& plugin_path) OVERRIDE; |
31 virtual bool HasErrorPage(int http_status_code, | 34 virtual bool HasErrorPage(int http_status_code, |
32 std::string* error_domain) OVERRIDE; | 35 std::string* error_domain) OVERRIDE; |
33 virtual void GetNavigationErrorStrings( | 36 virtual void GetNavigationErrorStrings( |
34 const WebKit::WebURLRequest& failed_request, | 37 const WebKit::WebURLRequest& failed_request, |
35 const WebKit::WebURLError& error, | 38 const WebKit::WebURLError& error, |
36 std::string* error_html, | 39 std::string* error_html, |
37 string16* error_description) OVERRIDE; | 40 string16* error_description) OVERRIDE; |
38 virtual webkit_media::WebMediaPlayerImpl* OverrideCreateWebMediaPlayer( | 41 virtual webkit_media::WebMediaPlayerImpl* OverrideCreateWebMediaPlayer( |
39 RenderView* render_view, | 42 RenderView* render_view, |
40 WebKit::WebFrame* frame, | 43 WebKit::WebFrame* frame, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 virtual void RegisterPPAPIInterfaceFactories( | 83 virtual void RegisterPPAPIInterfaceFactories( |
81 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; | 84 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; |
82 | 85 |
83 private: | 86 private: |
84 scoped_ptr<ShellRenderProcessObserver> shell_observer_; | 87 scoped_ptr<ShellRenderProcessObserver> shell_observer_; |
85 }; | 88 }; |
86 | 89 |
87 } // namespace content | 90 } // namespace content |
88 | 91 |
89 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 92 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |