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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 136 // TODO(victorhsieh): move to ChromeContentBrowserClient once we migrate |
137 // PPAPI FileIO host to browser. | 137 // PPAPI FileIO host to browser. |
138 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 138 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
139 WebKit::WebPluginContainer* container) OVERRIDE; | 139 WebKit::WebPluginContainer* container) OVERRIDE; |
140 virtual WebKit::WebSpeechSynthesizer* OverrideSpeechSynthesizer( | 140 virtual WebKit::WebSpeechSynthesizer* OverrideSpeechSynthesizer( |
141 WebKit::WebSpeechSynthesizerClient* client) OVERRIDE; | 141 WebKit::WebSpeechSynthesizerClient* client) OVERRIDE; |
142 virtual bool ShouldReportDetailedMessageForSource( | 142 virtual bool ShouldReportDetailedMessageForSource( |
143 const base::string16& source) const OVERRIDE; | 143 const base::string16& source) const OVERRIDE; |
144 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE; | 144 virtual bool ShouldEnableSiteIsolationPolicy() const OVERRIDE; |
| 145 virtual WebKit::WebWorkerPermissionClientProxy* |
| 146 CreateWorkerPermissionClientProxy(content::RenderView* render_view, |
| 147 WebKit::WebFrame* frame) OVERRIDE; |
145 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE; | 148 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE; |
146 virtual void AddKeySystems( | 149 virtual void AddKeySystems( |
147 std::vector<content::KeySystemInfo>* key_systems) OVERRIDE; | 150 std::vector<content::KeySystemInfo>* key_systems) OVERRIDE; |
148 | 151 |
149 // For testing. | 152 // For testing. |
150 void SetExtensionDispatcher(extensions::Dispatcher* extension_dispatcher); | 153 void SetExtensionDispatcher(extensions::Dispatcher* extension_dispatcher); |
151 | 154 |
152 #if defined(ENABLE_SPELLCHECK) | 155 #if defined(ENABLE_SPELLCHECK) |
153 // Sets a new |spellcheck|. Used for low-mem restart and testing only. | 156 // Sets a new |spellcheck|. Used for low-mem restart and testing only. |
154 // Takes ownership of |spellcheck|. | 157 // Takes ownership of |spellcheck|. |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 scoped_ptr<SearchBouncer> search_bouncer_; | 223 scoped_ptr<SearchBouncer> search_bouncer_; |
221 | 224 |
222 #if defined(ENABLE_PLUGINS) | 225 #if defined(ENABLE_PLUGINS) |
223 std::set<std::string> allowed_file_handle_origins_; | 226 std::set<std::string> allowed_file_handle_origins_; |
224 #endif | 227 #endif |
225 }; | 228 }; |
226 | 229 |
227 } // namespace chrome | 230 } // namespace chrome |
228 | 231 |
229 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 232 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |