|
|
Make non-null VisibleSelections creatable only by createVisibleSelection[Deprecated]
This patch is a preparation for enforcing the creation of VisibleSelections
in clean layout, by hiding the constructors (other than default, copy and
assignment) of VisibleSelection as private and introducing new functions
createVisibleSelection[Deprecated] for creating new VisibleSelections.
createVisibleSelectionDeprecated can be called with dirty layout, and performs
synchronous layout update by itself. All call sites of the constructors
hidden by this patch are switched to it, except for that in AXLayoutObject.
createVisibleSelection must be called with clean layout. The above-mentioned
call site in AXLayoutObject is switched to call createVisibleSelection since
it is known to have ensured clean layout.
In future patches, all call sites of createVisibleSelectionDeprecated will be
made to ensure clean layout and then switch to createVisibleSelection.
BUG= 651373
Committed: https://crrev.com/cfe6f8d59b4ed940fd55f453e629c663e62d8755
Cr-Commit-Position: refs/heads/master@{#422011}
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+342 lines, -168 lines) |
Patch |
 |
M |
third_party/WebKit/Source/core/dom/Element.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/DOMSelection.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/EditingUtilities.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/Editor.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/FrameSelection.cpp
|
View
|
|
6 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/FrameSelectionTest.cpp
|
View
|
|
9 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/GranularityStrategy.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/GranularityStrategyTest.cpp
|
View
|
|
11 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/PendingSelection.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/SelectionAdjuster.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/SelectionAdjusterTest.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/SelectionController.cpp
|
View
|
|
9 chunks |
+10 lines, -10 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/SelectionModifier.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/VisibleSelection.h
|
View
|
1
|
3 chunks |
+38 lines, -9 lines |
1 comment
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/VisibleSelection.cpp
|
View
|
1
|
3 chunks |
+169 lines, -24 lines |
1 comment
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/VisibleSelectionTest.cpp
|
View
|
|
9 chunks |
+17 lines, -17 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/commands/ApplyBlockElementCommand.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/commands/ApplyStyleCommand.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/commands/BreakBlockquoteCommand.cpp
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.cpp
|
View
|
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/commands/CreateLinkCommand.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/commands/DeleteSelectionCommand.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/commands/EditCommand.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/commands/IndentOutdentCommand.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/commands/InsertLineBreakCommand.cpp
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/commands/InsertListCommand.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/commands/InsertListCommandTest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/commands/InsertTextCommand.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/commands/MoveSelectionCommand.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommandTest.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/editing/spellcheck/SpellChecker.cpp
|
View
|
|
6 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/html/HTMLTextFormControlElementTest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/input/EventHandlerTest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/page/DragController.cpp
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/page/FocusController.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/svg/SVGTextContentElement.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
1 comment
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebViewImpl.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/mac/WebSubstringUtil.mm
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 24 (16 generated)
|