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

Issue 2802543002: Update window.internals.addTextMatchMarker() to take enum instead of bool (Closed)

Created:
3 years, 8 months ago by rlanday
Modified:
3 years, 8 months ago
Reviewers:
*tkent, yosin_UTC9, Xiaocheng
CC:
blink-reviews, chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Update window.internals.addTextMatchMarker() to take enum instead of bool Suggested by @yosin here: https://codereview.chromium.org/2801483002#msg20 We are changing DocumentMarkerController::addTextMatchMarker() to take an enum in https://codereview.chromium.org/2801483002 since it's unclear from looking at a callsite what "true" and "false" mean. This CL handles the window.internals changes separately since a bunch of tests have to be updated. BUG=707867 Review-Url: https://codereview.chromium.org/2802543002 Cr-Commit-Position: refs/heads/master@{#462319} Committed: https://chromium.googlesource.com/chromium/src/+/3ca300989422ff59471397342e4789fb659290cf

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix some tests I messed up when updating #

Patch Set 3 : Rebase to try to fix trybots #

Patch Set 4 : equalIgnoringASCIICase() #

Patch Set 5 : Fix one more test, add k prefix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -39 lines) Patch
M third_party/WebKit/LayoutTests/fast/dom/documentmarker-add-adjacent-text.html View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/documentmarker-set-active.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/scrolling/scrollbar-tickmarks-hittest.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/scrolling/scrollbar-tickmarks-styled.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/fast/scrolling/scrollbar-tickmarks-styled-after-onload.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/compositing/text-match-highlight.html View 1 2 3 4 2 chunks +9 lines, -10 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/text-match.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/text-match-document-change.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/text-match-pre-wrapped-text.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/text-match-svg.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/text-match-transparent-text.html View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/paint/text/text-match-highlights-big-line-height.html View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/svg/custom/text-match-highlight.html View 1 2 3 4 2 chunks +10 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.h View 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.cpp View 1 2 3 4 1 chunk +23 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.idl View 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 37 (28 generated)
rlanday
3 years, 8 months ago (2017-04-05 02:32:40 UTC) #4
yosin_UTC9
lgtm for code change Please update description as self explained with What, Why, Outcome, References ...
3 years, 8 months ago (2017-04-05 04:01:24 UTC) #9
tkent
https://codereview.chromium.org/2802543002/diff/1/third_party/WebKit/Source/core/testing/Internals.cpp File third_party/WebKit/Source/core/testing/Internals.cpp (right): https://codereview.chromium.org/2802543002/diff/1/third_party/WebKit/Source/core/testing/Internals.cpp#newcode1009 third_party/WebKit/Source/core/testing/Internals.cpp:1009: if (equalIgnoringCase(matchStatus, "Active")) Please don't use equalIgnoringCase(). It's unnecessarily ...
3 years, 8 months ago (2017-04-05 04:16:32 UTC) #10
rlanday
On 2017/04/05 at 04:16:32, tkent wrote: > https://codereview.chromium.org/2802543002/diff/1/third_party/WebKit/Source/core/testing/Internals.cpp > File third_party/WebKit/Source/core/testing/Internals.cpp (right): > > https://codereview.chromium.org/2802543002/diff/1/third_party/WebKit/Source/core/testing/Internals.cpp#newcode1009 ...
3 years, 8 months ago (2017-04-05 21:02:17 UTC) #22
tkent
lgtm
3 years, 8 months ago (2017-04-05 21:44:19 UTC) #23
rlanday
On 2017/04/05 at 21:44:19, tkent wrote: > lgtm
3 years, 8 months ago (2017-04-05 23:14:29 UTC) #27
rlanday
I've added the k prefix here since we're adding it to the C++ enum in ...
3 years, 8 months ago (2017-04-05 23:14:49 UTC) #28
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/2802543002/80001
3 years, 8 months ago (2017-04-06 01:47:31 UTC) #34
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 01:55:08 UTC) #37
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/3ca300989422ff59471397342e47...

Powered by Google App Engine
This is Rietveld 408576698