summaryrefslogtreecommitdiffstats
path: root/app/theme_provider.h
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-13 23:36:34 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-13 23:36:34 +0000
commitba7a68dfbf6f30e5b3efc3f5034499a952463d96 (patch)
treea90622682db23e4983778a96512995378f5ca284 /app/theme_provider.h
parent4a560eddc550fbe5761aceb1461ff91e9097a3d3 (diff)
downloadchromium_src-ba7a68dfbf6f30e5b3efc3f5034499a952463d96.zip
chromium_src-ba7a68dfbf6f30e5b3efc3f5034499a952463d96.tar.gz
chromium_src-ba7a68dfbf6f30e5b3efc3f5034499a952463d96.tar.bz2
Restore RTL icons to CustomDrawButtonBase.
Since moving from ResourceBundle to ThemeProvider, we needed to plumb through GetRTLEnabledPixbufNamed in ThemeProvider. Review URL: http://codereview.chromium.org/149483 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20568 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/theme_provider.h')
-rw-r--r--app/theme_provider.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/theme_provider.h b/app/theme_provider.h
index b004f3b..5dddd99 100644
--- a/app/theme_provider.h
+++ b/app/theme_provider.h
@@ -64,6 +64,9 @@ class ThemeProvider {
// pointer to a shared empty placeholder bitmap so it will be visible what
// is missing.
virtual GdkPixbuf* GetPixbufNamed(int id) = 0;
+
+ // As above, but flips it in RTL locales.
+ virtual GdkPixbuf* GetRTLEnabledPixbufNamed(int id) = 0;
#elif defined(OS_MACOSX)
// Gets the NSImage with the specified |id|.
//