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

Unified Diff: ui/views/win/hwnd_message_handler_delegate.h

Issue 1426933002: Refactor Windows DPI Point, Rect, and Size for Multiple Monitor DPI Awareness (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make DisplayWin Standalone Created 4 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
« no previous file with comments | « ui/views/win/hwnd_message_handler.cc ('k') | ui/wm/core/default_screen_position_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/win/hwnd_message_handler_delegate.h
diff --git a/ui/views/win/hwnd_message_handler_delegate.h b/ui/views/win/hwnd_message_handler_delegate.h
index 55ac4407197e71ba103f30f885150975acc33c45..af125d501cd5238979b898585bf8d1fd45739610 100644
--- a/ui/views/win/hwnd_message_handler_delegate.h
+++ b/ui/views/win/hwnd_message_handler_delegate.h
@@ -77,6 +77,8 @@ class VIEWS_EXPORT HWNDMessageHandlerDelegate {
// Returns the current size of the RootView.
virtual gfx::Size GetRootViewSize() const = 0;
+ virtual gfx::Size DIPToScreenSize(const gfx::Size& dip_size) const = 0;
+
virtual void ResetWindowControls() = 0;
virtual gfx::NativeViewAccessible GetNativeViewAccessible() = 0;
« no previous file with comments | « ui/views/win/hwnd_message_handler.cc ('k') | ui/wm/core/default_screen_position_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698