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

Unified Diff: content/browser/web_contents/web_contents_impl.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: Address issues and add tests Created 6 years, 2 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/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 31a11bad592c3ffe7ee002a73c062222573c11ad..0f19b1b9d46cb8abad05674d32c15031f5311435 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -663,9 +663,12 @@ class CONTENT_EXPORT WebContentsImpl
typedef base::Callback<void(WebContents*)> CreatedCallback;
+ // Requests the renderer to move the selection extent to a new position.
+ void MoveRangeSelectionExtent(const gfx::Point& extent);
+
// Requests the renderer to select the region between two points in the
// currently focused frame.
- void SelectRange(const gfx::Point& start, const gfx::Point& end);
+ void SelectRange(const gfx::Point& base, const gfx::Point& extent);
// Notifies the main frame that it can continue navigation (if it was deferred
// immediately at first response).

Powered by Google App Engine
This is Rietveld 408576698