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

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

Issue 2368653002: Remove pre-MD code from browser/ui/views/tabs/tab.cc (Closed)
Patch Set: fix compile Created 4 years, 3 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: chrome/browser/ui/views/frame/browser_view_layout.cc
diff --git a/chrome/browser/ui/views/frame/browser_view_layout.cc b/chrome/browser/ui/views/frame/browser_view_layout.cc
index f283cc62f620bb22c7158a9501ddce8f58514b82..88bea24eefe137a0c7b506cc483cc50f112fb828 100644
--- a/chrome/browser/ui/views/frame/browser_view_layout.cc
+++ b/chrome/browser/ui/views/frame/browser_view_layout.cc
@@ -457,8 +457,6 @@ int BrowserViewLayout::LayoutInfoBar(int top) {
// screen, just under the "light bar" rectangular stripes.
if (immersive_mode_controller_->IsEnabled()) {
top = browser_view_->y();
- if (!immersive_mode_controller_->ShouldHideTabIndicators())
- top += TabStrip::GetImmersiveHeight();
}
infobar_container_->SetVisible(InfobarVisible());
infobar_container_->SetBounds(

Powered by Google App Engine
This is Rietveld 408576698