Index: chrome/common/extensions/extension.cc |
=================================================================== |
--- chrome/common/extensions/extension.cc (revision 17403) |
+++ chrome/common/extensions/extension.cc (working copy) |
@@ -34,6 +34,7 @@ |
const wchar_t* Extension::kThemeImagesKey = L"images"; |
const wchar_t* Extension::kThemeColorsKey = L"colors"; |
const wchar_t* Extension::kThemeTintsKey = L"tints"; |
+const wchar_t* Extension::kThemeDisplayPropertiesKey = L"properties"; |
const wchar_t* Extension::kToolstripsKey = L"toolstrips"; |
const wchar_t* Extension::kTooltipKey = L"tooltip"; |
const wchar_t* Extension::kTypeKey = L"type"; |
@@ -577,6 +578,13 @@ |
static_cast<DictionaryValue*>(tints_value->DeepCopy())); |
} |
+ DictionaryValue* display_properties_value; |
+ if (theme_value->GetDictionary(kThemeDisplayPropertiesKey, |
+ &display_properties_value)) { |
+ theme_display_properties_.reset( |
+ static_cast<DictionaryValue*>(display_properties_value->DeepCopy())); |
+ } |
+ |
return true; |
} |