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

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

Issue 283383005: Initial sets of fixes for themes to work well with HiDPI Windows. More changes coming in a separate… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed indents Created 6 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_bundle.h
diff --git a/ui/base/resource/resource_bundle.h b/ui/base/resource/resource_bundle.h
index 5b811dc2ff26954de89d1a0de227e0431ccbedf6..809b1125159ef939b2cbddb450b36f9f7ed57da4 100644
--- a/ui/base/resource/resource_bundle.h
+++ b/ui/base/resource/resource_bundle.h
@@ -353,16 +353,6 @@ class UI_BASE_EXPORT ResourceBundle {
const base::FilePath& GetOverriddenPakPath();
- // Platform specific image scaling is done here. Currently only implemented
- // for Windows.
- // |image| is the bitmap to be scaled.
- // |loaded_image_scale| is the current scale of the bitmap.
- // |desired_scale| is the desired scale of the bitmap.
- // Returns the scaled bitmap or null bitmap if scaling is disabled.
- static SkBitmap PlatformScaleImage(const SkBitmap& image,
- float loaded_image_scale,
- float desired_scale);
-
// This pointer is guaranteed to outlive the ResourceBundle instance and may
// be NULL.
Delegate* delegate_;

Powered by Google App Engine
This is Rietveld 408576698