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

Unified Diff: public/web/WebFrame.h

Issue 653383002: Add new API for only moving the selection extent point. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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
« no previous file with comments | « Source/web/tests/data/move_selection_extent.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrame.h
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h
index 0250a19423b095f1649b85f50ec182784bb24d27..557c129f48b48b9fc4dd75789ae1dd888c3e3986 100644
--- a/public/web/WebFrame.h
+++ b/public/web/WebFrame.h
@@ -454,6 +454,9 @@ public:
virtual void selectRange(const WebRange&) = 0;
+ // Move the selection extent point.
+ virtual void moveSelectionExtent(const WebPoint&) = 0;
mlamouri (slow - plz ping) 2014/10/15 12:13:51 Can't you define that in public/web/WebLocalFrame.
jdduke (slow) 2014/10/15 17:49:47 I think it would be a little odd to restrict this
christiank 2014/10/17 14:30:24 Sure, I'll move it to WebLocalFrame and rename it
+
// Move the current selection to the provided window point/points. If the
// current selection is editable, the new selection will be restricted to
// the root editable element.
« no previous file with comments | « Source/web/tests/data/move_selection_extent.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698