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

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: 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..0fcf097ebf96187dc1d08b9fe49b934571f20af9 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -663,6 +663,9 @@ class CONTENT_EXPORT WebContentsImpl
typedef base::Callback<void(WebContents*)> CreatedCallback;
+ // Requests the renderer to move the selection extent to a new position.
+ void MoveSelectionExtent(const gfx::Point& position);
+
// 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);

Powered by Google App Engine
This is Rietveld 408576698