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

Issue 2709503003: Expand FrameSeleciton::isContentEditable() 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, chromium-reviews, dcheng, krit, fmalita+watch_chromium.org, fs, gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Expand FrameSeleciton::isContentEditable() to increase chances of hoisting update layout This patch expands |FrameSeleciton::isContentEditable()| to increase chance of hoisting update layout. Note: This is mechanical change to replace |selection().isContentEditable()| by |selection().computeVisibleSelectionInDOMTreeDeprecated().isContentEditable()| 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() - isCaret() - isRange() BUG=694360 TEST=n/a; no behavior changes Review-Url: https://codereview.chromium.org/2709503003 Cr-Commit-Position: refs/heads/master@{#451959} Committed: https://chromium.googlesource.com/chromium/src/+/a68600309d39180eda0c6f30be56058dabe2d8c8

Patch Set 1 #

Patch Set 2 : 2017-02-22T08:13:55 rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -11 lines) Patch
M third_party/WebKit/Source/core/editing/Editor.cpp View 1 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/FrameSelection.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/FrameSelection.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/SelectionController.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/DragController.cpp View 1 3 chunks +9 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/UnsafeSVGAttributeSanitizationTest.cpp View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 42 (26 generated)
yosin_UTC9
PTAL Changes in core/editing/, core/page/ and core/svg
3 years, 10 months ago (2017-02-21 08:13:23 UTC) #6
tkent
lgtm
3 years, 10 months ago (2017-02-21 08:27:07 UTC) #7
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/2709503003/1
3 years, 10 months ago (2017-02-21 12:29:48 UTC) #11
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/page/DragController.cpp: While running git apply --index -p1; error: patch failed: ...
3 years, 10 months ago (2017-02-21 13:10:39 UTC) #13
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/2709503003/20001
3 years, 10 months ago (2017-02-21 23:44:31 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_chromeos_ozone_rel_ng on ...
3 years, 10 months ago (2017-02-22 01:19:20 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/2709503003/20001
3 years, 10 months ago (2017-02-22 01:46:08 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-22 01:49:26 UTC) #25
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/2709503003/20001
3 years, 10 months ago (2017-02-22 02:11:36 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_chromeos_ozone_rel_ng on ...
3 years, 10 months ago (2017-02-22 03:48:14 UTC) #29
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/2709503003/20001
3 years, 10 months ago (2017-02-22 03:55:11 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-22 04:42:33 UTC) #33
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/2709503003/20001
3 years, 10 months ago (2017-02-22 05:12:23 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/315597)
3 years, 10 months ago (2017-02-22 07:52:37 UTC) #37
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/2709503003/20001
3 years, 10 months ago (2017-02-22 08:00:39 UTC) #39
commit-bot: I haz the power
3 years, 10 months ago (2017-02-22 09:48:41 UTC) #42
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/a68600309d39180eda0c6f30be56...

Powered by Google App Engine
This is Rietveld 408576698