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

Unified Diff: chrome/browser/ui/views/frame/browser_desktop_root_window_host_win.cc

Issue 12684006: Correct title bar size for HiDPI Windows (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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 | chrome/browser/ui/views/frame/browser_frame_win.cc » ('j') | ui/base/win/dpi.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_desktop_root_window_host_win.cc
diff --git a/chrome/browser/ui/views/frame/browser_desktop_root_window_host_win.cc b/chrome/browser/ui/views/frame/browser_desktop_root_window_host_win.cc
index 519a2e4af1a5fadeb9f732fb28f19a87628989e5..00c7b4828db3236c313dfbd0469ebe3da32eaece 100644
--- a/chrome/browser/ui/views/frame/browser_desktop_root_window_host_win.cc
+++ b/chrome/browser/ui/views/frame/browser_desktop_root_window_host_win.cc
@@ -270,6 +270,7 @@ void BrowserDesktopRootWindowHostWin::UpdateDWMFrame() {
if (!browser_view_->IsFullscreen()) {
gfx::Rect tabstrip_bounds(
browser_frame_->GetBoundsForTabStrip(browser_view_->tabstrip()));
+ tabstrip_bounds = ui::win::DIPToScreenRect(tabstrip_bounds);
margins.cyTopHeight = tabstrip_bounds.bottom() + kDWMFrameTopOffset;
}
}
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/browser_frame_win.cc » ('j') | ui/base/win/dpi.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698