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

Issue 2708703003: Expand FrameSeleciton::isRange() to increase chances of hoisting update layout (Closed)

Created:
3 years, 10 months ago by yosin_UTC9
Modified:
3 years, 10 months ago
Reviewers:
tkent, yoichio
CC:
blink-reviews, blink-reviews-html_chromium.org, chromium-reviews, dcheng, dglazkov+blink, dtapuska+blinkwatch_chromium.org, kinuko+watch, Navid Zolghadr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expand FrameSeleciton::isRange() to increase chances of hoisting update layout This patch expands |FrameSeleciton::isRange()| to increase chance of hoisting update layout. Note: This is mechanical change to replace |selection().isRange()| by |selection().computeVisibleSelectionInDOMTreeDeprecated().isRange()| Following patch will remove deprecated version. This patch is apart of expanding expensive member functions in |FrameSelection|: - rootEditableElement() - hasEditableStyle() - isContentEditable() - isContentRichlyEditable() - getSelectionType() - base() - extent() - start() - end() - isNone() - isRange() - isRange() BUG=694360 TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2708703003 Cr-Commit-Position: refs/heads/master@{#451781} Committed: https://chromium.googlesource.com/chromium/src/+/f895c25f6f60ffbddc9afac93d134a677551b37b

Patch Set 1 : 2017-02-21T13:10:49 #

Patch Set 2 : 2017-02-21T14:52:21 #

Patch Set 3 : 2017-02-21T23:48:22 rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -23 lines) Patch
M third_party/WebKit/Source/core/editing/Editor.cpp View 1 2 3 chunks +8 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/FrameSelection.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionController.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp View 1 2 3 chunks +8 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLLabelElement.cpp View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/EventHandler.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/input/EventHandlerTest.cpp View 1 2 5 chunks +10 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/input/MouseEventManager.cpp View 1 chunk +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/DragController.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 27 (19 generated)
yosin_UTC9
PTAL Changes in core/editing/, core/frame/, core/html, core/input, core/page and web/
3 years, 10 months ago (2017-02-21 07:09:01 UTC) #9
tkent
lgtm
3 years, 10 months ago (2017-02-21 07:14:38 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2708703003/20001
3 years, 10 months ago (2017-02-21 07:35:22 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/122993)
3 years, 10 months ago (2017-02-21 10:37:32 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2708703003/20001
3 years, 10 months ago (2017-02-21 12:30:00 UTC) #19
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/editing/FrameSelection.h: While running git apply --index -p1; error: patch failed: ...
3 years, 10 months ago (2017-02-21 13:11:10 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2708703003/40001
3 years, 10 months ago (2017-02-21 14:55:32 UTC) #24
commit-bot: I haz the power
3 years, 10 months ago (2017-02-21 17:04:30 UTC) #27
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/f895c25f6f60ffbddc9afac93d13...

Powered by Google App Engine
This is Rietveld 408576698