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

Unified Diff: content/port/browser/render_widget_host_view_port.h

Issue 10820062: [Mac]: Enable speech sub-menu under the edit menu and pipe it through to the renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: content/port/browser/render_widget_host_view_port.h
===================================================================
--- content/port/browser/render_widget_host_view_port.h (revision 148651)
+++ content/port/browser/render_widget_host_view_port.h (working copy)
@@ -5,6 +5,8 @@
#ifndef CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
#define CONTENT_PORT_BROWSER_RENDER_WIDGET_HOST_VIEW_PORT_H_
+#include <vector>
+
#include "base/callback.h"
#include "base/process_util.h"
#include "base/string16.h"
@@ -213,6 +215,9 @@
int32 width,
int32 height,
TransportDIB::Handle transport_dib) = 0;
+
+ // Tells the view to speak the given |text|.
+ virtual void SpeakText(const string16& text) = 0;
#endif
virtual void AcceleratedSurfaceNew(

Powered by Google App Engine
This is Rietveld 408576698