From 15b1b97a78d37e0c9ee6e4005bc80145acdd6585 Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Thu, 17 Dec 2009 00:18:33 +0000 Subject: 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 --- app/theme_provider.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/theme_provider.h') 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) -- cgit v1.1