diff options
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 |