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

Issue 149741: Allow the tiling of theme background images on the NTP.... (Closed)

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

Description

Allow the tiling of theme background images on the NTP. BUG= http://crbug/com/15796 TEST= Add a property for tiling to a theme manifest.json. Observe that the theme image is tiled on the NTP. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=21039

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Total comments: 20

Patch Set 8 : '' #

Total comments: 4

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Total comments: 2

Patch Set 13 : '' #

Patch Set 14 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -19 lines) Patch
M chrome/browser/browser_theme_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 5 chunks +25 lines, -2 lines 0 comments Download
M chrome/browser/browser_theme_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 7 chunks +57 lines, -1 line 0 comments Download
M chrome/browser/dom_ui/dom_ui_theme_source.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/dom_ui_theme_source.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 4 chunks +18 lines, -3 lines 0 comments Download
M chrome/browser/resources/new_tab_theme.css View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/views/bookmark_bar_view.h View 12 13 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/views/bookmark_bar_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +125 lines, -12 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Miranda Callahan
This tiles themes, but the code in bookmark_bar_view needs to be compressed; will do this ...
11 years, 5 months ago (2009-07-16 04:01:37 UTC) #1
Miranda Callahan
Ready for review.
11 years, 5 months ago (2009-07-16 23:09:04 UTC) #2
Glen Murphy
A bunch of mostly quick comments, nothing major (I think). http://codereview.chromium.org/149741/diff/1043/1047 File chrome/browser/browser_theme_provider.cc (right): http://codereview.chromium.org/149741/diff/1043/1047#newcode68 ...
11 years, 5 months ago (2009-07-16 23:48:11 UTC) #3
Miranda Callahan
Incorporated all of your helpful tips. http://codereview.chromium.org/149741/diff/1043/1047 File chrome/browser/browser_theme_provider.cc (right): http://codereview.chromium.org/149741/diff/1043/1047#newcode68 Line 68: "ntp_background_repetition"; On ...
11 years, 5 months ago (2009-07-17 01:21:52 UTC) #4
Glen Murphy
Just some tiling fiddling. http://codereview.chromium.org/149741/diff/1051/47 File chrome/browser/views/bookmark_bar_view.cc (right): http://codereview.chromium.org/149741/diff/1051/47#newcode646 Line 646: if (alignment & BrowserThemeProvider::ALIGN_LEFT) ...
11 years, 5 months ago (2009-07-17 02:14:55 UTC) #5
Miranda Callahan
http://codereview.chromium.org/149741/diff/1051/47 File chrome/browser/views/bookmark_bar_view.cc (right): http://codereview.chromium.org/149741/diff/1051/47#newcode646 Line 646: if (alignment & BrowserThemeProvider::ALIGN_LEFT) { On 2009/07/17 02:14:55, ...
11 years, 5 months ago (2009-07-17 20:00:32 UTC) #6
Glen Murphy
LGTM with one change: http://codereview.chromium.org/149741/diff/1070/2025 File chrome/browser/views/bookmark_bar_view.cc (right): http://codereview.chromium.org/149741/diff/1070/2025#newcode566 Line 566: return; I don't think ...
11 years, 5 months ago (2009-07-17 20:14:17 UTC) #7
Miranda Callahan
11 years, 5 months ago (2009-07-17 20:21:05 UTC) #8
http://codereview.chromium.org/149741/diff/1070/2025
File chrome/browser/views/bookmark_bar_view.cc (right):

http://codereview.chromium.org/149741/diff/1070/2025#newcode566
Line 566: return;
On 2009/07/17 20:14:17, Glen Murphy wrote:
> I don't think you want to return here - you still need to draw the bookmark
bar
> itself - just use this to skip over the next Paint*Background block.

Done.

Powered by Google App Engine
This is Rietveld 408576698