summaryrefslogtreecommitdiffstats
path: root/chrome/common/chrome_constants.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-11 20:55:30 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-11 20:55:30 +0000
commit5973945e4c3d2baf2b92d11be55c1692a09b12e3 (patch)
treee2abfada45cf20c85186c10e27c966c2cbc6bf55 /chrome/common/chrome_constants.h
parent45c019ca34f3c9576ad1c3d24a885f97f1b80ba2 (diff)
downloadchromium_src-5973945e4c3d2baf2b92d11be55c1692a09b12e3.zip
chromium_src-5973945e4c3d2baf2b92d11be55c1692a09b12e3.tar.gz
chromium_src-5973945e4c3d2baf2b92d11be55c1692a09b12e3.tar.bz2
Completely redo how themes are stored on disk and processed at install time.
Rewrites most of BrowserThemeProvider and adds a new class BrowserThemePack. BrowserThemePack takes all the logic of generating resources out of the BrowserThemeProvider, does all of them at theme install time (previously, we lazily generated all the button images and a good number of colors, which muddled logic quite a bit), and then writes all the data out into an mmap()able file to speed startup when a theme is installed. In addition, this changes how the GtkThemeProvider works. The GtkThemeProvider now generates all of its images lazily and doesn't reach into the implementation details of BrowserThemeProvider as it used to. BUG=24493,21121 TEST=All the new unit tests pass. All the complex theme startup tests go faster. Review URL: http://codereview.chromium.org/460050 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34379 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_constants.h')
-rw-r--r--chrome/common/chrome_constants.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/common/chrome_constants.h b/chrome/common/chrome_constants.h
index 4473f32..ea79fd8 100644
--- a/chrome/common/chrome_constants.h
+++ b/chrome/common/chrome_constants.h
@@ -40,7 +40,7 @@ extern const FilePath::CharType kMediaCacheDirname[];
extern const FilePath::CharType kOffTheRecordMediaCacheDirname[];
extern const FilePath::CharType kAppCacheDirname[];
extern const wchar_t kChromePluginDataDirname[];
-extern const FilePath::CharType kThemeImagesDirname[];
+extern const FilePath::CharType kThemePackFilename[];
extern const FilePath::CharType kCookieFilename[];
extern const FilePath::CharType kExtensionsCookieFilename[];
extern const FilePath::CharType kHistoryFilename[];