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

Unified Diff: Source/core/editing/FrameSelection.h

Issue 1123563003: Improving direction-based selection strategy. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removing anonymous namespace and marking functions static instead. Created 5 years, 6 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/core/core.gypi ('k') | Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/FrameSelection.h
diff --git a/Source/core/editing/FrameSelection.h b/Source/core/editing/FrameSelection.h
index d1fefa149bf76ccaeb597c561c2d91590875649c..58e37af134f85d9e1ab95d2efa935feae2d14ffb 100644
--- a/Source/core/editing/FrameSelection.h
+++ b/Source/core/editing/FrameSelection.h
@@ -127,10 +127,10 @@ public:
bool modify(EAlteration, unsigned verticalDistance, VerticalDirection, EUserTriggered = NotUserTriggered, CursorAlignOnScroll = AlignCursorOnScrollIfNeeded);
// Moves the selection extent based on the selection granularity strategy.
- // 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.
- void moveRangeSelectionExtent(const VisiblePosition&);
+ // This function does not allow the selection to collapse. If the new
+ // extent is resolved to the same position as the current base, this
+ // function will do nothing.
+ void moveRangeSelectionExtent(const IntPoint&);
void moveRangeSelection(const VisiblePosition& base, const VisiblePosition& extent, TextGranularity);
TextGranularity granularity() const { return m_granularity; }
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/editing/FrameSelection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698