Index: ui/base/theme_provider.h |
diff --git a/ui/base/theme_provider.h b/ui/base/theme_provider.h |
index 7b59e11c7e1b0cfa528a99ca39adc23f233f758d..f5d1b05edfda12608038566d6a75f0b66ee18fe9 100644 |
--- a/ui/base/theme_provider.h |
+++ b/ui/base/theme_provider.h |
@@ -7,6 +7,7 @@ |
#include "base/basictypes.h" |
#include "third_party/skia/include/core/SkColor.h" |
+#include "ui/base/layout.h" |
#include "ui/base/ui_export.h" |
#if defined(OS_MACOSX) |
@@ -77,7 +78,9 @@ class UI_EXPORT ThemeProvider { |
// 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 base::RefCountedMemory* GetRawData(int id) const = 0; |
+ virtual base::RefCountedMemory* GetRawData( |
+ int id, |
+ ui::ScaleFactor scale_factor) const = 0; |
#if defined(OS_MACOSX) && !defined(TOOLKIT_VIEWS) |
// Gets the NSImage with the specified |id|. |