|
The offset of the tab strip wrt to the top of the frame is different depending on whether the browser is maximized or not on CrOS. Currently we generate IDR_THEME_TAB_BACKGROUND upon theme install by combining an HSL shifted version "theme_frame" with the "theme_tab_background" provided by the theme author. This process assumes that the offset between the frame and the tabstrip is constant which it is not on CrOS.
This CL splits up the HSL shifted "theme_frame" (now IDR_THEME_TAB_BACKGROUND) and the "theme_tab_background" (now IDR_THEME_TAB_BACKGROUND_OVERLAY) provided by the theme author into two separate resources and combines them at paint time.
BUG= 176857, 166955
TEST=Manual, see bug
Total comments: 1
Total comments: 3
Total comments: 2
Total comments: 8
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+591 lines, -303 lines) |
Patch |
 |
M |
chrome/app/theme/theme_resources.grd
|
View
|
1
2
3
4
5
6
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/themes/browser_theme_pack.cc
|
View
|
1
2
3
4
5
6
|
17 chunks |
+165 lines, -125 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/themes/browser_theme_pack_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
View
|
1
2
3
4
5
6
|
5 chunks |
+82 lines, -29 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/tabs/tab_view.mm
|
View
|
1
2
3
4
5
6
|
5 chunks |
+27 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/themed_window.h
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/gtk/tabs/tab_renderer_gtk.h
|
View
|
1
2
3
|
1 chunk |
+12 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc
|
View
|
1
2
3
|
5 chunks |
+54 lines, -50 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/tabs/tab.h
|
View
|
|
2 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/tabs/tab.cc
|
View
|
1
2
3
4
|
9 chunks |
+73 lines, -61 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/tabs/tab_paint_util.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/browser/ui/views/tabs/tab_paint_util.cc
|
View
|
1
2
3
4
|
1 chunk |
+92 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/tabs/tab_strip.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+18 lines, -17 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/theme_image_mapper_aura_win.cc
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/chrome_browser_ui.gypi
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/image/image_skia_operations.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 16 (0 generated)
|