|
|
Views: factor out Combobox background and const-ify style
This change:
* Factors background sizing out of Combobox
* Makes ComboboxBackgroundMac reusable for other controls
* Removes the ability to change the style of comboboxes dynamically
* Introduces caching of arrow images for comboboxes
BUG= 605161
Committed: https://crrev.com/9412ffff054dd142ec06804e1e1303d3f6f064cf
Cr-Commit-Position: refs/heads/master@{#394250}
Total comments: 6
Total comments: 4
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+197 lines, -139 lines) |
Patch |
 |
M |
chrome/browser/ui/views/translate/translate_bubble_view.cc
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/BUILD.gn
|
View
|
1
2
3
4
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/gfx/gfx.gyp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/gfx/scoped_canvas.h
|
View
|
|
2 chunks |
+18 lines, -1 line |
0 comments
|
Download
|
 |
A |
ui/gfx/scoped_canvas.cc
|
View
|
1
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/combobox/combobox.h
|
View
|
1
2
3
|
6 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/combobox/combobox.cc
|
View
|
1
2
3
|
14 chunks |
+49 lines, -72 lines |
0 comments
|
Download
|
 |
M |
ui/views/controls/combobox/combobox_unittest.cc
|
View
|
|
28 chunks |
+73 lines, -41 lines |
0 comments
|
Download
|
 |
M |
ui/views/examples/combobox_example.cc
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
ui/views/examples/examples.gyp
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/views/style/mac/combobox_background_mac.h
|
View
|
1
2
3
|
1 chunk |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/style/mac/combobox_background_mac.cc
|
View
|
1
2
3
|
1 chunk |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ui/views/style/platform_style.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/style/platform_style.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/views/style/platform_style_mac.mm
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
Total messages: 23 (10 generated)
|