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

Side by Side Diff: chrome/browser/ui/cocoa/infobars/infobar_gradient_view.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_GRADIENT_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_GRADIENT_VIEW_H_
6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_GRADIENT_VIEW_H_ 6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_GRADIENT_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #import "chrome/browser/ui/cocoa/vertical_gradient_view.h" 9 #import "chrome/browser/ui/cocoa/vertical_gradient_view.h"
10 #include "chrome/browser/tab_contents/infobar_delegate.h"
Robert Sesek 2011/06/07 14:48:53 nit: alphabetize
sail 2011/06/07 19:21:02 Done.
10 11
11 #import <Cocoa/Cocoa.h> 12 #import <Cocoa/Cocoa.h>
12 13
13 // A custom view that draws the background gradient for an infobar. 14 // A custom view that draws the background gradient for an infobar.
14 @interface InfoBarGradientView : VerticalGradientView 15 @interface InfoBarGradientView : VerticalGradientView
16
17 - (void)setInfobarType:(InfoBarDelegate::Type)infobarType;
Robert Sesek 2011/06/07 14:48:53 Add a comment stating that this will change the gr
sail 2011/06/07 19:21:02 Done.
18
15 @end 19 @end
16 20
17 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_GRADIENT_VIEW_H_ 21 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_GRADIENT_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698