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

Unified Diff: content/renderer/render_view_impl.h

Issue 342143004: Defect 248426: Speak rendered text when no selection is made on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Using WebLocalFrame::contentAsText() for fetching rendered text Created 6 years, 6 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/renderer/render_view_impl.h
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
index 2cd5f8c93de4054d8b4423ee4ca7e30fd77e55c8..3184c25c3a4597fdbb843e4f89d6a7c206112869 100644
--- a/content/renderer/render_view_impl.h
+++ b/content/renderer/render_view_impl.h
@@ -755,6 +755,7 @@ class CONTENT_EXPORT RenderViewImpl
const gfx::Size& size, const std::vector<unsigned char>& png);
void OnSelectWordAroundCaret();
#if defined(OS_ANDROID)
+ void OnExtractSmartClipData(const gfx::Rect& rect);
void OnActivateNearestFindResult(int request_id, float x, float y);
void OnFindMatchRects(int current_version);
void OnSelectPopupMenuItems(bool canceled,
@@ -763,8 +764,8 @@ class CONTENT_EXPORT RenderViewImpl
void OnUpdateTopControlsState(bool enable_hiding,
bool enable_showing,
bool animate);
- void OnExtractSmartClipData(const gfx::Rect& rect);
#elif defined(OS_MACOSX)
+ void OnGetRenderedText();
void OnPluginImeCompositionCompleted(const base::string16& text,
int plugin_id);
void OnSelectPopupMenuItem(int selected_index);

Powered by Google App Engine
This is Rietveld 408576698