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

Unified Diff: ui/display/win/screen_win.h

Issue 2665623002: Fix Jumplist favicons to have high resolution in HDPI Windows displays (Closed)
Patch Set: Update comments and remove redundant .h files. Created 3 years, 11 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/display/win/screen_win.h
diff --git a/ui/display/win/screen_win.h b/ui/display/win/screen_win.h
index 94379e055f3245938004c1689456f803f0aad7c9..e8756435f7f1d3e3651ae32e849a1aecc231b051 100644
--- a/ui/display/win/screen_win.h
+++ b/ui/display/win/screen_win.h
@@ -102,6 +102,9 @@ class DISPLAY_EXPORT ScreenWin : public Screen {
// Returns |hwnd|'s scale factor.
static float GetScaleFactorForHWND(HWND hwnd);
+ // Returns the largest device scale factor among all monitors.
+ static float GetLargestDeviceScaleFactor();
+
// Returns the HWND associated with the NativeView.
virtual HWND GetHWNDFromNativeView(gfx::NativeView window) const;

Powered by Google App Engine
This is Rietveld 408576698