|
linux_aura: Keep GTK state from leaking between profiles.
The views::LinuxUI* object is global across profiles. However, it stored
profile specific state in the form of a |use_gtk_| variable. This fixes
Gtk2Borders so that they ask their owning view for a ThemeProvider and
expands the ui::ThemeProvider interface so that it exposes the
UsingNativeTheme() call from the ThemeService layer, instead of asking
the views::LinuxUI provider directly, which will likely return stale state.
BUG= 340805, 340799
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=252085
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+39 lines, -46 lines) |
Patch |
 |
M |
chrome/browser/themes/theme_service.h
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/themes/theme_service.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/themes/theme_service_aurax11.cc
|
View
|
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/download/background_theme.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/download/background_theme.mm
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/libgtk2ui/gtk2_border.h
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/libgtk2ui/gtk2_border.cc
|
View
|
|
5 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/libgtk2ui/gtk2_ui.h
|
View
|
1
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/libgtk2ui/gtk2_ui.cc
|
View
|
|
4 chunks |
+3 lines, -16 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/default_theme_provider.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/default_theme_provider.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/theme_provider.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/linux_ui/linux_ui.h
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
Total messages: 9 (0 generated)
|