Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Issue 10843014: Generalize ExtensionIconSet to store icon paths for custom size sets (Closed)

Created:
8 years, 4 months ago by tbarzic
Modified:
8 years, 4 months ago
Reviewers:
Aaron Boodman
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

Generalize ExtensionIconSet to store icon paths for custom size sets. This is needed to make it easier to handle sets of extension icons that are not defined in extension manifest (e.g. default icons for browser_actions) BUG=138025, 135271 TEST=existing tests For mechanical changes caused by moving ExtensionIcons from ExtensionIconSet to extension_misc namespace (patchset 14): TBR=ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=151992

Patch Set 1 #

Patch Set 2 : new approach #

Patch Set 3 : . #

Patch Set 4 : . #

Patch Set 5 : . #

Patch Set 6 : .. #

Patch Set 7 : .. #

Patch Set 8 : remove bitmaps #

Patch Set 9 : ctor #

Patch Set 10 : nits #

Total comments: 6

Patch Set 11 : . #

Patch Set 12 : .. #

Total comments: 2

Patch Set 13 : rebase #

Patch Set 14 : ExtensionIcon -> extension_constants #

Patch Set 15 : . #

Patch Set 16 : #

Patch Set 17 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -153 lines) Patch
M chrome/browser/background/background_application_list_model.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/background/background_contents_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/file_browser_private_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/offline/offline_load_page.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/management/management_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/crx_installer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_icon_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_install_prompt.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_uninstall_dialog.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_web_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/image_loading_tracker_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 9 chunks +16 lines, -15 lines 0 comments Download
M chrome/browser/extensions/tab_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/app_list/extension_app_item.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/app_list/search_builder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/launcher_app_icon_loader.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/extension_infobar_controller.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/gtk/infobars/extension_infobar_gtk.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/infobars/extension_infobar.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_activity_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/extensions/extension_icon_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/extensions/extension_info_ui.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/extensions/extension.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 4 chunks +9 lines, -8 lines 0 comments Download
M chrome/common/extensions/extension_constants.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_icon_set.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +9 lines, -24 lines 0 comments Download
M chrome/common/extensions/extension_icon_set.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +6 lines, -20 lines 0 comments Download
M chrome/common/extensions/extension_icon_set_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +34 lines, -29 lines 0 comments Download
M chrome/common/extensions/manifest_tests/extension_manifests_icon_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +12 lines, -12 lines 0 comments Download
M chrome/common/localized_error.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
tbarzic
Hey, Aaron, can you take a look at this?
8 years, 4 months ago (2012-08-07 21:29:29 UTC) #1
Aaron Boodman
Hard to evaluate without a sample usage. Can you add some call sites so we ...
8 years, 4 months ago (2012-08-10 20:53:16 UTC) #2
Aaron Boodman
In general it seems weird to combine such different responsibilities in one class. Also, now, ...
8 years, 4 months ago (2012-08-10 20:54:48 UTC) #3
tbarzic
On 2012/08/10 20:54:48, Aaron Boodman wrote: > In general it seems weird to combine such ...
8 years, 4 months ago (2012-08-10 22:20:18 UTC) #4
Aaron Boodman
http://codereview.chromium.org/10843014/diff/4035/chrome/common/extensions/extension_icon_set.cc File chrome/common/extensions/extension_icon_set.cc (right): http://codereview.chromium.org/10843014/diff/4035/chrome/common/extensions/extension_icon_set.cc#newcode11 chrome/common/extensions/extension_icon_set.cc:11: const int kExtensionIconSizes[] = { Now that this class ...
8 years, 4 months ago (2012-08-10 23:01:57 UTC) #5
tbarzic
http://codereview.chromium.org/10843014/diff/4035/chrome/common/extensions/extension_icon_set.cc File chrome/common/extensions/extension_icon_set.cc (right): http://codereview.chromium.org/10843014/diff/4035/chrome/common/extensions/extension_icon_set.cc#newcode11 chrome/common/extensions/extension_icon_set.cc:11: const int kExtensionIconSizes[] = { On 2012/08/10 23:01:57, Aaron ...
8 years, 4 months ago (2012-08-11 00:58:45 UTC) #6
Aaron Boodman
lgtm w/ nit http://codereview.chromium.org/10843014/diff/9012/chrome/common/extensions/extension_icon_set.h File chrome/common/extensions/extension_icon_set.h (right): http://codereview.chromium.org/10843014/diff/9012/chrome/common/extensions/extension_icon_set.h#newcode16 chrome/common/extensions/extension_icon_set.h:16: enum ExtensionIcons { Can you move ...
8 years, 4 months ago (2012-08-13 23:33:25 UTC) #7
tbarzic
http://codereview.chromium.org/10843014/diff/9012/chrome/common/extensions/extension_icon_set.h File chrome/common/extensions/extension_icon_set.h (right): http://codereview.chromium.org/10843014/diff/9012/chrome/common/extensions/extension_icon_set.h#newcode16 chrome/common/extensions/extension_icon_set.h:16: enum ExtensionIcons { On 2012/08/13 23:33:25, Aaron Boodman wrote: ...
8 years, 4 months ago (2012-08-14 18:06:57 UTC) #8
tbarzic
8 years, 4 months ago (2012-08-14 18:11:18 UTC) #9
tbarzic
added TBR=ben
8 years, 4 months ago (2012-08-14 18:14:13 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tbarzic@chromium.org/10843014/8024
8 years, 4 months ago (2012-08-15 15:05:11 UTC) #11
commit-bot: I haz the power
Try job failure for 10843014-8024 (retry) on win_rel for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-15 16:13:22 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tbarzic@chromium.org/10843014/8024
8 years, 4 months ago (2012-08-15 20:05:12 UTC) #13
commit-bot: I haz the power
Try job failure for 10843014-8024 (retry) on linux_rel for step "interactive_ui_tests". It's a second try, ...
8 years, 4 months ago (2012-08-15 22:39:15 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tbarzic@chromium.org/10843014/8024
8 years, 4 months ago (2012-08-16 18:01:55 UTC) #15
commit-bot: I haz the power
8 years, 4 months ago (2012-08-16 19:34:47 UTC) #16
Try job failure for 10843014-8024 (retry) on linux_rel for step
"interactive_ui_tests".
It's a second try, previously, step "interactive_ui_tests" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_rel&...

Powered by Google App Engine
This is Rietveld 408576698