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

Unified Diff: ui/base/win/dpi.h

Issue 16336027: Enable high dpi in win/views. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase Created 7 years, 6 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
« no previous file with comments | « chrome/browser/ui/views/tabs/dragged_tab_view.cc ('k') | ui/base/win/dpi.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/win/dpi.h
diff --git a/ui/base/win/dpi.h b/ui/base/win/dpi.h
index e37392ba85309cd51d1942ca4f89552054c9d686..90edc7ca397e261a3e42235110bde611a5dc7cea 100644
--- a/ui/base/win/dpi.h
+++ b/ui/base/win/dpi.h
@@ -30,6 +30,8 @@ UI_EXPORT float GetDeviceScaleFactor();
UI_EXPORT gfx::Point ScreenToDIPPoint(const gfx::Point& pixel_point);
+UI_EXPORT gfx::Point DIPToScreenPoint(const gfx::Point& dip_point);
+
UI_EXPORT gfx::Rect ScreenToDIPRect(const gfx::Rect& pixel_bounds);
UI_EXPORT gfx::Rect DIPToScreenRect(const gfx::Rect& dip_bounds);
« no previous file with comments | « chrome/browser/ui/views/tabs/dragged_tab_view.cc ('k') | ui/base/win/dpi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698