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

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

Issue 7570001: Implement touch selection for RWHVV. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 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_view_host.cc
diff --git a/content/browser/renderer_host/render_view_host.cc b/content/browser/renderer_host/render_view_host.cc
index af7823abd2ad21c0bf1dd7f6aec48408a3d1e2a0..16d1014b17765a4122c12b733042dd9edbaf8c35 100644
--- a/content/browser/renderer_host/render_view_host.cc
+++ b/content/browser/renderer_host/render_view_host.cc
@@ -1002,9 +1002,11 @@ void RenderViewHost::OnMsgDidContentsPreferredSizeChange(
}
void RenderViewHost::OnMsgSelectionChanged(const std::string& text,
- const ui::Range& range) {
+ const ui::Range& range,
+ const gfx::Point& start,
+ const gfx::Point& end) {
if (view())
- view()->SelectionChanged(text, range);
+ view()->SelectionChanged(text, range, start, end);
}
void RenderViewHost::OnMsgRunJavaScriptMessage(

Powered by Google App Engine
This is Rietveld 408576698