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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.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_view_mac.h
===================================================================
--- content/browser/renderer_host/render_widget_host_view_mac.h (revision 148651)
+++ content/browser/renderer_host/render_widget_host_view_mac.h (working copy)
@@ -7,6 +7,10 @@
#import <Cocoa/Cocoa.h>
#include <list>
+#include <map>
+#include <string>
+#include <utility>
+#include <vector>
#include "base/memory/scoped_nsobject.h"
#include "base/memory/scoped_ptr.h"
@@ -56,7 +60,7 @@
// These are part of the magic tooltip code from WebKit's WebHTMLView:
id trackingRectOwner_; // (not retained)
- void *trackingRectUserData_;
+ void* trackingRectUserData_;
NSTrackingRectTag lastToolTipTag_;
scoped_nsobject<NSString> toolTip_;
@@ -235,6 +239,7 @@
int error_code) OVERRIDE;
virtual void Destroy() OVERRIDE;
virtual void SetTooltipText(const string16& tooltip_text) OVERRIDE;
+ virtual void SpeakText(const string16& text) OVERRIDE;
virtual void SelectionChanged(const string16& text,
size_t offset,
const ui::Range& range) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698