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

Issue 11786003: Move Icons out of Extension class (Closed)

Created:
7 years, 11 months ago by Devlin
Modified:
7 years, 9 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, jeremya+watch_chromium.org, sadrul, nkostylev+watch_chromium.org, feature-media-reviews_chromium.org, tfarina, ben+watch_chromium.org, jianli, Dmitry Titov, sail+watch_chromium.org, Aaron Boodman, rginda+watch_chromium.org, jennb, darin-cc_chromium.org, dcheng, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, mhx348_motorola.com, SanjoyPal
Base URL:
http://git.chromium.org/chromium/src.git@dc_unref_browser_action
Visibility:
Public.

Description

Move Icons out of Extension class BUG=159265 TBR=davemoore@chromium.org, atwilson@chromium.org, dalecurtis@chromium.org (davemoore - c/b/chromeos, atwilson - c/b/background, dalecurtis - c/b/media) Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=185030

Patch Set 1 : #

Patch Set 2 : License year update #

Total comments: 4

Patch Set 3 : Latest master + Yoyo's requests #

Total comments: 1

Patch Set 4 : Un-update licenses + latest master #

Patch Set 5 : Latest master + android gypi #

Patch Set 6 : #

Total comments: 2

Patch Set 7 : Rebase to use manifest handler priority #

Patch Set 8 : Latest #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+654 lines, -320 lines) Patch
M chrome/browser/background/background_application_list_model.cc View 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/background/background_contents_service.cc View 1 2 3 4 5 6 7 8 9 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_browser_private_api.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/offline/offline_load_page.cc View 1 2 3 4 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/developer_private/developer_private_api.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +7 lines, -4 lines 0 comments Download
A chrome/browser/extensions/api/icons/icons_api.h View 1 2 3 4 5 6 1 chunk +37 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/icons/icons_api.cc View 1 2 3 4 5 6 1 chunk +31 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/management/management_api.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/app_icon_loader_impl.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/convert_web_app_browsertest.cc View 1 2 3 4 5 6 2 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/extensions/convert_web_app_unittest.cc View 1 2 3 4 5 6 7 8 9 3 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/extensions/crx_installer.cc View 1 2 3 4 5 6 7 3 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_browsertest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_icon_image_unittest.cc View 1 2 3 4 5 6 7 5 chunks +17 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_icon_manager.cc View 1 2 3 4 5 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_install_prompt.cc View 1 2 3 4 5 6 7 3 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_protocols.cc View 1 2 3 4 5 6 7 8 9 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_protocols_unittest.cc View 1 2 3 4 5 6 7 5 chunks +9 lines, -5 lines 0 comments Download
M chrome/browser/extensions/extension_uninstall_dialog.cc View 1 2 3 4 5 3 chunks +9 lines, -6 lines 0 comments Download
M chrome/browser/extensions/extension_web_ui.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/image_loader_unittest.cc View 1 2 3 4 5 6 7 8 6 chunks +23 lines, -12 lines 0 comments Download
M chrome/browser/extensions/tab_helper.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/media/media_stream_capture_indicator.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_dependency_manager.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/extension_app_item.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/app_list/search_builder.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/browser_launcher_item_controller.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/infobars/extension_infobar_controller.mm View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/action_box_menu_bubble_controller.mm View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm View 1 2 3 4 5 6 4 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/ui/extensions/shell_window.cc View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/action_box_button_gtk.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/gtk/create_application_shortcuts_dialog_gtk.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 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 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/location_bar_view_gtk.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/script_bubble_gtk.cc View 1 2 3 4 5 6 7 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/panel.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/action_box_menu.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/views/create_application_shortcut_view.cc View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/infobars/extension_infobar.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc View 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/script_bubble_view.cc View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/web_applications/web_app_ui.cc View 1 2 3 4 5 6 7 3 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/ui/webui/extensions/extension_icon_source.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/options/search_engine_manager_handler.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -1 line 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 7 8 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 6 7 8 9 10 2 chunks +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/extension_action/script_badge_handler.h View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/extension_action/script_badge_handler.cc View 1 2 3 4 5 6 3 chunks +7 lines, -1 line 1 comment Download
M chrome/common/extensions/api/extension_action/script_badge_manifest_unittest.cc View 1 2 3 4 5 6 2 chunks +4 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/icons/icons_handler.h View 1 2 3 4 5 6 7 1 chunk +79 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/icons/icons_handler.cc View 1 2 3 4 5 6 1 chunk +147 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/icons/icons_manifest_unittest.cc View 1 2 3 4 5 6 7 1 chunk +64 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension.h View 1 2 3 4 5 6 7 8 9 8 chunks +1 line, -44 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +4 lines, -97 lines 0 comments Download
M chrome/common/extensions/extension_file_util.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/common/extensions/extension_file_util_unittest.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -0 lines 0 comments Download
D chrome/common/extensions/manifest_tests/extension_manifests_icon_unittest.cc View 1 chunk +0 lines, -49 lines 0 comments Download
M chrome/common/extensions/manifest_tests/extension_manifests_initvalue_unittest.cc View 1 2 3 4 5 6 7 6 chunks +14 lines, -5 lines 0 comments Download
M chrome/common/localized_error.cc View 1 2 3 4 5 6 7 2 chunks +9 lines, -4 lines 0 comments Download
M chrome/renderer/extensions/resource_request_policy.cc View 1 2 3 4 5 6 7 8 9 2 chunks +3 lines, -1 line 0 comments Download
M chrome/utility/chrome_content_utility_client.cc View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Devlin
7 years, 11 months ago (2013-01-07 21:11:36 UTC) #1
Yoyo Zhou
Nifty. https://chromiumcodereview.appspot.com/11786003/diff/6001/chrome/browser/ui/ash/launcher/browser_launcher_item_controller.cc File chrome/browser/ui/ash/launcher/browser_launcher_item_controller.cc (right): https://chromiumcodereview.appspot.com/11786003/diff/6001/chrome/browser/ui/ash/launcher/browser_launcher_item_controller.cc#newcode289 chrome/browser/ui/ash/launcher/browser_launcher_item_controller.cc:289: item.image = extensions::IconsInfo::GetDefaultIcon(true); // is app This is ...
7 years, 11 months ago (2013-01-08 01:26:12 UTC) #2
Devlin
+ sky for c/b/ui https://chromiumcodereview.appspot.com/11786003/diff/6001/chrome/browser/ui/ash/launcher/browser_launcher_item_controller.cc File chrome/browser/ui/ash/launcher/browser_launcher_item_controller.cc (right): https://chromiumcodereview.appspot.com/11786003/diff/6001/chrome/browser/ui/ash/launcher/browser_launcher_item_controller.cc#newcode289 chrome/browser/ui/ash/launcher/browser_launcher_item_controller.cc:289: item.image = extensions::IconsInfo::GetDefaultIcon(true); // is ...
7 years, 11 months ago (2013-01-16 23:32:28 UTC) #3
sky
LGTM https://chromiumcodereview.appspot.com/11786003/diff/35001/chrome/browser/ui/app_list/extension_app_item.cc File chrome/browser/ui/app_list/extension_app_item.cc (right): https://chromiumcodereview.appspot.com/11786003/diff/35001/chrome/browser/ui/app_list/extension_app_item.cc#newcode1 chrome/browser/ui/app_list/extension_app_item.cc:1: // Copyright (c) 2013 The Chromium Authors. All ...
7 years, 11 months ago (2013-01-17 00:47:10 UTC) #4
Yoyo Zhou
LGTM
7 years, 11 months ago (2013-01-22 19:56:59 UTC) #5
Devlin
+ nileshagrawal@ for android gypi changes + ben@ for gypi, chrome/common/localized_error.cc, and chrome/utility/chrome_content_utility_client.cc + mirandac@ ...
7 years, 10 months ago (2013-01-28 21:47:10 UTC) #6
nilesh
LGTM with nits. https://chromiumcodereview.appspot.com/11786003/diff/85001/chrome/browser/extensions/api/icons/icons_api.h File chrome/browser/extensions/api/icons/icons_api.h (right): https://chromiumcodereview.appspot.com/11786003/diff/85001/chrome/browser/extensions/api/icons/icons_api.h#newcode30 chrome/browser/extensions/api/icons/icons_api.h:30: } DISALLOW_COPY_AND_ASSIGN(..) http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml?showone=Copy_Constructors#Copy_Constructors https://chromiumcodereview.appspot.com/11786003/diff/85001/chrome/common/extensions/api/icons/icons_handler.h File chrome/common/extensions/api/icons/icons_handler.h ...
7 years, 10 months ago (2013-01-28 22:42:56 UTC) #7
Yoyo Zhou
FYI, I just found out that script badges depends on icons.
7 years, 10 months ago (2013-01-29 19:49:41 UTC) #8
Ben Goodger (Google)
lgtm
7 years, 10 months ago (2013-01-30 18:40:43 UTC) #9
Yoyo Zhou
You can add icons to the PrerequisiteKeys for script badges. This change LGTM with that ...
7 years, 10 months ago (2013-02-05 23:55:48 UTC) #10
Miranda Callahan
On 2013/02/05 23:55:48, Yoyo Zhou wrote: > You can add icons to the PrerequisiteKeys for ...
7 years, 10 months ago (2013-02-06 13:10:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/11786003/111001
7 years, 10 months ago (2013-02-26 06:24:12 UTC) #12
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) interactive_ui_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=102658
7 years, 10 months ago (2013-02-26 07:34:59 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rdevlin.cronin@chromium.org/11786003/116004
7 years, 9 months ago (2013-02-27 18:48:10 UTC) #14
Yoyo Zhou
LGTM https://chromiumcodereview.appspot.com/11786003/diff/116004/chrome/common/extensions/api/extension_action/script_badge_handler.cc File chrome/common/extensions/api/extension_action/script_badge_handler.cc (right): https://chromiumcodereview.appspot.com/11786003/diff/116004/chrome/common/extensions/api/extension_action/script_badge_handler.cc#newcode30 chrome/common/extensions/api/extension_action/script_badge_handler.cc:30: const std::vector<std::string>& ScriptBadgeHandler::PrerequisiteKeys() { By the way, I ...
7 years, 9 months ago (2013-02-27 20:09:14 UTC) #15
commit-bot: I haz the power
7 years, 9 months ago (2013-02-27 20:55:53 UTC) #16
Message was sent while issue was closed.
Change committed as 185030

Powered by Google App Engine
This is Rietveld 408576698