diff options
author | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-09 01:07:42 +0000 |
---|---|---|
committer | glen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-09 01:07:42 +0000 |
commit | 4a19063d1459a4c9c8c4c50ed86eb9048f69ea3f (patch) | |
tree | 69a1e9f78b3a5fa8b909cfab336826b09c44235f /chrome/common | |
parent | 5085ee0b4bfbe4625e63ee6975bb95702e13e0aa (diff) | |
download | chromium_src-4a19063d1459a4c9c8c4c50ed86eb9048f69ea3f.zip chromium_src-4a19063d1459a4c9c8c4c50ed86eb9048f69ea3f.tar.gz chromium_src-4a19063d1459a4c9c8c4c50ed86eb9048f69ea3f.tar.bz2 |
This is the first pass at themes.
This CL is paired with http://codereview.chromium.org/67284
This CL (for commit purposes) includes http://codereview.chromium.org/67284
BUG=4463,11232,11233,11234,11235
Review URL: http://codereview.chromium.org/99030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15704 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/notification_type.h | 3 | ||||
-rw-r--r-- | chrome/common/pref_names.cc | 4 | ||||
-rw-r--r-- | chrome/common/pref_names.h | 4 | ||||
-rw-r--r-- | chrome/common/url_constants.cc | 1 | ||||
-rw-r--r-- | chrome/common/url_constants.h | 1 |
5 files changed, 13 insertions, 0 deletions
diff --git a/chrome/common/notification_type.h b/chrome/common/notification_type.h index 82d62e0..3364fc1 100644 --- a/chrome/common/notification_type.h +++ b/chrome/common/notification_type.h @@ -534,6 +534,9 @@ class NotificationType { // Sent when new extensions are loaded. The details are an ExtensionList*. EXTENSIONS_LOADED, + // Sent when a new theme is installed. The details are an extension. + THEME_INSTALLED, + // Sent when new extensions are installed. The details are a FilePath. EXTENSION_INSTALLED, diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index 266e60b..f414d27 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -246,6 +246,10 @@ const wchar_t kPrintingPageHeaderRight[] = L"printing.page.header.right"; const wchar_t kPrintingPageFooterLeft[] = L"printing.page.footer.left"; const wchar_t kPrintingPageFooterCenter[] = L"printing.page.footer.center"; const wchar_t kPrintingPageFooterRight[] = L"printing.page.footer.right"; +const wchar_t kCurrentThemeID[] = L"extensions.theme.id"; +const wchar_t kCurrentThemeImages[] = L"extensions.theme.images"; +const wchar_t kCurrentThemeColors[] = L"extensions.theme.colors"; +const wchar_t kCurrentThemeTints[] = L"extensions.theme.tints"; // Boolean that indicates whether we should check if we are the default browser // on start-up. diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h index 92c674d..83fdfd1 100644 --- a/chrome/common/pref_names.h +++ b/chrome/common/pref_names.h @@ -88,6 +88,10 @@ extern const wchar_t kPrintingPageHeaderRight[]; extern const wchar_t kPrintingPageFooterLeft[]; extern const wchar_t kPrintingPageFooterCenter[]; extern const wchar_t kPrintingPageFooterRight[]; +extern const wchar_t kCurrentThemeID[]; +extern const wchar_t kCurrentThemeImages[]; +extern const wchar_t kCurrentThemeColors[]; +extern const wchar_t kCurrentThemeTints[]; extern const wchar_t kCheckDefaultBrowser[]; // Local state diff --git a/chrome/common/url_constants.cc b/chrome/common/url_constants.cc index e8c9416..316a83a 100644 --- a/chrome/common/url_constants.cc +++ b/chrome/common/url_constants.cc @@ -49,5 +49,6 @@ const char kChromeUIHistoryHost[] = "history"; const char kChromeUIInspectorHost[] = "inspector"; const char kChromeUINewTabHost[] = "newtab"; const char kChromeUIThumbnailPath[] = "thumb"; +const char kChromeUIThemePath[] = "theme"; } // namespace chrome diff --git a/chrome/common/url_constants.h b/chrome/common/url_constants.h index 21dff62..b06bcb8 100644 --- a/chrome/common/url_constants.h +++ b/chrome/common/url_constants.h @@ -56,6 +56,7 @@ extern const char kChromeUIHistoryHost[]; extern const char kChromeUIInspectorHost[]; extern const char kChromeUINewTabHost[]; extern const char kChromeUIThumbnailPath[]; +extern const char kChromeUIThemePath[]; } // namespace chrome |