| 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 |
| 11 #if defined(ENABLE_PLUGINS) | 11 #if defined(ENABLE_PLUGINS) |
| 12 #include <set> | 12 #include <set> |
| 13 #endif | 13 #endif |
| 14 | 14 |
| 15 #include "base/compiler_specific.h" | 15 #include "base/compiler_specific.h" |
| 16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
| 17 #include "base/strings/string16.h" | 17 #include "base/strings/string16.h" |
| 18 #include "content/public/renderer/content_renderer_client.h" | 18 #include "content/public/renderer/content_renderer_client.h" |
| 19 | 19 |
| 20 class ChromeRenderProcessObserver; | 20 class ChromeRenderProcessObserver; |
| 21 class ExtensionSet; | 21 class ExtensionSet; |
| 22 class PrescientNetworkingDispatcher; | 22 class PrescientNetworkingDispatcher; |
| 23 class RendererNetPredictor; | 23 class RendererNetPredictor; |
| 24 class SearchBouncer; |
| 24 #if defined(ENABLE_SPELLCHECK) | 25 #if defined(ENABLE_SPELLCHECK) |
| 25 class SpellCheck; | 26 class SpellCheck; |
| 26 class SpellCheckProvider; | 27 class SpellCheckProvider; |
| 27 #endif | 28 #endif |
| 28 | 29 |
| 29 struct ChromeViewHostMsg_GetPluginInfo_Output; | 30 struct ChromeViewHostMsg_GetPluginInfo_Output; |
| 30 | 31 |
| 31 namespace content { | 32 namespace content { |
| 32 struct WebPluginInfo; | 33 struct WebPluginInfo; |
| 33 } | 34 } |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 virtual bool OverrideCreatePlugin( | 75 virtual bool OverrideCreatePlugin( |
| 75 content::RenderView* render_view, | 76 content::RenderView* render_view, |
| 76 WebKit::WebFrame* frame, | 77 WebKit::WebFrame* frame, |
| 77 const WebKit::WebPluginParams& params, | 78 const WebKit::WebPluginParams& params, |
| 78 WebKit::WebPlugin** plugin) OVERRIDE; | 79 WebKit::WebPlugin** plugin) OVERRIDE; |
| 79 virtual WebKit::WebPlugin* CreatePluginReplacement( | 80 virtual WebKit::WebPlugin* CreatePluginReplacement( |
| 80 content::RenderView* render_view, | 81 content::RenderView* render_view, |
| 81 const base::FilePath& plugin_path) OVERRIDE; | 82 const base::FilePath& plugin_path) OVERRIDE; |
| 82 virtual bool HasErrorPage(int http_status_code, | 83 virtual bool HasErrorPage(int http_status_code, |
| 83 std::string* error_domain) OVERRIDE; | 84 std::string* error_domain) OVERRIDE; |
| 85 virtual bool ShouldSuppressErrorPage(const GURL& url) OVERRIDE; |
| 84 virtual void GetNavigationErrorStrings( | 86 virtual void GetNavigationErrorStrings( |
| 85 WebKit::WebFrame* frame, | 87 WebKit::WebFrame* frame, |
| 86 const WebKit::WebURLRequest& failed_request, | 88 const WebKit::WebURLRequest& failed_request, |
| 87 const WebKit::WebURLError& error, | 89 const WebKit::WebURLError& error, |
| 88 std::string* error_html, | 90 std::string* error_html, |
| 89 string16* error_description) OVERRIDE; | 91 string16* error_description) OVERRIDE; |
| 90 virtual void DeferMediaLoad(content::RenderView* render_view, | 92 virtual void DeferMediaLoad(content::RenderView* render_view, |
| 91 const base::Closure& closure) OVERRIDE; | 93 const base::Closure& closure) OVERRIDE; |
| 92 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; | 94 virtual bool RunIdleHandlerWhenWidgetsHidden() OVERRIDE; |
| 93 virtual bool AllowPopup() OVERRIDE; | 95 virtual bool AllowPopup() OVERRIDE; |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 198 scoped_ptr<RendererNetPredictor> net_predictor_; | 200 scoped_ptr<RendererNetPredictor> net_predictor_; |
| 199 #if defined(ENABLE_SPELLCHECK) | 201 #if defined(ENABLE_SPELLCHECK) |
| 200 scoped_ptr<SpellCheck> spellcheck_; | 202 scoped_ptr<SpellCheck> spellcheck_; |
| 201 #endif | 203 #endif |
| 202 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; | 204 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; |
| 203 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 205 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
| 204 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; | 206 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; |
| 205 #if defined(ENABLE_WEBRTC) | 207 #if defined(ENABLE_WEBRTC) |
| 206 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; | 208 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; |
| 207 #endif | 209 #endif |
| 210 scoped_ptr<SearchBouncer> search_bouncer_; |
| 208 | 211 |
| 209 #if defined(ENABLE_PLUGINS) | 212 #if defined(ENABLE_PLUGINS) |
| 210 std::set<std::string> allowed_file_handle_origins_; | 213 std::set<std::string> allowed_file_handle_origins_; |
| 211 #endif | 214 #endif |
| 212 }; | 215 }; |
| 213 | 216 |
| 214 } // namespace chrome | 217 } // namespace chrome |
| 215 | 218 |
| 216 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 219 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |