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

Issue 2838273002: Reland 097f9cde453ea57eb4aa037f44add782391c5eb9 (Closed)

Created:
3 years, 8 months ago by Evan Stade
Modified:
3 years, 7 months ago
Reviewers:
msw
CC:
chromium-reviews, sadrul, rogerm+autofillwatch_chromium.org, dougt+watch_chromium.org, dmazzoni+watch_chromium.org, awdf+watch_chromium.org, aboxhall+watch_chromium.org, sebsg+autofillwatch_chromium.org, rouslan+autofill_chromium.org, je_julie, vabr+watchlistautofill_chromium.org, kalyank, vabr+watchlistpasswordmanager_chromium.org, mlamouri+watch-notifications_chromium.org, yuzo+watch_chromium.org, hcarmona+bubble_chromium.org, gcasto+watchlist_chromium.org, rouslan+bubble_chromium.org, groby+bubble_chromium.org, mathp+autofillwatch_chromium.org, tfarina, nektar+watch_chromium.org, dtseng+watch_chromium.org, estade+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce a type of View background that stays in sync with its host View's native theme. This fixes a few bugs where we weren't using the right native theme, whether by not updating after the NativeTheme changes or by trying to access the NativeTheme before the View is added to a hierarchy (which yields the default NativeTheme --- for most platforms, this didn't effectively create a bug as there's only one NativeTheme). Best example is that now the sad tab respects the GTK native theme. Get rid of Ash's tray_constants::kBackgroundColor in favor of using the bubble background color from the NativeTheme. This is a reland of 097f9cde453ea57eb4aa037f44add782391c5eb9 with fix for asan failure. BUG=711183, 693282 TBR=stevenjb@chromium.org,tdanderson@chromium.org Review-Url: https://codereview.chromium.org/2838273002 Cr-Commit-Position: refs/heads/master@{#468157} Committed: https://chromium.googlesource.com/chromium/src/+/56fc9d639f67506841a0cb90a421a869e5107eea

Patch Set 1 #

Patch Set 2 : with fix #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -111 lines) Patch
M ash/system/audio/volume_view.cc View 2 chunks +4 lines, -1 line 0 comments Download
M ash/system/tray/system_tray.cc View 1 2 2 chunks +1 line, -1 line 0 comments Download
M ash/system/tray/tray_constants.h View 1 chunk +0 lines, -1 line 0 comments Download
M ash/system/tray/tray_constants.cc View 1 chunk +0 lines, -1 line 0 comments Download
M ash/system/tray/tray_details_view.cc View 1 2 3 chunks +5 lines, -3 lines 0 comments Download
M ash/system/tray/tray_popup_utils.cc View 1 2 3 chunks +5 lines, -5 lines 0 comments Download
M ash/system/tray_accessibility.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M ash/system/user/user_card_view.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M ash/system/user/user_view.h View 2 chunks +3 lines, -3 lines 0 comments Download
M ash/system/user/user_view.cc View 12 chunks +51 lines, -43 lines 0 comments Download
M chrome/browser/ui/views/autofill/password_generation_popup_view_views.cc View 2 chunks +7 lines, -9 lines 0 comments Download
M chrome/browser/ui/views/sad_tab_view.h View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/sad_tab_view.cc View 5 chunks +7 lines, -27 lines 0 comments Download
M ui/message_center/views/message_bubble_base.h View 1 chunk +0 lines, -2 lines 0 comments Download
M ui/message_center/views/message_bubble_base.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M ui/views/background.h View 2 chunks +7 lines, -0 lines 0 comments Download
M ui/views/background.cc View 1 3 chunks +37 lines, -0 lines 0 comments Download
M ui/views/bubble/tray_bubble_view.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M ui/views/bubble/tray_bubble_view.cc View 1 2 2 chunks +6 lines, -5 lines 0 comments Download
M ui/views/view.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/view_observer.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (16 generated)
Evan Stade
msw, PTAL. PS1 is original, PS2 contains the fix.
3 years, 8 months ago (2017-04-26 14:32:07 UTC) #8
Peter Beverloo
On 2017/04/26 14:32:07, Evan Stade wrote: > msw, PTAL. PS1 is original, PS2 contains the ...
3 years, 8 months ago (2017-04-26 14:42:47 UTC) #9
Evan Stade
On 2017/04/26 14:42:47, Peter Beverloo wrote: > On 2017/04/26 14:32:07, Evan Stade wrote: > > ...
3 years, 8 months ago (2017-04-26 15:09:25 UTC) #10
msw
On 2017/04/26 15:09:25, Evan Stade wrote: > On 2017/04/26 14:42:47, Peter Beverloo wrote: > > ...
3 years, 8 months ago (2017-04-26 21:39:47 UTC) #11
Evan Stade
On 2017/04/26 21:39:47, msw wrote: > On 2017/04/26 15:09:25, Evan Stade wrote: > > On ...
3 years, 8 months ago (2017-04-26 21:49:01 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/2838273002/20001
3 years, 8 months ago (2017-04-26 21:50:41 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/421399)
3 years, 8 months ago (2017-04-26 22:04:28 UTC) #17
msw
On 2017/04/26 21:49:01, Evan Stade wrote: > On 2017/04/26 21:39:47, msw wrote: > > On ...
3 years, 8 months ago (2017-04-26 23:17:43 UTC) #18
msw
On 2017/04/26 23:17:43, msw wrote: > On 2017/04/26 21:49:01, Evan Stade wrote: > > On ...
3 years, 8 months ago (2017-04-26 23:18:10 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/2838273002/40001
3 years, 7 months ago (2017-04-27 20:44:40 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/62868)
3 years, 7 months ago (2017-04-27 21:05:42 UTC) #24
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/2838273002/40001
3 years, 7 months ago (2017-04-28 21:26:16 UTC) #26
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 22:28:19 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/56fc9d639f67506841a0cb90a421...

Powered by Google App Engine
This is Rietveld 408576698