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

Unified Diff: chrome/browser/ui/views/infobars/infobar_container_view.cc

Issue 11411250: Immersive mode reveals the tabstrip/omnibox on top of web content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update comment Created 8 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
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_container_view.h ('k') | chrome/browser/ui/views/tabs/tab_strip.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/infobars/infobar_container_view.cc
diff --git a/chrome/browser/ui/views/infobars/infobar_container_view.cc b/chrome/browser/ui/views/infobars/infobar_container_view.cc
index 637a49fa77fc77d4ee7914e03d3be687cd3d7338..1a3e0d44ab96567fe3b4f4ce35fa4e65ed7dd3c7 100644
--- a/chrome/browser/ui/views/infobars/infobar_container_view.cc
+++ b/chrome/browser/ui/views/infobars/infobar_container_view.cc
@@ -11,6 +11,9 @@
#include "ui/base/accessibility/accessible_view_state.h"
#include "ui/base/l10n/l10n_util.h"
+// static
+const char InfoBarContainerView::kViewClassName[] = "InfoBarContainerView";
+
InfoBarContainerView::InfoBarContainerView(
Delegate* delegate,
chrome::search::SearchModel* search_model)
@@ -30,6 +33,10 @@ gfx::Size InfoBarContainerView::GetPreferredSize() {
return gfx::Size(0, total_height);
}
+std::string InfoBarContainerView::GetClassName() const {
+ return kViewClassName;
+}
+
void InfoBarContainerView::Layout() {
int top = GetVerticalOverlap(NULL);
« no previous file with comments | « chrome/browser/ui/views/infobars/infobar_container_view.h ('k') | chrome/browser/ui/views/tabs/tab_strip.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698