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

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

Issue 10151025: Add scale factor tag to data packs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix build Created 8 years, 8 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_handle.h
diff --git a/ui/base/resource/resource_handle.h b/ui/base/resource/resource_handle.h
index ce3a23bb2899381c5f4bf194ac135f526e6be1da..3089583aa3d48587043e643870a92cb082f2dc07 100644
--- a/ui/base/resource/resource_handle.h
+++ b/ui/base/resource/resource_handle.h
@@ -40,6 +40,9 @@ class UI_EXPORT ResourceHandle {
// Get the encoding type of text resources.
virtual TextEncodingType GetTextEncodingType() const = 0;
+
+ // Get the scale factor of any image resources.
sky 2012/04/25 21:11:42 Same comment about improving this description.
sail 2012/04/25 22:18:35 Done.
+ virtual float GetScaleFactor() const = 0;
};
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698