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

Issue 22751005: Convert USERSELECT_ALL to a runtime enabled feature. (Closed)

Created:
7 years, 4 months ago by ojan
Modified:
7 years, 4 months ago
Reviewers:
adamk, eseidel
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, adamk+blink_chromium.org
Visibility:
Public.

Description

Convert USERSELECT_ALL to a runtime enabled feature. We'd like to turn this on again once yahoo mail fixes their site. In the meantime, it can be runtime enabled so we keep it compiling at least. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155893

Patch Set 1 #

Patch Set 2 : add rebaselines #

Total comments: 3

Patch Set 3 : review feedback. #

Total comments: 2

Patch Set 4 : remove a couple more checks #

Patch Set 5 : undo reordering of if statements #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -71 lines) Patch
M LayoutTests/TestExpectations View 1 1 chunk +2 lines, -0 lines 0 comments Download
M LayoutTests/editing/selection/user-select-all-selection-expected.txt View 1 1 chunk +7 lines, -7 lines 0 comments Download
M LayoutTests/platform/linux/editing/selection/user-select-all-with-shift-expected.txt View 1 9 chunks +10 lines, -10 lines 0 comments Download
M Source/core/dom/Node.cpp View 1 2 1 chunk +1 line, -5 lines 0 comments Download
M Source/core/dom/Position.h View 1 chunk +1 line, -2 lines 0 comments Download
M Source/core/dom/Position.cpp View 2 chunks +1 line, -3 lines 0 comments Download
M Source/core/editing/FrameSelection.cpp View 1 2 3 5 chunks +1 line, -11 lines 0 comments Download
M Source/core/editing/VisibleUnits.cpp View 1 2 3 4 3 chunks +1 line, -8 lines 0 comments Download
M Source/core/editing/htmlediting.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/editing/htmlediting.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/page/EventHandler.cpp View 1 2 3 4 chunks +20 lines, -24 lines 0 comments Download
M Source/core/page/RuntimeEnabledFeatures.in View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
ojan
7 years, 4 months ago (2013-08-09 18:36:25 UTC) #1
adamk
https://codereview.chromium.org/22751005/diff/4001/Source/core/dom/Node.cpp File Source/core/dom/Node.cpp (right): https://codereview.chromium.org/22751005/diff/4001/Source/core/dom/Node.cpp#newcode657 Source/core/dom/Node.cpp:657: if (RuntimeEnabledFeatures::userSelectAllEnabled() && node->renderer()->style()->userSelect() == SELECT_ALL && treatment == ...
7 years, 4 months ago (2013-08-09 21:42:32 UTC) #2
ojan
https://codereview.chromium.org/22751005/diff/4001/Source/core/dom/Node.cpp File Source/core/dom/Node.cpp (right): https://codereview.chromium.org/22751005/diff/4001/Source/core/dom/Node.cpp#newcode657 Source/core/dom/Node.cpp:657: if (RuntimeEnabledFeatures::userSelectAllEnabled() && node->renderer()->style()->userSelect() == SELECT_ALL && treatment == ...
7 years, 4 months ago (2013-08-09 22:10:10 UTC) #3
adamk
https://codereview.chromium.org/22751005/diff/9001/Source/core/editing/FrameSelection.cpp File Source/core/editing/FrameSelection.cpp (right): https://codereview.chromium.org/22751005/diff/9001/Source/core/editing/FrameSelection.cpp#newcode562 Source/core/editing/FrameSelection.cpp:562: if (!RuntimeEnabledFeatures::userSelectAllEnabled()) You can avoid this since rootUserSelectAlLForNode() will ...
7 years, 4 months ago (2013-08-09 22:28:34 UTC) #4
ojan
Good points. Done. Also reordered the if-statements I had arbitrarily reordered.
7 years, 4 months ago (2013-08-09 22:45:09 UTC) #5
adamk
lgtm
7 years, 4 months ago (2013-08-09 22:51:45 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ojan@chromium.org/22751005/17001
7 years, 4 months ago (2013-08-09 22:51:55 UTC) #7
commit-bot: I haz the power
7 years, 4 months ago (2013-08-10 01:34:22 UTC) #8
Message was sent while issue was closed.
Change committed as 155893

Powered by Google App Engine
This is Rietveld 408576698