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

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.h

Issue 657803002: Update touch selection to only modify one selection point at a time. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 1 month 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_android.h
diff --git a/content/browser/renderer_host/render_widget_host_view_android.h b/content/browser/renderer_host/render_widget_host_view_android.h
index 48d6536e70aac1254e3bef5b8e4049a0ddcc5202..063a515f7910f91b15a6129fc6c3b3a9d5adc8a9 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.h
+++ b/content/browser/renderer_host/render_widget_host_view_android.h
@@ -269,8 +269,9 @@ class CONTENT_EXPORT RenderWidgetHostViewAndroid
virtual bool SupportsAnimation() const override;
virtual void SetNeedsAnimate() override;
virtual void MoveCaret(const gfx::PointF& position) override;
- virtual void SelectBetweenCoordinates(const gfx::PointF& start,
- const gfx::PointF& end) override;
+ virtual void MoveRangeSelectionExtent(const gfx::PointF& extent) override;
+ virtual void SelectBetweenCoordinates(const gfx::PointF& base,
+ const gfx::PointF& extent) override;
virtual void OnSelectionEvent(SelectionEventType event,
const gfx::PointF& anchor_position) override;
virtual scoped_ptr<TouchHandleDrawable> CreateDrawable() override;

Powered by Google App Engine
This is Rietveld 408576698