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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 const GURL& first_party_for_cookies, | 113 const GURL& first_party_for_cookies, |
114 std::string* cookies) OVERRIDE; | 114 std::string* cookies) OVERRIDE; |
115 virtual bool HandleSetCookieRequest(content::RenderView* sender, | 115 virtual bool HandleSetCookieRequest(content::RenderView* sender, |
116 const GURL& url, | 116 const GURL& url, |
117 const GURL& first_party_for_cookies, | 117 const GURL& first_party_for_cookies, |
118 const std::string& value) OVERRIDE; | 118 const std::string& value) OVERRIDE; |
119 virtual bool AllowBrowserPlugin( | 119 virtual bool AllowBrowserPlugin( |
120 WebKit::WebPluginContainer* container) const OVERRIDE; | 120 WebKit::WebPluginContainer* container) const OVERRIDE; |
121 virtual void RegisterPPAPIInterfaceFactories( | 121 virtual void RegisterPPAPIInterfaceFactories( |
122 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; | 122 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) OVERRIDE; |
| 123 virtual WebKit::WebSpeechSynthesizer* OverrideSpeechSynthesizer( |
| 124 WebKit::WebSpeechSynthesizerClient* client) OVERRIDE; |
123 | 125 |
124 // For testing. | 126 // For testing. |
125 void SetExtensionDispatcher(extensions::Dispatcher* extension_dispatcher); | 127 void SetExtensionDispatcher(extensions::Dispatcher* extension_dispatcher); |
126 | 128 |
127 // Sets a new |spellcheck|. Used for low-mem restart and testing only. | 129 // Sets a new |spellcheck|. Used for low-mem restart and testing only. |
128 // Takes ownership of |spellcheck|. | 130 // Takes ownership of |spellcheck|. |
129 void SetSpellcheck(SpellCheck* spellcheck); | 131 void SetSpellcheck(SpellCheck* spellcheck); |
130 | 132 |
131 // Called in low-memory conditions to dump the memory used by the spellchecker | 133 // Called in low-memory conditions to dump the memory used by the spellchecker |
132 // and start over. | 134 // and start over. |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
173 scoped_ptr<RendererNetPredictor> net_predictor_; | 175 scoped_ptr<RendererNetPredictor> net_predictor_; |
174 scoped_ptr<SpellCheck> spellcheck_; | 176 scoped_ptr<SpellCheck> spellcheck_; |
175 scoped_ptr<components::VisitedLinkSlave> visited_link_slave_; | 177 scoped_ptr<components::VisitedLinkSlave> visited_link_slave_; |
176 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; | 178 scoped_ptr<safe_browsing::PhishingClassifierFilter> phishing_classifier_; |
177 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; | 179 scoped_ptr<prerender::PrerenderDispatcher> prerender_dispatcher_; |
178 }; | 180 }; |
179 | 181 |
180 } // namespace chrome | 182 } // namespace chrome |
181 | 183 |
182 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ | 184 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ |
OLD | NEW |