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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 WebKit::WebPluginContainer* container) OVERRIDE; | 129 WebKit::WebPluginContainer* container) OVERRIDE; |
130 virtual const void* CreatePPAPIInterface( | 130 virtual const void* CreatePPAPIInterface( |
131 const std::string& interface_name) OVERRIDE; | 131 const std::string& interface_name) OVERRIDE; |
132 virtual bool IsExternalPepperPlugin(const std::string& module_name) OVERRIDE; | 132 virtual bool IsExternalPepperPlugin(const std::string& module_name) OVERRIDE; |
133 // TODO(victorhsieh): move to ChromeContentBrowserClient once we migrate | 133 // TODO(victorhsieh): move to ChromeContentBrowserClient once we migrate |
134 // PPAPI FileIO host to browser. | 134 // PPAPI FileIO host to browser. |
135 virtual bool IsPluginAllowedToCallRequestOSFileHandle( | 135 virtual bool IsPluginAllowedToCallRequestOSFileHandle( |
136 WebKit::WebPluginContainer* container) OVERRIDE; | 136 WebKit::WebPluginContainer* container) OVERRIDE; |
137 virtual WebKit::WebSpeechSynthesizer* OverrideSpeechSynthesizer( | 137 virtual WebKit::WebSpeechSynthesizer* OverrideSpeechSynthesizer( |
138 WebKit::WebSpeechSynthesizerClient* client) OVERRIDE; | 138 WebKit::WebSpeechSynthesizerClient* client) OVERRIDE; |
| 139 virtual bool ShouldReportDetailedMessageForSource( |
| 140 const base::string16& source) const OVERRIDE; |
139 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE; | 141 virtual bool AllowPepperMediaStreamAPI(const GURL& url) OVERRIDE; |
140 | 142 |
141 // For testing. | 143 // For testing. |
142 void SetExtensionDispatcher(extensions::Dispatcher* extension_dispatcher); | 144 void SetExtensionDispatcher(extensions::Dispatcher* extension_dispatcher); |
143 | 145 |
144 #if defined(ENABLE_SPELLCHECK) | 146 #if defined(ENABLE_SPELLCHECK) |
145 // Sets a new |spellcheck|. Used for low-mem restart and testing only. | 147 // Sets a new |spellcheck|. Used for low-mem restart and testing only. |
146 // Takes ownership of |spellcheck|. | 148 // Takes ownership of |spellcheck|. |
147 void SetSpellcheck(SpellCheck* spellcheck); | 149 void SetSpellcheck(SpellCheck* spellcheck); |
148 #endif | 150 #endif |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 #endif | 206 #endif |
205 | 207 |
206 #if defined(ENABLE_PLUGINS) | 208 #if defined(ENABLE_PLUGINS) |
207 std::set<std::string> allowed_file_handle_origins_; | 209 std::set<std::string> allowed_file_handle_origins_; |
208 #endif | 210 #endif |
209 }; | 211 }; |
210 | 212 |
211 } // namespace chrome | 213 } // namespace chrome |
212 | 214 |
213 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 215 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |