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

Issue 193030: Ensure that inactive tab images line up correctly with frame image when theme... (Closed)

Created:
11 years, 3 months ago by Miranda Callahan
Modified:
9 years, 7 months ago
Reviewers:
Glen Murphy, glen
CC:
chromium-reviews_googlegroups.com, Ben Goodger (Google), Elliot Glaysher, tony
Visibility:
Public.

Description

Ensure that inactive tab images line up correctly with frame image when themed. Also fix HasCustomImage so that it only returns true when the image is in the extension's original set, not just a generated theme for the cache. BUG= http://crbug.com/21134 TEST= install a theme with a detailed frame background. Open many tabs. Make sure the inactive tab image lines up with the frame image. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25829

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 1

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -6 lines) Patch
M chrome/browser/browser_theme_provider.cc View 2 3 4 5 5 chunks +33 lines, -6 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Miranda Callahan
11 years, 3 months ago (2009-09-04 23:33:09 UTC) #1
Elliot Glaysher
LGTM On Fri, Sep 4, 2009 at 4:33 PM, <mirandac@chromium.org> wrote: > Reviewers: glen, > ...
11 years, 3 months ago (2009-09-04 23:35:58 UTC) #2
Miranda Callahan
Whoops, this is a bit trickier than I had thought; I need to change BTP ...
11 years, 3 months ago (2009-09-04 23:53:39 UTC) #3
Miranda Callahan
This isn't nice; there is no path from the BrowserThemeProvider to the data owned by ...
11 years, 3 months ago (2009-09-08 23:38:01 UTC) #4
Miranda Callahan
11 years, 3 months ago (2009-09-08 23:55:33 UTC) #5
Miranda Callahan
ping!
11 years, 3 months ago (2009-09-09 22:45:32 UTC) #6
Miranda Callahan
Glen, Elliot reviewed this before, but I think you should take a look at the ...
11 years, 3 months ago (2009-09-09 23:08:23 UTC) #7
Glen Murphy
11 years, 3 months ago (2009-09-09 23:10:11 UTC) #8
LG, with comments.

http://codereview.chromium.org/193030/diff/2004/1005
File chrome/browser/browser_theme_provider.cc (right):

http://codereview.chromium.org/193030/diff/2004/1005#newcode632
Line 632: if (images_.find(id) != images_.end())
Can you add a comment describing this mechanism for differentiating original and
generated images, and how HasCustomImage deals with this.

Powered by Google App Engine
This is Rietveld 408576698