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

Unified Diff: chrome/browser/cocoa/infobar_controller.h

Issue 594056: Translate Infobars for OS X. (Closed)
Patch Set: Fix review comments Created 10 years, 10 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 | « chrome/browser/cocoa/hover_close_button.mm ('k') | chrome/browser/cocoa/translate_infobar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/infobar_controller.h
diff --git a/chrome/browser/cocoa/infobar_controller.h b/chrome/browser/cocoa/infobar_controller.h
index 8bd19edb04bd294312a83f96b5648f9e14c2f52d..14349ef2896cffe9cea2b3eee772e450a5e568dd 100644
--- a/chrome/browser/cocoa/infobar_controller.h
+++ b/chrome/browser/cocoa/infobar_controller.h
@@ -5,8 +5,10 @@
#import <Cocoa/Cocoa.h>
@class AnimatableView;
+@class HoverCloseButton;
@protocol InfoBarContainer;
class InfoBarDelegate;
+@class InfoBarGradientView;
// A controller for an infobar in the browser window. There is one
// controller per infobar view. The base InfoBarController is able to
@@ -19,11 +21,12 @@ class InfoBarDelegate;
@protected
InfoBarDelegate* delegate_; // weak
- IBOutlet NSView* infoBarView_;
+ IBOutlet InfoBarGradientView* infoBarView_;
IBOutlet NSImageView* image_;
IBOutlet NSTextField* label_;
IBOutlet NSButton* okButton_;
IBOutlet NSButton* cancelButton_;
+ IBOutlet HoverCloseButton* closeButton_;
};
// Initializes a new InfoBarController.
« no previous file with comments | « chrome/browser/cocoa/hover_close_button.mm ('k') | chrome/browser/cocoa/translate_infobar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698