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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 WebKit::WebPluginContainer* container) const OVERRIDE; | 128 WebKit::WebPluginContainer* container) const OVERRIDE; |
129 virtual void RegisterPPAPIInterfaceFactories( | 129 virtual void RegisterPPAPIInterfaceFactories( |
130 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; | 130 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; |
131 // TODO(victorhsieh): move to ChromeContentBrowserClient once we migrate | 131 // TODO(victorhsieh): move to ChromeContentBrowserClient once we migrate |
132 // PPAPI FileIO host to browser. | 132 // PPAPI FileIO host to browser. |
133 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 133 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
134 WebKit::WebPluginContainer* container) const OVERRIDE; | 134 WebKit::WebPluginContainer* container) const OVERRIDE; |
135 virtual WebKit::WebSpeechSynthesizer* OverrideSpeechSynthesizer( | 135 virtual WebKit::WebSpeechSynthesizer* OverrideSpeechSynthesizer( |
136 WebKit::WebSpeechSynthesizerClient* client) OVERRIDE; | 136 WebKit::WebSpeechSynthesizerClient* client) OVERRIDE; |
137 virtual bool AllowPepperMediaStreamAPI(const GURL& url) const OVERRIDE; | 137 virtual bool AllowPepperMediaStreamAPI(const GURL& url) const OVERRIDE; |
| 138 virtual bool ShouldReportDetailedMessage(const GURL& url) const |
| 139 OVERRIDE; |
138 | 140 |
139 // For testing. | 141 // For testing. |
140 void SetExtensionDispatcher(extensions::Dispatcher* extension_dispatcher); | 142 void SetExtensionDispatcher(extensions::Dispatcher* extension_dispatcher); |
141 | 143 |
142 // Sets a new |spellcheck|. Used for low-mem restart and testing only. | 144 // Sets a new |spellcheck|. Used for low-mem restart and testing only. |
143 // Takes ownership of |spellcheck|. | 145 // Takes ownership of |spellcheck|. |
144 void SetSpellcheck(SpellCheck* spellcheck); | 146 void SetSpellcheck(SpellCheck* spellcheck); |
145 | 147 |
146 // Called in low-memory conditions to dump the memory used by the spellchecker | 148 // Called in low-memory conditions to dump the memory used by the spellchecker |
147 // and start over. | 149 // and start over. |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 #endif | 200 #endif |
199 | 201 |
200 #if defined(ENABLE_PLUGINS) | 202 #if defined(ENABLE_PLUGINS) |
201 std::set<std::string> allowed_file_handle_origins_; | 203 std::set<std::string> allowed_file_handle_origins_; |
202 #endif | 204 #endif |
203 }; | 205 }; |
204 | 206 |
205 } // namespace chrome | 207 } // namespace chrome |
206 | 208 |
207 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 209 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |