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

Issue 286001: Allow slightly larger browser and page action icons. (Closed)

Created:
11 years, 2 months ago by Aaron Boodman
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Allow slightly larger browser and page action icons. This allows 19px icons to be able to be used for both browser and page icons. I think it looks nicer with the page actions slightly smaller, and that is what we also usually do in Chrome, but some Chrome location bar icons use 18px for soft edges, so I guess this will just have to be something we advise developers on. We can actually fit up to 21 (whoa nelly) pixels on Windows, but apparently the space is slightly smaller on mac. Also minor layout fix. We were sizing the browser action buttons 1px too short. BUG=24881 TEST=Load chrome/test/data/extensions/samples/icon_size_test. Icons should be 17px for the page action and 19px for the browser action and centered nicely in the space. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=29365

Patch Set 1 #

Patch Set 2 : Add sample #

Total comments: 1

Patch Set 3 : erikkay comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -37 lines) Patch
M chrome/browser/extensions/image_loading_tracker.h View 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/extensions/image_loading_tracker.cc View 1 6 chunks +18 lines, -13 lines 0 comments Download
M chrome/browser/gtk/browser_actions_toolbar_gtk.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/gtk/location_bar_view_gtk.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/views/browser_actions_container.cc View 1 2 5 chunks +14 lines, -12 lines 0 comments Download
M chrome/browser/views/location_bar_view.cc View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M chrome/common/extensions/extension.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/renderer/resources/extension_process_bindings.js View 1 chunk +6 lines, -6 lines 0 comments Download
A chrome/test/data/extensions/samples/icon_size_test/background.html View 1 chunk +9 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/samples/icon_size_test/icon.png View Binary file 0 comments Download
A chrome/test/data/extensions/samples/icon_size_test/manifest.json View 1 chunk +19 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Aaron Boodman
11 years, 2 months ago (2009-10-16 07:13:05 UTC) #1
Erik does not do reviews
other than this, LGTM http://codereview.chromium.org/286001/diff/1001/2003 File chrome/browser/gtk/browser_actions_toolbar_gtk.cc (right): http://codereview.chromium.org/286001/diff/1001/2003#newcode29 Line 29: static const int kMaxIconSize ...
11 years, 2 months ago (2009-10-16 15:23:46 UTC) #2
Aaron Boodman
Shared constant. Also, I noticed that the SSL lock icon is 18px tall, so I ...
11 years, 2 months ago (2009-10-16 15:56:40 UTC) #3
Erik does not do reviews
11 years, 2 months ago (2009-10-16 16:02:29 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698