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

Unified Diff: content/browser/renderer_host/render_widget_host_mac.cc

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/browser/renderer_host/render_widget_host_mac.cc
===================================================================
--- content/browser/renderer_host/render_widget_host_mac.cc (revision 148651)
+++ content/browser/renderer_host/render_widget_host_mac.cc (working copy)
@@ -74,3 +74,8 @@
view_->AcceleratedSurfaceBuffersSwapped(params, 0);
}
}
+
+void RenderWidgetHostImpl::OnMsgSpeakText(const string16& text) {
+ if (view_)
+ view_->SpeakText(text);
+}

Powered by Google App Engine
This is Rietveld 408576698