Index: ui/base/resource/resource_bundle.h |
diff --git a/ui/base/resource/resource_bundle.h b/ui/base/resource/resource_bundle.h |
index 84bc5d510c47097def2b7910b0ac759a11eaf3ab..52d6fe41e4ee78e40a6061da1bbaf47706b06303 100644 |
--- a/ui/base/resource/resource_bundle.h |
+++ b/ui/base/resource/resource_bundle.h |
@@ -180,6 +180,9 @@ class UI_EXPORT ResourceBundle { |
// This function flips it in RTL locales. |
GdkPixbuf* GetRTLEnabledPixbufNamed(int resource_id); |
+ // Same as above, but returns a gfx::Image wrapping the GdkPixbuf. |
+ gfx::Image& GetRTLEnabledImageNamed(int resource_id); |
+ |
private: |
// Shared implementation for the above two functions. |
gfx::Image* GetPixbufImpl(int resource_id, bool rtl_enabled); |