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

Unified Diff: chrome/common/extensions/extension.h

Issue 115910: Allow themes to change the background of the new tab page.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/views/bookmark_bar_view.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension.h
===================================================================
--- chrome/common/extensions/extension.h (revision 17403)
+++ chrome/common/extensions/extension.h (working copy)
@@ -51,6 +51,7 @@
static const wchar_t* kThemeImagesKey;
static const wchar_t* kThemeColorsKey;
static const wchar_t* kThemeTintsKey;
+ static const wchar_t* kThemeDisplayPropertiesKey;
static const wchar_t* kToolstripsKey;
static const wchar_t* kTooltipKey;
static const wchar_t* kTypeKey;
@@ -161,6 +162,9 @@
DictionaryValue* GetThemeImages() const { return theme_images_.get(); }
DictionaryValue* GetThemeColors() const { return theme_colors_.get(); }
DictionaryValue* GetThemeTints() const { return theme_tints_.get(); }
+ DictionaryValue* GetThemeDisplayProperties() const {
+ return theme_display_properties_.get();
+ }
bool IsTheme() { return is_theme_; }
private:
@@ -238,6 +242,9 @@
// A map of color names to colors.
scoped_ptr<DictionaryValue> theme_tints_;
+ // A map of display properties.
+ scoped_ptr<DictionaryValue> theme_display_properties_;
+
// Whether the extension is a theme - if it is, certain things are disabled.
bool is_theme_;
« no previous file with comments | « chrome/browser/views/bookmark_bar_view.cc ('k') | chrome/common/extensions/extension.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698