|
|
Rejigger ThemeService: move exposure of ThemeProvider interface to a
separate class.
ThemeService provides a static way to get a ThemeProvider from a profile.
This allows different ThemeProviders for different profiles (i.e. otr +
original), while the majority of ThemeService remains per original profile.
As a bonus, UsingSystemTheme is moved from ThemeProvider to ThemeService, where
it seems more natural. It's still part of ThemeProvider on OSX, but only because
updating OSX will require more effort (and more care).
One new incognito color is implemented (for MD mode): COLOR_TOOLBAR. This is
ironically not yet visible on the toolbar, but you can see it on the DL shelf.
BUG= 501377, 568388
Committed: https://crrev.com/68691b28a76845494f3b51d02e24844a69833032
Cr-Commit-Position: refs/heads/master@{#364812}
Total comments: 41
Total comments: 8
Total comments: 1
Total comments: 6
Total comments: 7
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+585 lines, -579 lines) |
Patch |
 |
M |
chrome/browser/chromeos/login/ui/simple_web_view_dialog.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/search/instant_service.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/search/instant_service.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+25 lines, -30 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/search/local_ntp_source.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/themes/theme_properties.h
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/themes/theme_properties.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+10 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/themes/theme_service.h
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+70 lines, -27 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/themes/theme_service.cc
|
View
|
1
2
3
4
5
|
8 chunks |
+212 lines, -157 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/themes/theme_service_browsertest.cc
|
View
|
1
|
3 chunks |
+10 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/themes/theme_service_mac.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+26 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/themes/theme_service_unittest.cc
|
View
|
1
|
4 chunks |
+31 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.mm
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view_unittest.mm
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/bookmarks/bookmark_button.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/browser_window_controller.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/gradient_button_cell.mm
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/styled_text_field_cell.mm
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/tab_contents/tab_contents_controller.mm
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/tabs/tab_view.mm
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/search_ui.h
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/search/search_ui.cc
|
View
|
1
2
3
|
1 chunk |
+14 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/toolbar/app_menu_icon_painter_unittest.cc
|
View
|
|
3 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc
|
View
|
|
2 chunks |
+11 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_desktop_window_tree_host_x11.cc
|
View
|
|
2 chunks |
+23 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_frame.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_frame.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/frame/browser_view.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+6 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/back_button.h
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/back_button.cc
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/home_button.cc
|
View
|
|
1 chunk |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/reload_button.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
3 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/reload_button.cc
|
View
|
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/reload_button_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
4 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/toolbar_action_view.h
|
View
|
1
2
3
4
5
|
4 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/toolbar_action_view.cc
|
View
|
1
2
3
4
5
|
4 chunks |
+2 lines, -20 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/toolbar_button.h
|
View
|
|
3 chunks |
+8 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/toolbar_button.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
D |
chrome/browser/ui/views/toolbar/toolbar_button_test.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+0 lines, -132 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/toolbar_view.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/ntp/ntp_resource_cache.cc
|
View
|
1
2
3
4
5
6
|
8 chunks |
+21 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/theme_handler.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/theme_source.cc
|
View
|
|
2 chunks |
+6 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_tests.gypi
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
2 chunks |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/test/BUILD.gn
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/base/default_theme_provider.h
|
View
|
|
2 chunks |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/base/default_theme_provider.cc
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
ui/base/default_theme_provider_mac.mm
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/base/theme_provider.h
|
View
|
1
2
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
Total messages: 54 (19 generated)
|