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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.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/browser/renderer_host/render_widget_host_impl.h
===================================================================
--- content/browser/renderer_host/render_widget_host_impl.h (revision 148651)
+++ content/browser/renderer_host/render_widget_host_impl.h (working copy)
@@ -6,6 +6,7 @@
#define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_
#include <deque>
+#include <list>
#include <string>
#include <vector>
@@ -78,6 +79,7 @@
virtual void PasteAndMatchStyle() OVERRIDE;
virtual void Delete() OVERRIDE;
virtual void SelectAll() OVERRIDE;
+ virtual void SpeakSelection() OVERRIDE;
virtual void UpdateTextDirection(WebKit::WebTextDirection direction) OVERRIDE;
virtual void NotifyTextDirection() OVERRIDE;
virtual void Blur() OVERRIDE;
@@ -534,6 +536,7 @@
TransportDIB::Handle transport_dib);
void OnAcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window,
uint64 surface_handle);
+ void OnMsgSpeakText(const string16& text);
#endif
#if defined(TOOLKIT_GTK)
void OnMsgCreatePluginContainer(gfx::PluginWindowHandle id);

Powered by Google App Engine
This is Rietveld 408576698