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