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

Side by Side Diff: content/public/browser/render_view_host.h

Issue 260903010: Start removing support for the experimental x-webkit-speech API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't touch histograms.xml Created 6 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 | Annotate | Revision Log
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/browser/speech_recognition_session_config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 virtual void SetWebUIProperty(const std::string& name, 180 virtual void SetWebUIProperty(const std::string& name,
181 const std::string& value) = 0; 181 const std::string& value) = 0;
182 182
183 // Changes the zoom level for the current main frame. 183 // Changes the zoom level for the current main frame.
184 virtual void Zoom(PageZoom zoom) = 0; 184 virtual void Zoom(PageZoom zoom) = 0;
185 185
186 // Send the renderer process the current preferences supplied by the 186 // Send the renderer process the current preferences supplied by the
187 // RenderViewHostDelegate. 187 // RenderViewHostDelegate.
188 virtual void SyncRendererPrefs() = 0; 188 virtual void SyncRendererPrefs() = 0;
189 189
190 virtual void ToggleSpeechInput() = 0;
191
192 // Returns the current WebKit preferences. 190 // Returns the current WebKit preferences.
193 virtual WebPreferences GetWebkitPreferences() = 0; 191 virtual WebPreferences GetWebkitPreferences() = 0;
194 192
195 // Passes a list of Webkit preferences to the renderer. 193 // Passes a list of Webkit preferences to the renderer.
196 virtual void UpdateWebkitPreferences(const WebPreferences& prefs) = 0; 194 virtual void UpdateWebkitPreferences(const WebPreferences& prefs) = 0;
197 195
198 // Retrieves the list of AudioOutputController objects associated 196 // Retrieves the list of AudioOutputController objects associated
199 // with this object and passes it to the callback you specify, on 197 // with this object and passes it to the callback you specify, on
200 // the same thread on which you called the method. 198 // the same thread on which you called the method.
201 typedef std::list<scoped_refptr<media::AudioOutputController> > 199 typedef std::list<scoped_refptr<media::AudioOutputController> >
(...skipping 17 matching lines...) Expand all
219 217
220 private: 218 private:
221 // This interface should only be implemented inside content. 219 // This interface should only be implemented inside content.
222 friend class RenderViewHostImpl; 220 friend class RenderViewHostImpl;
223 RenderViewHost() {} 221 RenderViewHost() {}
224 }; 222 };
225 223
226 } // namespace content 224 } // namespace content
227 225
228 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_ 226 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/content_tests.gypi ('k') | content/public/browser/speech_recognition_session_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698