Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: chrome/browser/ui/views/frame/

Issue 1412833008: Draw the same portion of the frame background behind the tabstrip in maximized (Closed) Base URL:
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/
diff --git a/chrome/browser/ui/views/frame/ b/chrome/browser/ui/views/frame/
index 23f3e7d5c3729d30845e642595e357f8177dc022..1d31c65acaf6556e982ed6458e1b0a10879245b1 100644
--- a/chrome/browser/ui/views/frame/
+++ b/chrome/browser/ui/views/frame/
@@ -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) -
// 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.
- browser_view()->frame()->GetTopInset());
+ browser_view()->frame()->GetTopInset(false));

Powered by Google App Engine
This is Rietveld 408576698