summaryrefslogtreecommitdiffstats
path: root/app/theme_provider.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-17 00:18:33 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-17 00:18:33 +0000
commit15b1b97a78d37e0c9ee6e4005bc80145acdd6585 (patch)
tree1980744e2fdc32433a14459fe5e37114d8f7bf0f /app/theme_provider.h
parent1cf1f4636373269d1c4f9da6197c72b6b37d4351 (diff)
downloadchromium_src-15b1b97a78d37e0c9ee6e4005bc80145acdd6585.zip
chromium_src-15b1b97a78d37e0c9ee6e4005bc80145acdd6585.tar.gz
chromium_src-15b1b97a78d37e0c9ee6e4005bc80145acdd6585.tar.bz2
BrowserThemePack: Move encoding the processed images to the writing thread.
BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/504032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34786 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/theme_provider.h')
-rw-r--r--app/theme_provider.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/theme_provider.h b/app/theme_provider.h
index 410e699..0bd7ae1 100644
--- a/app/theme_provider.h
+++ b/app/theme_provider.h
@@ -61,8 +61,9 @@ class ThemeProvider {
// doesn't provide a certain image, but custom themes might (badges, etc).
virtual bool HasCustomImage(int id) const = 0;
- // Reads the image data from the theme file into the specified
- // vector. Returns NULL on error.
+ // Reads the image data from the theme file into the specified vector. Only
+ // valid for un-themed resources and the themed IDR_THEME_NTP_* in most
+ // implementations of ThemeProvider. Returns NULL on error.
virtual RefCountedMemory* GetRawData(int id) const = 0;
#if defined(OS_LINUX) && !defined(TOOLKIT_VIEWS)