Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 12589005: Implement web speech synthesis. (Closed) Base URL: http://git.chromium.org/chromium/src.git@webtts
Patch Set: Fix android build Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « chrome/common/tts_utterance_request.cc ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698