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 CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 virtual void RenderThreadStarted() OVERRIDE; | 51 virtual void RenderThreadStarted() OVERRIDE; |
52 virtual void RenderViewCreated(content::RenderView* render_view) OVERRIDE; | 52 virtual void RenderViewCreated(content::RenderView* render_view) OVERRIDE; |
53 virtual void SetNumberOfViews(int number_of_views) OVERRIDE; | 53 virtual void SetNumberOfViews(int number_of_views) OVERRIDE; |
54 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; | 54 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; |
55 virtual std::string GetDefaultEncoding() OVERRIDE; | 55 virtual std::string GetDefaultEncoding() OVERRIDE; |
56 virtual bool OverrideCreatePlugin( | 56 virtual bool OverrideCreatePlugin( |
57 content::RenderView* render_view, | 57 content::RenderView* render_view, |
58 WebKit::WebFrame* frame, | 58 WebKit::WebFrame* frame, |
59 const WebKit::WebPluginParams& params, | 59 const WebKit::WebPluginParams& params, |
60 WebKit::WebPlugin** plugin) OVERRIDE; | 60 WebKit::WebPlugin** plugin) OVERRIDE; |
| 61 virtual WebKit::WebPlugin* CreatePluginReplacement( |
| 62 content::RenderView* render_view, |
| 63 const FilePath& plugin_path) OVERRIDE; |
61 virtual bool HasErrorPage(int http_status_code, | 64 virtual bool HasErrorPage(int http_status_code, |
62 std::string* error_domain) OVERRIDE; | 65 std::string* error_domain) OVERRIDE; |
63 virtual void GetNavigationErrorStrings( | 66 virtual void GetNavigationErrorStrings( |
64 const WebKit::WebURLRequest& failed_request, | 67 const WebKit::WebURLRequest& failed_request, |
65 const WebKit::WebURLError& error, | 68 const WebKit::WebURLError& error, |
66 std::string* error_html, | 69 std::string* error_html, |
67 string16* error_description) OVERRIDE; | 70 string16* error_description) OVERRIDE; |
68 virtual webkit_media::WebMediaPlayerImpl* OverrideCreateWebMediaPlayer( | 71 virtual webkit_media::WebMediaPlayerImpl* OverrideCreateWebMediaPlayer( |
69 content::RenderView* render_view, | 72 content::RenderView* render_view, |
70 WebKit::WebFrame* frame, | 73 WebKit::WebFrame* frame, |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 scoped_ptr<RendererNetPredictor> net_predictor_; | 165 scoped_ptr<RendererNetPredictor> net_predictor_; |
163 scoped_ptr<SpellCheck> spellcheck_; | 166 scoped_ptr<SpellCheck> spellcheck_; |
164 scoped_ptr<VisitedLinkSlave> visited_link_slave_; | 167 scoped_ptr<VisitedLinkSlave> visited_link_slave_; |
165 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 168 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
166 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; | 169 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; |
167 }; | 170 }; |
168 | 171 |
169 } // namespace chrome | 172 } // namespace chrome |
170 | 173 |
171 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 174 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |