|
|
[Extensions UI] Clean up extension icon generation
Clean up extension icon generation so that a single object
handles drawing the icon and the badge, and we don't need
the extra methods like PaintExtra(). In addition to being a
nice cleanup, this is all but necessary for the next steps
in the "want to act" treatment. And as a bonus, it should
also fix bugs stemming from having different icons on the
toolbar and in the (chevron) overflow menu.
BUG= 417441
TBR=sky@chromium.org (extension actions reviewed by Finnur)
Committed: https://crrev.com/3a57a7ffd210addc2dc13567366208968a9c0292
Cr-Commit-Position: refs/heads/master@{#337476}
Total comments: 12
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+166 lines, -265 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/extension_action/browser_action_apitest.cc
|
View
|
1
2
|
9 chunks |
+30 lines, -12 lines |
1 comment
|
Download
|
 |
M |
chrome/browser/extensions/extension_action.h
|
View
|
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/extension_action.cc
|
View
|
|
2 chunks |
+0 lines, -33 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/extensions/browser_action_button.h
|
View
|
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/extensions/browser_action_button.mm
|
View
|
1
|
6 chunks |
+4 lines, -29 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm
|
View
|
1
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/toolbar/wrench_toolbar_button_cell.mm
|
View
|
1
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/extensions/extension_action_view_controller.h
|
View
|
|
2 chunks |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/extensions/extension_action_view_controller.cc
|
View
|
|
3 chunks |
+17 lines, -26 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/toolbar/media_router_action.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/toolbar/media_router_action.cc
|
View
|
|
1 chunk |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/toolbar/test_toolbar_action_view_controller.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/toolbar/test_toolbar_action_view_controller.cc
|
View
|
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/toolbar/toolbar_action_view_controller.h
|
View
|
|
3 chunks |
+4 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/location_bar/page_action_image_view.h
|
View
|
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/location_bar/page_action_image_view.cc
|
View
|
|
1 chunk |
+1 line, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/browser_actions_container.cc
|
View
|
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/chevron_menu_button.cc
|
View
|
|
2 chunks |
+20 lines, -13 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/toolbar_action_view.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/toolbar/toolbar_action_view.cc
|
View
|
|
3 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
 |
M |
chrome/common/badge_util.h
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/badge_util.cc
|
View
|
|
3 chunks |
+5 lines, -18 lines |
0 comments
|
Download
|
 |
M |
chrome/common/icon_with_badge_image_source.h
|
View
|
|
1 chunk |
+26 lines, -27 lines |
0 comments
|
Download
|
 |
M |
chrome/common/icon_with_badge_image_source.cc
|
View
|
|
1 chunk |
+33 lines, -23 lines |
0 comments
|
Download
|
Total messages: 25 (13 generated)
|