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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 virtual bool OverrideCreatePlugin( | 74 virtual bool OverrideCreatePlugin( |
75 content::RenderFrame* render_frame, | 75 content::RenderFrame* render_frame, |
76 blink::WebFrame* frame, | 76 blink::WebFrame* frame, |
77 const blink::WebPluginParams& params, | 77 const blink::WebPluginParams& params, |
78 blink::WebPlugin** plugin) OVERRIDE; | 78 blink::WebPlugin** plugin) OVERRIDE; |
79 virtual blink::WebPlugin* CreatePluginReplacement( | 79 virtual blink::WebPlugin* CreatePluginReplacement( |
80 content::RenderFrame* render_frame, | 80 content::RenderFrame* render_frame, |
81 const base::FilePath& plugin_path) OVERRIDE; | 81 const base::FilePath& plugin_path) OVERRIDE; |
82 virtual bool HasErrorPage(int http_status_code, | 82 virtual bool HasErrorPage(int http_status_code, |
83 std::string* error_domain) OVERRIDE; | 83 std::string* error_domain) OVERRIDE; |
84 virtual bool ShouldSuppressErrorPage(const GURL& url) OVERRIDE; | 84 virtual bool ShouldSuppressErrorPage(content::RenderFrame* render_frame, |
| 85 const GURL& url) OVERRIDE; |
85 virtual void GetNavigationErrorStrings( | 86 virtual void GetNavigationErrorStrings( |
86 blink::WebFrame* frame, | 87 blink::WebFrame* frame, |
87 const blink::WebURLRequest& failed_request, | 88 const blink::WebURLRequest& failed_request, |
88 const blink::WebURLError& error, | 89 const blink::WebURLError& error, |
89 const std::string& accept_languages, | 90 const std::string& accept_languages, |
90 std::string* error_html, | 91 std::string* error_html, |
91 base::string16* error_description) OVERRIDE; | 92 base::string16* error_description) OVERRIDE; |
92 virtual void DeferMediaLoad(content::RenderFrame* render_frame, | 93 virtual void DeferMediaLoad(content::RenderFrame* render_frame, |
93 const base::Closure& closure) OVERRIDE; | 94 const base::Closure& closure) OVERRIDE; |
94 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; | 95 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; | 204 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; |
204 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 205 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
205 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; | 206 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; |
206 #if defined(ENABLE_WEBRTC) | 207 #if defined(ENABLE_WEBRTC) |
207 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; | 208 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; |
208 #endif | 209 #endif |
209 scoped_ptr<SearchBouncer> search_bouncer_; | 210 scoped_ptr<SearchBouncer> search_bouncer_; |
210 }; | 211 }; |
211 | 212 |
212 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 213 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |