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

Issue 2340633002: Modifies logic for computing drop down menu arrow's dimensions and how it is drawn. (Closed)

Created:
4 years, 3 months ago by malaykeshav
Modified:
4 years, 3 months ago
Reviewers:
Dirk Pranke, oshima, Xianzhu
CC:
chromium-reviews, einbinder+watch-test-runner_chromium.org, jochen+watch_chromium.org, mlamouri+watch-test-runner_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Modifies the logic to compute the dimensions of the drop down menu arrow that is used in layout tests. This modification allows the arrow to look the right size in different device scale factors when using zoom-for-dsf. This is achieved by using a square drop down arrow instead of a rectangular one. This logic is similar to what the native theme engine uses. BUG=640256 COMPONENT=Test Runners, Mock Web Theme Engine CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/b195fcd2e028db859a382323fad3c6910e3205c4 Cr-Commit-Position: refs/heads/master@{#419930}

Patch Set 1 #

Patch Set 2 : Modifies logic for computing drop down menu arrow's dimensions and how it is drawn. #

Total comments: 8

Patch Set 3 : Modifies logic for computing drop down menu arrow's dimensions and how it is drawn. #

Patch Set 4 : Modifies logic for computing drop down menu arrow's dimensions and how it is drawn. #

Patch Set 5 : Modifies logic for computing drop down menu arrow's dimensions and how it is drawn. #

Total comments: 1

Patch Set 6 : Modifies logic for computing drop down menu arrow's dimensions and how it is drawn. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -14 lines) Patch
M components/test_runner/mock_web_theme_engine.cc View 1 2 1 chunk +11 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 1 chunk +90 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/ThemePainterDefault.cpp View 1 2 2 chunks +8 lines, -5 lines 0 comments Download

Messages

Total messages: 53 (39 generated)
malaykeshav
4 years, 3 months ago (2016-09-13 22:12:27 UTC) #3
oshima
lgtm with nits https://codereview.chromium.org/2340633002/diff/20001/components/test_runner/mock_web_theme_engine.cc File components/test_runner/mock_web_theme_engine.cc (right): https://codereview.chromium.org/2340633002/diff/20001/components/test_runner/mock_web_theme_engine.cc#newcode486 components/test_runner/mock_web_theme_engine.cc:486: (extraParams->menuList.arrowSize + 1) / 2) can ...
4 years, 3 months ago (2016-09-17 01:31:21 UTC) #11
malaykeshav
Nit changes and rebaseline layout tests https://codereview.chromium.org/2340633002/diff/20001/components/test_runner/mock_web_theme_engine.cc File components/test_runner/mock_web_theme_engine.cc (right): https://codereview.chromium.org/2340633002/diff/20001/components/test_runner/mock_web_theme_engine.cc#newcode486 components/test_runner/mock_web_theme_engine.cc:486: (extraParams->menuList.arrowSize + 1) ...
4 years, 3 months ago (2016-09-19 18:09:27 UTC) #17
malaykeshav
PTAL
4 years, 3 months ago (2016-09-20 18:29:21 UTC) #32
Xianzhu
lgtm.
4 years, 3 months ago (2016-09-20 19:05:13 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/2340633002/100001
4 years, 3 months ago (2016-09-20 19:06:34 UTC) #36
Xianzhu
https://codereview.chromium.org/2340633002/diff/100001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (right): https://codereview.chromium.org/2340633002/diff/100001/third_party/WebKit/LayoutTests/TestExpectations#newcode366 third_party/WebKit/LayoutTests/TestExpectations:366: crbug.com/640256 [ Win ] fast/text/drawBidiText.html [ NeedsRebaseline ] Line ...
4 years, 3 months ago (2016-09-20 19:07:33 UTC) #37
malaykeshav
PTAL
4 years, 3 months ago (2016-09-20 21:17:37 UTC) #42
Xianzhu
lgtm.
4 years, 3 months ago (2016-09-20 21:35:34 UTC) #43
malaykeshav
friendly ping @dpranke
4 years, 3 months ago (2016-09-21 01:13:11 UTC) #46
Dirk Pranke
lgtm
4 years, 3 months ago (2016-09-21 01:15:18 UTC) #47
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/2340633002/120001
4 years, 3 months ago (2016-09-21 01:16:46 UTC) #50
commit-bot: I haz the power
Committed patchset #6 (id:120001)
4 years, 3 months ago (2016-09-21 01:23:18 UTC) #51
commit-bot: I haz the power
4 years, 3 months ago (2016-09-21 01:24:59 UTC) #53
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/b195fcd2e028db859a382323fad3c6910e3205c4
Cr-Commit-Position: refs/heads/master@{#419930}

Powered by Google App Engine
This is Rietveld 408576698