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

Issue 2480993002: Clean up some NativeTheme code. (Closed)

Created:
4 years, 1 month ago by Evan Stade
Modified:
4 years, 1 month ago
Reviewers:
bokan, sky
CC:
chromium-reviews, tfarina, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Clean up some NativeTheme code. - improve instantiation - allow to specify separate instances for web and native - two NativeThemeAura instances coexist for w/wo overlay scrollbars BUG=307091 Committed: https://crrev.com/99453a7509f05ca729e66d774f5ae2817c3988c3 Cr-Commit-Position: refs/heads/master@{#430381}

Patch Set 1 #

Total comments: 10

Patch Set 2 : no notreached #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -42 lines) Patch
M ui/native_theme/native_theme.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ui/native_theme/native_theme_android.cc View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/native_theme/native_theme_aura.h View 2 chunks +4 lines, -1 line 0 comments Download
M ui/native_theme/native_theme_aura.cc View 1 6 chunks +39 lines, -32 lines 0 comments Download
M ui/native_theme/native_theme_dark_aura.cc View 1 chunk +1 line, -1 line 0 comments Download
M ui/native_theme/native_theme_mac.mm View 1 chunk +5 lines, -0 lines 0 comments Download
M ui/native_theme/native_theme_win.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/view.cc View 1 chunk +1 line, -8 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
Evan Stade
4 years, 1 month ago (2016-11-06 23:06:57 UTC) #6
bokan
https://codereview.chromium.org/2480993002/diff/1/ui/native_theme/native_theme_aura.cc File ui/native_theme/native_theme_aura.cc (right): https://codereview.chromium.org/2480993002/diff/1/ui/native_theme/native_theme_aura.cc#newcode70 ui/native_theme/native_theme_aura.cc:70: (IsOverlayScrollbarEnabled())); The is_overlay param can't use IsOverlayScrollbarEnabled since that's ...
4 years, 1 month ago (2016-11-06 23:37:24 UTC) #7
Evan Stade
https://codereview.chromium.org/2480993002/diff/1/ui/native_theme/native_theme_aura.cc File ui/native_theme/native_theme_aura.cc (right): https://codereview.chromium.org/2480993002/diff/1/ui/native_theme/native_theme_aura.cc#newcode70 ui/native_theme/native_theme_aura.cc:70: (IsOverlayScrollbarEnabled())); On 2016/11/06 23:37:24, bokan wrote: > The is_overlay ...
4 years, 1 month ago (2016-11-07 00:40:43 UTC) #8
bokan
https://codereview.chromium.org/2480993002/diff/1/ui/native_theme/native_theme_aura.cc File ui/native_theme/native_theme_aura.cc (right): https://codereview.chromium.org/2480993002/diff/1/ui/native_theme/native_theme_aura.cc#newcode70 ui/native_theme/native_theme_aura.cc:70: (IsOverlayScrollbarEnabled())); On 2016/11/07 00:40:43, Evan Stade wrote: > On ...
4 years, 1 month ago (2016-11-07 12:28:12 UTC) #9
Evan Stade
https://codereview.chromium.org/2480993002/diff/1/ui/native_theme/native_theme_aura.cc File ui/native_theme/native_theme_aura.cc (right): https://codereview.chromium.org/2480993002/diff/1/ui/native_theme/native_theme_aura.cc#newcode70 ui/native_theme/native_theme_aura.cc:70: (IsOverlayScrollbarEnabled())); On 2016/11/07 12:28:11, bokan wrote: > On 2016/11/07 ...
4 years, 1 month ago (2016-11-07 15:05:57 UTC) #10
bokan
On 2016/11/07 15:05:57, Evan Stade wrote: > https://codereview.chromium.org/2480993002/diff/1/ui/native_theme/native_theme_aura.cc > File ui/native_theme/native_theme_aura.cc (right): > > https://codereview.chromium.org/2480993002/diff/1/ui/native_theme/native_theme_aura.cc#newcode70 ...
4 years, 1 month ago (2016-11-07 16:48:50 UTC) #15
bokan
On 2016/11/07 16:48:50, bokan wrote: > On 2016/11/07 15:05:57, Evan Stade wrote: > > > ...
4 years, 1 month ago (2016-11-07 17:03:36 UTC) #16
Evan Stade
On 2016/11/07 17:03:36, bokan wrote: > On 2016/11/07 16:48:50, bokan wrote: > > On 2016/11/07 ...
4 years, 1 month ago (2016-11-07 17:11:30 UTC) #17
Evan Stade
p.s. sky, you technically only need to review ui/views/view.cc, but feel free to review more ...
4 years, 1 month ago (2016-11-07 17:12:07 UTC) #18
sky
LGTM
4 years, 1 month ago (2016-11-07 20:11:14 UTC) #19
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/2480993002/20001
4 years, 1 month ago (2016-11-07 21:19:15 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-07 21:31:29 UTC) #22
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/99453a7509f05ca729e66d774f5ae2817c3988c3 Cr-Commit-Position: refs/heads/master@{#430381}
4 years, 1 month ago (2016-11-07 21:37:48 UTC) #24
scheib
4 years, 1 month ago (2016-11-08 01:25:16 UTC) #25
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/2484043003/ by scheib@chromium.org.

The reason for reverting is: Scroll bars are appearing as errors in layout
tests: e.g.
fast/forms/select/listbox-appearance-basic.html

https://test-results.appspot.com/dashboards/flakiness_dashboard.html#tests=fa...

This rollback is speculative, but there are few possibilities in the blame list
https://chromium.googlesource.com/chromium/src/+log/40639df0c3a5e05761a846b2f....

Powered by Google App Engine
This is Rietveld 408576698