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

Unified Diff: ui/views/win/hwnd_message_handler.cc

Issue 14348033: NOT FOR SUBMIT - Windows Views HiDPI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rollback empty changes. Created 7 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/views/win/hwnd_message_handler.cc
diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
index 7dbbf718f887cba49c207e49ea4c03d51545158e..57d775e593f949cf4a6c3075ba97299ec9621f87 100644
--- a/ui/views/win/hwnd_message_handler.cc
+++ b/ui/views/win/hwnd_message_handler.cc
@@ -520,6 +520,8 @@ void HWNDMessageHandler::GetWindowPlacement(
else
*show_state = ui::SHOW_STATE_NORMAL;
}
+
+ *bounds = ui::win::ScreenToDIPRect(*bounds);
kevers 2013/04/19 20:31:42 As it stands, this change will break Win-Aura, whi
girard 2013/06/03 22:31:55 I've moved this up to the caller (NativeWidgetWin:
}
void HWNDMessageHandler::SetBounds(const gfx::Rect& bounds) {
« ui/views/widget/native_widget_win.cc ('K') | « ui/views/widget/native_widget_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698