|
Introduce nextPositionOf() for VisiblePosition
This patch introduces |nextPositionOf()| function for |VisiblePosition| as
replacement of |VisiblePosition::next()| to simplify |VisiblePosition| class
for ease of templataizing |VisiblePosition| class to introduce composed tree
version of |VisiblePosition|, since an implementation of
|VisiblePosition::next()| can be implemented with public member functions of
|VisiblePosition| class.
Note: http://crrev.com/1310043003introduces |previousPositionOf()|.
This patch is a preparation of making selection to handle granularity for web
component, http://crrev.com/1277863002
BUG= 513568
TEST=n/a; No behavior changes
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201389
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+61 lines, -59 lines) |
Patch |
 |
M |
Source/core/editing/EditingUtilities.cpp
|
View
|
1
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/Editor.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/editing/FrameSelection.cpp
|
View
|
1
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/PlainTextRange.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/editing/VisiblePosition.h
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/editing/VisiblePosition.cpp
|
View
|
1
|
1 chunk |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/VisibleSelection.cpp
|
View
|
1
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/VisibleUnits.cpp
|
View
|
1
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/ApplyBlockElementCommand.cpp
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/ApplyStyleCommand.cpp
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/BreakBlockquoteCommand.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/CompositeEditCommand.cpp
|
View
|
1
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/DeleteSelectionCommand.cpp
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/IndentOutdentCommand.cpp
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/InsertListCommand.cpp
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/ReplaceSelectionCommand.cpp
|
View
|
1
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/TypingCommand.cpp
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/serializers/StyledMarkupSerializer.cpp
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/frame/LocalFrame.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/layout/PendingSelection.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/svg/SVGTextContentElement.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 15 (7 generated)
|