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 #include <vector> | 10 #include <vector> |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 virtual void RenderFrameCreated(content::RenderFrame* render_frame) OVERRIDE; | 67 virtual void RenderFrameCreated(content::RenderFrame* render_frame) OVERRIDE; |
68 virtual void RenderViewCreated(content::RenderView* render_view) OVERRIDE; | 68 virtual void RenderViewCreated(content::RenderView* render_view) OVERRIDE; |
69 virtual void SetNumberOfViews(int number_of_views) OVERRIDE; | 69 virtual void SetNumberOfViews(int number_of_views) OVERRIDE; |
70 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; | 70 virtual SkBitmap* GetSadPluginBitmap() OVERRIDE; |
71 virtual SkBitmap* GetSadWebViewBitmap() OVERRIDE; | 71 virtual SkBitmap* GetSadWebViewBitmap() OVERRIDE; |
72 virtual std::string GetDefaultEncoding() OVERRIDE; | 72 virtual std::string GetDefaultEncoding() OVERRIDE; |
73 virtual bool OverrideCreatePlugin( | 73 virtual bool OverrideCreatePlugin( |
74 content::RenderFrame* render_frame, | 74 content::RenderFrame* render_frame, |
75 blink::WebLocalFrame* frame, | 75 blink::WebLocalFrame* frame, |
76 const blink::WebPluginParams& params, | 76 const blink::WebPluginParams& params, |
| 77 int* instance_id, |
77 blink::WebPlugin** plugin) OVERRIDE; | 78 blink::WebPlugin** plugin) OVERRIDE; |
78 virtual blink::WebPlugin* CreatePluginReplacement( | 79 virtual blink::WebPlugin* CreatePluginReplacement( |
79 content::RenderFrame* render_frame, | 80 content::RenderFrame* render_frame, |
80 const base::FilePath& plugin_path) OVERRIDE; | 81 const base::FilePath& plugin_path) OVERRIDE; |
81 virtual bool HasErrorPage(int http_status_code, | 82 virtual bool HasErrorPage(int http_status_code, |
82 std::string* error_domain) OVERRIDE; | 83 std::string* error_domain) OVERRIDE; |
83 virtual bool ShouldSuppressErrorPage(content::RenderFrame* render_frame, | 84 virtual bool ShouldSuppressErrorPage(content::RenderFrame* render_frame, |
84 const GURL& url) OVERRIDE; | 85 const GURL& url) OVERRIDE; |
85 virtual void GetNavigationErrorStrings( | 86 virtual void GetNavigationErrorStrings( |
86 content::RenderView* render_view, | 87 content::RenderView* render_view, |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; | 195 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; |
195 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 196 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
196 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; | 197 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; |
197 #if defined(ENABLE_WEBRTC) | 198 #if defined(ENABLE_WEBRTC) |
198 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; | 199 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; |
199 #endif | 200 #endif |
200 scoped_ptr<SearchBouncer> search_bouncer_; | 201 scoped_ptr<SearchBouncer> search_bouncer_; |
201 }; | 202 }; |
202 | 203 |
203 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 204 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |