|
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.
BUG= 711183, 693282
TBR=stevenjb@chromium.org
Review-Url: https://codereview.chromium.org/2816193002
Cr-Commit-Position: refs/heads/master@{#466847}
Committed: https://chromium.googlesource.com/chromium/src/+/097f9cde453ea57eb4aa037f44add782391c5eb9
Total comments: 2
Total comments: 8
Total comments: 15
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+145 lines, -111 lines) |
Patch |
 |
M |
ash/system/audio/volume_view.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/tray/system_tray.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_constants.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_constants.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_details_view.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray/tray_popup_utils.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ash/system/tray_accessibility.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/user/user_card_view.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ash/system/user/user_view.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ash/system/user/user_view.cc
|
View
|
1
2
3
4
5
6
7
8
|
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
|
|
3 chunks |
+36 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/bubble/tray_bubble_view.h
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/bubble/tray_bubble_view.cc
|
View
|
|
2 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/views/view.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/view_observer.h
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
Total messages: 51 (30 generated)
|