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

Unified Diff: chrome/browser/ui/cocoa/download/background_theme.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
Index: chrome/browser/ui/cocoa/download/background_theme.h
diff --git a/chrome/browser/ui/cocoa/download/background_theme.h b/chrome/browser/ui/cocoa/download/background_theme.h
index 9c0b87f6282b6187766fb87a02ba0d6a87a046bb..224f2eb6619e8a05cea8ee3064b2a5f567789f34 100644
--- a/chrome/browser/ui/cocoa/download/background_theme.h
+++ b/chrome/browser/ui/cocoa/download/background_theme.h
@@ -22,7 +22,9 @@ class BackgroundTheme : 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;
virtual NSImage* GetNSImageNamed(int id, bool allow_default) const OVERRIDE;
virtual NSColor* GetNSImageColorNamed(int id,
bool allow_default) const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698