| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 std::string* cookies) OVERRIDE; | 124 std::string* cookies) OVERRIDE; |
| 125 virtual bool HandleSetCookieRequest(content::RenderView* sender, | 125 virtual bool HandleSetCookieRequest(content::RenderView* sender, |
| 126 const GURL& url, | 126 const GURL& url, |
| 127 const GURL& first_party_for_cookies, | 127 const GURL& first_party_for_cookies, |
| 128 const std::string& value) OVERRIDE; | 128 const std::string& value) OVERRIDE; |
| 129 virtual bool AllowBrowserPlugin( | 129 virtual bool AllowBrowserPlugin( |
| 130 blink::WebPluginContainer* container) OVERRIDE; | 130 blink::WebPluginContainer* container) OVERRIDE; |
| 131 virtual const void* CreatePPAPIInterface( | 131 virtual const void* CreatePPAPIInterface( |
| 132 const std::string& interface_name) OVERRIDE; | 132 const std::string& interface_name) OVERRIDE; |
| 133 virtual bool IsExternalPepperPlugin(const std::string& module_name) OVERRIDE; | 133 virtual bool IsExternalPepperPlugin(const std::string& module_name) OVERRIDE; |
| 134 // TODO(victorhsieh): move to ChromeContentBrowserClient once we migrate | |
| 135 // PPAPI FileIO host to browser. | |
| 136 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | |
| 137 blink::WebPluginContainer* container) OVERRIDE; | |
| 138 virtual blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer( | 134 virtual blink::WebSpeechSynthesizer* OverrideSpeechSynthesizer( |
| 139 blink::WebSpeechSynthesizerClient* client) OVERRIDE; | 135 blink::WebSpeechSynthesizerClient* client) OVERRIDE; |
| 140 virtual bool ShouldReportDetailedMessageForSource( | 136 virtual bool ShouldReportDetailedMessageForSource( |
| 141 const base::string16& source) const OVERRIDE; | 137 const base::string16& source) const OVERRIDE; |
| 142 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE; | 138 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE; |
| 143 virtual blink::WebWorkerPermissionClientProxy* | 139 virtual blink::WebWorkerPermissionClientProxy* |
| 144 CreateWorkerPermissionClientProxy(content::RenderView* render_view, | 140 CreateWorkerPermissionClientProxy(content::RenderView* render_view, |
| 145 blink::WebFrame* frame) OVERRIDE; | 141 blink::WebFrame* frame) OVERRIDE; |
| 146 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE; | 142 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE; |
| 147 virtual void AddKeySystems( | 143 virtual void AddKeySystems( |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 #if defined(ENABLE_SPELLCHECK) | 208 #if defined(ENABLE_SPELLCHECK) |
| 213 scoped_ptr<SpellCheck> spellcheck_; | 209 scoped_ptr<SpellCheck> spellcheck_; |
| 214 #endif | 210 #endif |
| 215 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; | 211 scoped_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_; |
| 216 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 212 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
| 217 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; | 213 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; |
| 218 #if defined(ENABLE_WEBRTC) | 214 #if defined(ENABLE_WEBRTC) |
| 219 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; | 215 scoped_refptr<WebRtcLoggingMessageFilter> webrtc_logging_message_filter_; |
| 220 #endif | 216 #endif |
| 221 scoped_ptr<SearchBouncer> search_bouncer_; | 217 scoped_ptr<SearchBouncer> search_bouncer_; |
| 222 | |
| 223 #if defined(ENABLE_PLUGINS) | |
| 224 std::set<std::string> allowed_file_handle_origins_; | |
| 225 #endif | |
| 226 }; | 218 }; |
| 227 | 219 |
| 228 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 220 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
| OLD | NEW |