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 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 class ChromeContentRendererClient : public content::ContentRendererClient { | 51 class ChromeContentRendererClient : public content::ContentRendererClient { |
52 public: | 52 public: |
53 ChromeContentRendererClient(); | 53 ChromeContentRendererClient(); |
54 virtual ~ChromeContentRendererClient(); | 54 virtual ~ChromeContentRendererClient(); |
55 | 55 |
56 virtual void RenderThreadStarted() OVERRIDE; | 56 virtual void RenderThreadStarted() OVERRIDE; |
57 virtual void RenderViewCreated(content::RenderView* render_view) OVERRIDE; | 57 virtual void RenderViewCreated(content::RenderView* render_view) OVERRIDE; |
58 virtual void SetNumberOfViews(int number_of_views) OVERRIDE; | 58 virtual void SetNumberOfViews(int number_of_views) OVERRIDE; |
59 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; | 59 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; |
60 virtual SkBitmap* GetSadWebViewBitmap() OVERRIDE; | 60 virtual SkBitmap* GetSadWebViewBitmap() OVERRIDE; |
| 61 virtual void BrowserPluginCreated( |
| 62 content::BrowserPlugin* browser_plugin) OVERRIDE; |
61 virtual std::string GetDefaultEncoding() OVERRIDE; | 63 virtual std::string GetDefaultEncoding() OVERRIDE; |
62 virtual bool OverrideCreatePlugin( | 64 virtual bool OverrideCreatePlugin( |
63 content::RenderView* render_view, | 65 content::RenderView* render_view, |
64 WebKit::WebFrame* frame, | 66 WebKit::WebFrame* frame, |
65 const WebKit::WebPluginParams& params, | 67 const WebKit::WebPluginParams& params, |
66 WebKit::WebPlugin** plugin) OVERRIDE; | 68 WebKit::WebPlugin** plugin) OVERRIDE; |
67 virtual WebKit::WebPlugin* CreatePluginReplacement( | 69 virtual WebKit::WebPlugin* CreatePluginReplacement( |
68 content::RenderView* render_view, | 70 content::RenderView* render_view, |
69 const base::FilePath& plugin_path) OVERRIDE; | 71 const base::FilePath& plugin_path) OVERRIDE; |
70 virtual bool HasErrorPage(int http_status_code, | 72 virtual bool HasErrorPage(int http_status_code, |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 scoped_ptr<RendererNetPredictor> net_predictor_; | 176 scoped_ptr<RendererNetPredictor> net_predictor_; |
175 scoped_ptr<SpellCheck> spellcheck_; | 177 scoped_ptr<SpellCheck> spellcheck_; |
176 scoped_ptr<components::VisitedLinkSlave> visited_link_slave_; | 178 scoped_ptr<components::VisitedLinkSlave> visited_link_slave_; |
177 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 179 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
178 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; | 180 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; |
179 }; | 181 }; |
180 | 182 |
181 } // namespace chrome | 183 } // namespace chrome |
182 | 184 |
183 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 185 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |