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; | |
34 virtual bool HasErrorPage(int http_status_code, | 31 virtual bool HasErrorPage(int http_status_code, |
35 std::string* error_domain) OVERRIDE; | 32 std::string* error_domain) OVERRIDE; |
36 virtual void GetNavigationErrorStrings( | 33 virtual void GetNavigationErrorStrings( |
37 const WebKit::WebURLRequest& failed_request, | 34 const WebKit::WebURLRequest& failed_request, |
38 const WebKit::WebURLError& error, | 35 const WebKit::WebURLError& error, |
39 std::string* error_html, | 36 std::string* error_html, |
40 string16* error_description) OVERRIDE; | 37 string16* error_description) OVERRIDE; |
41 virtual webkit_media::WebMediaPlayerImpl* OverrideCreateWebMediaPlayer( | 38 virtual webkit_media::WebMediaPlayerImpl* OverrideCreateWebMediaPlayer( |
42 RenderView* render_view, | 39 RenderView* render_view, |
43 WebKit::WebFrame* frame, | 40 WebKit::WebFrame* frame, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 virtual void RegisterPPAPIInterfaceFactories( | 80 virtual void RegisterPPAPIInterfaceFactories( |
84 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; | 81 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; |
85 | 82 |
86 private: | 83 private: |
87 scoped_ptr<ShellRenderProcessObserver> shell_observer_; | 84 scoped_ptr<ShellRenderProcessObserver> shell_observer_; |
88 }; | 85 }; |
89 | 86 |
90 } // namespace content | 87 } // namespace content |
91 | 88 |
92 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ | 89 #endif // CONTENT_SHELL_SHELL_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |