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

Issue 115910: Allow themes to change the background of the new tab page.... (Closed)

Created:
11 years, 6 months ago by Glen Murphy
Modified:
9 years, 5 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Allow themes to change the background of the new tab page. Adds support for display properties to themes (stored internally as ints/enums, but parsed from text). BUG=12768 TEST=Install a theme with an new tab page background and verify that the background appears on the new tab page. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=17431

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 9

Patch Set 7 : '' #

Total comments: 1

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 1

Patch Set 10 : '' #

Patch Set 11 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+342 lines, -66 lines) Patch
M app/theme_provider.h View 1 2 3 4 5 6 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/browser_theme_provider.h View 1 2 3 4 5 6 7 8 6 chunks +29 lines, -1 line 0 comments Download
M chrome/browser/browser_theme_provider.cc View 1 2 3 4 5 6 7 12 chunks +177 lines, -44 lines 0 comments Download
M chrome/browser/dom_ui/dom_ui_theme_source.h View 1 2 3 4 5 6 7 8 9 2 chunks +6 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 4 chunks +36 lines, -0 lines 0 comments Download
M chrome/browser/dom_ui/new_tab_ui.cc View 1 2 3 4 5 6 7 8 6 chunks +19 lines, -4 lines 0 comments Download
M chrome/browser/profile.cc View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/new_tab.html View 1 2 3 4 5 6 4 chunks +8 lines, -4 lines 0 comments Download
M chrome/browser/resources/new_tab_theme.css View 1 2 3 4 5 6 1 chunk +15 lines, -5 lines 0 comments Download
M chrome/browser/views/bookmark_bar_view.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/views/bookmark_bar_view.cc View 1 2 3 4 5 6 3 chunks +23 lines, -7 lines 0 comments Download
M chrome/common/extensions/extension.h View 2 3 4 5 6 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension.cc View 2 3 4 5 6 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M views/widget/default_theme_provider.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M views/widget/default_theme_provider.cc View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Glen Murphy
11 years, 6 months ago (2009-06-02 01:08:51 UTC) #1
arv (Not doing code reviews)
http://codereview.chromium.org/115910/diff/1123/1128 File chrome/browser/browser_theme_provider.cc (right): http://codereview.chromium.org/115910/diff/1123/1128#newcode246 Line 246: display_properties_.end()) Curly braces for multiline ifs? http://codereview.chromium.org/115910/diff/1123/1127 File ...
11 years, 6 months ago (2009-06-02 07:01:12 UTC) #2
Glen Murphy
Updated, also comments: > http://codereview.chromium.org/115910/diff/1123/1126 > File chrome/browser/resources/new_tab_theme.css (right): > > http://codereview.chromium.org/115910/diff/1123/1126#newcode6 > Line 6: ...
11 years, 6 months ago (2009-06-02 18:16:39 UTC) #3
arv (Not doing code reviews)
http://codereview.chromium.org/115910/diff/73/1145 File chrome/browser/browser_theme_provider.h (right): http://codereview.chromium.org/115910/diff/73/1145#newcode87 Line 87: static AlignmentProperty StringToAlignment(const std::string &alignment); We either need ...
11 years, 6 months ago (2009-06-02 18:35:10 UTC) #4
arv (Not doing code reviews)
11 years, 6 months ago (2009-06-02 19:11:54 UTC) #5
LGTM

http://codereview.chromium.org/115910/diff/1177/1179
File chrome/browser/resources/new_tab.html (right):

http://codereview.chromium.org/115910/diff/1177/1179#newcode936
Line 936: }
new line between these

Powered by Google App Engine
This is Rietveld 408576698