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

Unified Diff: trunk/src/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc

Issue 321463003: Revert 265329 "Add SM_CXSIZEFRAME and SM_CXPADDEDBORDER metrics ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | « no previous file | trunk/src/ui/views/win/hwnd_message_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc
===================================================================
--- trunk/src/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc (revision 275260)
+++ trunk/src/chrome/browser/ui/views/frame/browser_desktop_window_tree_host_win.cc (working copy)
@@ -142,8 +142,7 @@
return false;
}
- int border_thickness =
- GetSystemMetrics(SM_CXSIZEFRAME) + GetSystemMetrics(SM_CXPADDEDBORDER);
+ int border_thickness = GetSystemMetrics(SM_CXSIZEFRAME);
// In fullscreen mode, we have no frame. In restored mode, we draw our own
// client edge over part of the default frame.
if (GetWidget()->IsFullscreen())
« no previous file with comments | « no previous file | trunk/src/ui/views/win/hwnd_message_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698