summaryrefslogtreecommitdiffstats
path: root/views/widget/default_theme_provider.h
diff options
context:
space:
mode:
authorglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-05 01:33:36 +0000
committerglen@chromium.org <glen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-05 01:33:36 +0000
commit04a1f975f55a6bd2d73a45f0cec8bb2b8a5a67dd (patch)
tree6da04673ee580778b5ae4f1d42bae5d83df2ae93 /views/widget/default_theme_provider.h
parentbec7e3c3e479216d419281af4bf52151101fb6a9 (diff)
downloadchromium_src-04a1f975f55a6bd2d73a45f0cec8bb2b8a5a67dd.zip
chromium_src-04a1f975f55a6bd2d73a45f0cec8bb2b8a5a67dd.tar.gz
chromium_src-04a1f975f55a6bd2d73a45f0cec8bb2b8a5a67dd.tar.bz2
Make the DOMUIThemeSource load and pass through a PNG, rather than relying on decode/encode.
BUG=18427 TEST=Install a giant theme, load the NNTP, verify that you can type in the omnibox without delay while the page is loading. Review URL: http://codereview.chromium.org/159891 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22457 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/default_theme_provider.h')
-rw-r--r--views/widget/default_theme_provider.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/views/widget/default_theme_provider.h b/views/widget/default_theme_provider.h
index 1a505cd..cc537b9 100644
--- a/views/widget/default_theme_provider.h
+++ b/views/widget/default_theme_provider.h
@@ -25,6 +25,9 @@ class DefaultThemeProvider : public ThemeProvider {
virtual bool GetDisplayProperty(int id, int* result);
virtual bool ShouldUseNativeFrame();
virtual bool HasCustomImage(int id);
+ virtual bool GetRawData(int id, std::vector<unsigned char>* raw_data) {
+ return false;
+ }
private:
DISALLOW_COPY_AND_ASSIGN(DefaultThemeProvider);