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

Issue 1492073003: Handle more scale factors for extension Browser Action icons (Closed)

Created:
5 years ago by Evan Stade
Modified:
5 years ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, tfarina, extensions-reviews_chromium.org, tdanderson
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Handle more scale factors for extension Browser Action icons Also use 16x16 if provided in Material Design mode. Also, fix size of default icon (generated from extension's first letter) for MD. BUG=564926 Committed: https://crrev.com/39ea51bd9379fa9aaa974f8b91a559879175e681 Cr-Commit-Position: refs/heads/master@{#363278}

Patch Set 1 #

Patch Set 2 : better docs #

Total comments: 8

Patch Set 3 : fix mac, fix tests #

Patch Set 4 : actually do what Devlin asks #

Patch Set 5 : test catches real bug! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -162 lines) Patch
M chrome/browser/extensions/extension_action.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_action.cc View 1 2 3 4 11 chunks +32 lines, -63 lines 0 comments Download
M chrome/browser/extensions/extension_action_manager_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_action_storage_manager.cc View 1 2 3 4 5 chunks +23 lines, -23 lines 0 comments Download
M chrome/browser/ui/cocoa/location_bar/page_action_decoration.mm View 1 2 3 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/ui/extensions/extension_action_view_controller.cc View 2 chunks +1 line, -11 lines 0 comments Download
M chrome/browser/ui/views/location_bar/page_action_with_badge_view.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/api/extension_action/action_info.cc View 1 chunk +6 lines, -14 lines 0 comments Download
M chrome/common/extensions/api/extension_action/browser_action_manifest_unittest.cc View 1 2 3 chunks +19 lines, -13 lines 0 comments Download
M extensions/common/constants.h View 1 chunk +0 lines, -14 lines 0 comments Download
M extensions/common/constants.cc View 1 chunk +0 lines, -9 lines 0 comments Download
M extensions/common/manifest_handler_helpers.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M extensions/common/manifest_handler_helpers.cc View 1 chunk +21 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1492073003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1492073003/20001
5 years ago (2015-12-02 23:22:45 UTC) #2
Evan Stade
https://codereview.chromium.org/1492073003/diff/20001/chrome/browser/extensions/extension_action.cc File chrome/browser/extensions/extension_action.cc (right): https://codereview.chromium.org/1492073003/diff/20001/chrome/browser/extensions/extension_action.cc#newcode309 chrome/browser/extensions/extension_action.cc:309: // Fall back to the product icons if no ...
5 years ago (2015-12-02 23:25:32 UTC) #4
Devlin
lgtm https://codereview.chromium.org/1492073003/diff/20001/chrome/browser/extensions/extension_action.cc File chrome/browser/extensions/extension_action.cc (right): https://codereview.chromium.org/1492073003/diff/20001/chrome/browser/extensions/extension_action.cc#newcode309 chrome/browser/extensions/extension_action.cc:309: // Fall back to the product icons if ...
5 years ago (2015-12-03 00:00:38 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/130836)
5 years ago (2015-12-03 00:03:04 UTC) #7
Evan Stade
+rohitrao for c/b/ui/cocoa +sky for c/b/ui/views/ https://codereview.chromium.org/1492073003/diff/20001/chrome/browser/extensions/extension_action_storage_manager.cc File chrome/browser/extensions/extension_action_storage_manager.cc (right): https://codereview.chromium.org/1492073003/diff/20001/chrome/browser/extensions/extension_action_storage_manager.cc#newcode97 chrome/browser/extensions/extension_action_storage_manager.cc:97: int int_value; On ...
5 years ago (2015-12-04 01:29:53 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1492073003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1492073003/60001
5 years ago (2015-12-04 01:35:43 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/149896)
5 years ago (2015-12-04 02:22:42 UTC) #13
sky
LGTM
5 years ago (2015-12-04 03:54:40 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1492073003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1492073003/80001
5 years ago (2015-12-04 04:33:28 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-04 04:43:40 UTC) #18
Devlin
https://codereview.chromium.org/1492073003/diff/20001/extensions/common/manifest_handler_helpers.h File extensions/common/manifest_handler_helpers.h (right): https://codereview.chromium.org/1492073003/diff/20001/extensions/common/manifest_handler_helpers.h#newcode30 extensions/common/manifest_handler_helpers.h:30: bool LoadIconsFromDictionary(const base::DictionaryValue* icons_value, On 2015/12/04 01:29:53, Evan Stade ...
5 years ago (2015-12-04 16:51:39 UTC) #19
groby-ooo-7-16
c/b/ui/cocoa LGTM
5 years ago (2015-12-04 19:54:57 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1492073003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1492073003/80001
5 years ago (2015-12-04 19:55:30 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years ago (2015-12-04 20:10:10 UTC) #25
commit-bot: I haz the power
5 years ago (2015-12-04 20:11:20 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/39ea51bd9379fa9aaa974f8b91a559879175e681
Cr-Commit-Position: refs/heads/master@{#363278}

Powered by Google App Engine
This is Rietveld 408576698