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

Issue 3035034: Modified resources for M6 theme. This doesn't actually modify layout yet, ju... (Closed)

Created:
10 years, 5 months ago by Peter Kasting
Modified:
9 years, 7 months ago
Reviewers:
Elliot Glaysher
CC:
chromium-reviews, John Grabowski, Paweł Hajdan Jr., pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Modified resources for M6 theme. This doesn't actually modify layout yet, just images and identifier names. BUG=50107 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53993

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -25 lines) Patch
M chrome/app/chromium_strings.grd View 1 chunk +1 line, -1 line 0 comments Download
M chrome/app/google_chrome_strings.grd View 1 chunk +1 line, -1 line 0 comments Download
M chrome/app/theme/theme_resources.grd View 1 2 3 6 chunks +20 lines, -2 lines 0 comments Download
M chrome/browser/autocomplete/autocomplete_edit_view_mac.mm View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/browser_theme_pack.cc View 1 2 3 2 chunks +11 lines, -6 lines 0 comments Download
M chrome/browser/browser_theme_provider.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/cocoa/location_bar/selected_keyword_decoration.mm View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/location_bar/star_decoration.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/gtk/location_bar_view_gtk.cc View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/gtk/notifications/balloon_view_gtk.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/views/location_bar/star_view.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/views/notifications/balloon_view.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/chrome_dll.gypi View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
Peter Kasting
Note: I'll add the Cached Theme.pak and all the image modifications when I really submit, ...
10 years, 5 months ago (2010-07-28 01:31:10 UTC) #1
Elliot Glaysher
http://codereview.chromium.org/3035034/diff/6003/14001 File chrome/app/theme/theme_resources.grd (right): http://codereview.chromium.org/3035034/diff/6003/14001#newcode52 chrome/app/theme/theme_resources.grd:52: <include name="IDR_BROWSER_ACTIONS_OVERFLOW_P" file="browser_actions_overflow_p.png" type="BINDATA" /> Unless other platforms use ...
10 years, 4 months ago (2010-07-28 17:20:31 UTC) #2
Peter Kasting
http://codereview.chromium.org/3035034/diff/6003/14001 File chrome/app/theme/theme_resources.grd (right): http://codereview.chromium.org/3035034/diff/6003/14001#newcode52 chrome/app/theme/theme_resources.grd:52: <include name="IDR_BROWSER_ACTIONS_OVERFLOW_P" file="browser_actions_overflow_p.png" type="BINDATA" /> On 2010/07/28 17:20:31, Elliot ...
10 years, 4 months ago (2010-07-28 18:09:40 UTC) #3
Elliot Glaysher
10 years, 4 months ago (2010-07-28 18:32:04 UTC) #4
On 2010/07/28 18:09:40, Peter Kasting wrote:
> http://codereview.chromium.org/3035034/diff/6003/14001
> File chrome/app/theme/theme_resources.grd (right):
> 
> http://codereview.chromium.org/3035034/diff/6003/14001#newcode52
> chrome/app/theme/theme_resources.grd:52: <include
> name="IDR_BROWSER_ACTIONS_OVERFLOW_P" file="browser_actions_overflow_p.png"
> type="BINDATA" />
> On 2010/07/28 17:20:31, Elliot Glaysher wrote:
> > Unless other platforms use the win resources and vice versa, shouldn't you
> have
> > these resolve to an <if expr="os == 'win'"></if> and <if expr="os !=
> > 'win'"></if> blocks, setting different images to the same resource names?
That
> > would let you pull out the ifdefs in the other files and shrink the
resources
> > file.
> 
> Good idea.  Changed to use this method.  Instead of comparing os to "win32", I
> check for "win" in the os string.  This makes things work right whether the
> python used in building is cygwin or not.  I also modified the only similar
> checks, in chromium_strings.grd and google_chrome_strings.grd, to do the same
> thing.

LGTM

Powered by Google App Engine
This is Rietveld 408576698