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

Unified Diff: chrome/browser/ui/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
Index: chrome/browser/ui/infobar.h
===================================================================
--- chrome/browser/ui/infobar.h (revision 0)
+++ chrome/browser/ui/infobar.h (revision 0)
@@ -0,0 +1,19 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_INFOBAR_H_
+#define CHROME_BROWSER_UI_INFOBAR_H_
+#pragma once
+
+#include "chrome/browser/tab_contents/infobar_delegate.h"
+#include "third_party/skia/include/core/SkColor.h"
+
Robert Sesek 2011/06/07 14:48:53 Namespace level comment that explains what these f
sail 2011/06/07 19:21:02 Moved to tab_contents/infobar.h instead.
+namespace infobar {
tfarina 2011/06/07 15:06:27 please, could you rename this file to infobar_util
Peter Kasting 2011/06/07 18:13:13 I would prefer this to be named infobar_background
sail 2011/06/07 19:21:02 Moved to tab_contents/infobar.h instead.
sail 2011/06/07 19:21:02 Done.
Robert Sesek 2011/06/07 20:03:50 I actually prefer the namespace rather than global
+
+SkColor GetTopColor(InfoBarDelegate::Type infobar_type);
+SkColor GetBottomColor(InfoBarDelegate::Type infobar_type);
+
+} // namespace infobar
+
+#endif // CHROME_BROWSER_UI_INFOBAR_H_

Powered by Google App Engine
This is Rietveld 408576698