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

Unified Diff: public/web/WebLocalFrame.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: Updated comment 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_range_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/WebLocalFrame.h
diff --git a/public/web/WebLocalFrame.h b/public/web/WebLocalFrame.h
index e92eddc1dba82affa84e7e5aa2af4d7413728d91..826fdfa7fc8743068e2edbbd1fc23a13497948e0 100644
--- a/public/web/WebLocalFrame.h
+++ b/public/web/WebLocalFrame.h
@@ -67,6 +67,14 @@ public:
// Associates an isolated world with human-readable name which is useful for
// extension debugging.
virtual void setIsolatedWorldHumanReadableName(int worldID, const WebString&) = 0;
+
+
+ // Selection --------------------------------------------------------------
+
+ // Moves the selection extent point. This function does not allow the
+ // selection to collapse. If the new extent is set to the same position as
+ // the current base, this function will do nothing.
+ virtual void moveRangeSelectionExtent(const WebPoint&) = 0;
};
} // namespace blink
« no previous file with comments | « Source/web/tests/data/move_range_selection_extent.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698