Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(754)

Unified Diff: ui/views/widget/default_theme_provider.h

Issue 10783015: Add ability to store hidpi theme images in data pack (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/gfx/image/image_skia_unittest.cc ('k') | ui/views/widget/default_theme_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/default_theme_provider.h
diff --git a/ui/views/widget/default_theme_provider.h b/ui/views/widget/default_theme_provider.h
index a0f504c28dc613f5c8d8c3777799ec68305f2a41..d69f37eec224f43c8d4f20640d79e9a64bac5a25 100644
--- a/ui/views/widget/default_theme_provider.h
+++ b/ui/views/widget/default_theme_provider.h
@@ -31,7 +31,9 @@ class VIEWS_EXPORT DefaultThemeProvider : public ui::ThemeProvider {
virtual bool GetDisplayProperty(int id, int* result) const OVERRIDE;
virtual bool ShouldUseNativeFrame() const OVERRIDE;
virtual bool HasCustomImage(int id) const OVERRIDE;
- virtual base::RefCountedMemory* GetRawData(int id) const OVERRIDE;
+ virtual base::RefCountedMemory* GetRawData(
+ int id,
+ ui::ScaleFactor scale_factor) const OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(DefaultThemeProvider);
« no previous file with comments | « ui/gfx/image/image_skia_unittest.cc ('k') | ui/views/widget/default_theme_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698