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

Unified Diff: ui/base/resource/resource_data_dll_win.h

Issue 10387010: Select theme resources from ResourceBundle at requested scale factor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac and win compile errors. Created 8 years, 7 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: ui/base/resource/resource_data_dll_win.h
diff --git a/ui/base/resource/resource_data_dll_win.h b/ui/base/resource/resource_data_dll_win.h
index e21e9aae6e57481fa133267b052389bb4ebc9c3b..a38dd547e24cb2c819acac58f52c20121e20b99c 100644
--- a/ui/base/resource/resource_data_dll_win.h
+++ b/ui/base/resource/resource_data_dll_win.h
@@ -19,12 +19,13 @@ class ResourceDataDLL : public ResourceHandle {
virtual ~ResourceDataDLL();
// ResourceHandle implementation:
+ virtual bool HasResource(uint16 resource_id) const OVERRIDE;
virtual bool GetStringPiece(uint16 resource_id,
base::StringPiece* data) const OVERRIDE;
virtual base::RefCountedStaticMemory* GetStaticMemory(
uint16 resource_id) const OVERRIDE;
virtual TextEncodingType GetTextEncodingType() const OVERRIDE;
- virtual float GetScaleFactor() const OVERRIDE;
+ virtual ScaleFactor GetScaleFactor() const OVERRIDE;
private:
const HINSTANCE module_;

Powered by Google App Engine
This is Rietveld 408576698