|
Move icon fallbacks into ExtensionAction.
This will help with changing the icon's appearance when it's in
request-to-act mode.
To deal with the fact that ExtensionAction can't load files, the
platform-specific code now explicitly caches icons into the
ExtensionAction.
I also noticed that several users were converting the returned icons
into another format, and caching the most recent such conversion.
Since gfx::Image does that automatically, I switched to storing that
instead of SkBitmap.
BUG= 133142
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149385
Total comments: 24
Total comments: 2
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+221 lines, -285 lines) |
Patch |
 |
M |
chrome/browser/extensions/api/extension_action/browser_action_apitest.cc
|
View
|
1
2
3
4
|
2 chunks |
+10 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/extension_action/page_action_apitest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/extensions/api/extension_action/page_as_browser_action_apitest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/extensions/browser_action_button.h
|
View
|
1
2
|
2 chunks |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/extensions/browser_action_button.mm
|
View
|
1
2
3
4
|
6 chunks |
+10 lines, -25 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/location_bar/page_action_decoration.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -39 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/gtk/browser_actions_toolbar_gtk.cc
|
View
|
1
2
3
4
|
4 chunks |
+7 lines, -28 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/gtk/location_bar_view_gtk.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/gtk/location_bar_view_gtk.cc
|
View
|
1
2
3
4
|
4 chunks |
+9 lines, -63 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/browser_action_view.h
|
View
|
1
2
3
4
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/browser_action_view.cc
|
View
|
1
2
3
4
|
4 chunks |
+4 lines, -13 lines |
4 comments
|
Download
|
 |
M |
chrome/browser/ui/views/location_bar/page_action_image_view.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -4 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/views/location_bar/page_action_image_view.cc
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -35 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension_action.h
|
View
|
1
2
3
4
|
7 chunks |
+24 lines, -6 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension_action.cc
|
View
|
1
2
3
4
|
5 chunks |
+51 lines, -5 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/extension_action_unittest.cc
|
View
|
1
2
3
4
|
8 chunks |
+67 lines, -22 lines |
0 comments
|
Download
|
 |
M |
chrome/common/extensions/manifest_tests/extension_manifests_scriptbadge_unittest.cc
|
View
|
1
2
3
4
|
4 chunks |
+22 lines, -7 lines |
0 comments
|
Download
|
Total messages: 14 (0 generated)
|