|
GTK: Initial implementation of using GTK themes, partially based on evan's CL 118358.
A lot of stuff works:
- Colors are picked out of the GTK theme.
- Buttons use the current GTK button theme.
- We use the user's icon theme.
A lot of stuff doesn't:
- We could do a better job of picking colors for the skylines.
- The omnibox hasn't been touched.
- UI that's not part of the toolbar hasn't been touched.
- We currently fail on themes like HighContrastInverse.
TEST=Under Options>Personal Stuff, click GTK Theme. Colors and widgets should be rendered with the current GTK theme stuff.
TEST=With chrome open and in GTK Theme mode, change your GTK theme or icon theme. chrome should pick up on the change immediately and reimport the colors and images.
http://crbug.com/13967
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=19868
Total comments: 1
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+665 lines, -143 lines) |
Patch |
 |
M |
chrome/app/chrome_dll_main.cc
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/browser_theme_provider.h
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+100 lines, -19 lines |
1 comment
|
Download
|
 |
M |
chrome/browser/browser_theme_provider.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+82 lines, -64 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/back_forward_button_gtk.h
|
View
|
1
2
|
3 chunks |
+6 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/back_forward_button_gtk.cc
|
View
|
|
2 chunks |
+9 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/bookmark_bar_gtk.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/bookmark_bar_gtk.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+32 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/browser_titlebar.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/browser_toolbar_gtk.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/browser_toolbar_gtk.cc
|
View
|
1
2
3
4
5
6
|
6 chunks |
+25 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/browser_window_gtk.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+7 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/custom_button.h
|
View
|
|
4 chunks |
+20 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/custom_button.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+40 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/find_bar_gtk.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/gtk_chrome_button.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/gtk_chrome_button.cc
|
View
|
|
5 chunks |
+41 lines, -13 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/gtk/gtk_theme_provider.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+61 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/gtk/gtk_theme_provider.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+154 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/location_bar_view_gtk.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+12 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/options/content_page_gtk.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/options/content_page_gtk.cc
|
View
|
|
2 chunks |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/tabs/tab_renderer_gtk.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/gtk/tabs/tab_strip_gtk.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/profile.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/profile.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+20 lines, -0 lines |
1 comment
|
Download
|
 |
M |
chrome/chrome.gyp
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/common/pref_names.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+5 lines, -0 lines |
1 comment
|
Download
|
 |
M |
chrome/common/pref_names.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+4 lines, -0 lines |
1 comment
|
Download
|
 |
M |
chrome/test/testing_profile.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|