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

Unified Diff: chrome/browser/tab_contents/infobar.h

Issue 7130001: Make infobar background gray (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: '' Created 9 years, 6 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/tab_contents/infobar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/infobar.h
===================================================================
--- chrome/browser/tab_contents/infobar.h (revision 88097)
+++ chrome/browser/tab_contents/infobar.h (working copy)
@@ -2,19 +2,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#if defined(TOOLKIT_VIEWS) // TODO(pkasting): Port non-views to use this.
-
#ifndef CHROME_BROWSER_TAB_CONTENTS_INFOBAR_H_
#define CHROME_BROWSER_TAB_CONTENTS_INFOBAR_H_
#pragma once
#include "base/basictypes.h"
#include "base/scoped_ptr.h"
+#include "chrome/browser/tab_contents/infobar_delegate.h"
+#include "third_party/skia/include/core/SkColor.h"
#include "ui/base/animation/animation_delegate.h"
#include "ui/gfx/size.h"
+// TODO(sail): These functions should be static methods in the InfoBar class
+// below once all platforms use that class.
+SkColor GetInfoBarTopColor(InfoBarDelegate::Type infobar_type);
+SkColor GetInfoBarBottomColor(InfoBarDelegate::Type infobar_type);
+
+#if defined(TOOLKIT_VIEWS) // TODO(pkasting): Port non-views to use this.
+
class InfoBarContainer;
-class InfoBarDelegate;
class TabContentsWrapper;
namespace ui {
@@ -116,10 +122,10 @@
DISALLOW_COPY_AND_ASSIGN(InfoBar);
};
-#endif // CHROME_BROWSER_TAB_CONTENTS_INFOBAR_H_
-
#elif defined(TOOLKIT_USES_GTK)
#include "chrome/browser/ui/gtk/infobars/infobar_gtk.h"
#elif defined(OS_MACOSX)
#include "chrome/browser/ui/cocoa/infobars/infobar.h"
#endif
+
+#endif // CHROME_BROWSER_TAB_CONTENTS_INFOBAR_H_
« no previous file with comments | « no previous file | chrome/browser/tab_contents/infobar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698