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

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

Issue 1412833008: Draw the same portion of the frame background behind the tabstrip in maximized (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@match_frame_alignment
Patch Set: Add comment Created 5 years, 1 month 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: chrome/browser/ui/views/frame/browser_view_unittest.cc
diff --git a/chrome/browser/ui/views/frame/browser_view_unittest.cc b/chrome/browser/ui/views/frame/browser_view_unittest.cc
index 23f3e7d5c3729d30845e642595e357f8177dc022..1d31c65acaf6556e982ed6458e1b0a10879245b1 100644
--- a/chrome/browser/ui/views/frame/browser_view_unittest.cc
+++ b/chrome/browser/ui/views/frame/browser_view_unittest.cc
@@ -193,7 +193,7 @@ TEST_F(BrowserViewHostedAppTest, Layout) {
// The position of the bottom of the header (the bar with the window
// controls) in the coordinates of BrowserView.
- int bottom_of_header = browser_view()->frame()->GetTopInset() -
+ int bottom_of_header = browser_view()->frame()->GetTopInset(false) -
header_offset.y();
// The web contents should be flush with the bottom of the header.
@@ -202,5 +202,5 @@ TEST_F(BrowserViewHostedAppTest, Layout) {
// The find bar should overlap the 1px header/web-contents separator at the
// bottom of the header.
EXPECT_LT(browser_view()->GetFindBarBoundingBox().y(),
- browser_view()->frame()->GetTopInset());
+ browser_view()->frame()->GetTopInset(false));
}

Powered by Google App Engine
This is Rietveld 408576698