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

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

Issue 10830353: Introduce InfoBarTabService API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments, merge to LKGR Created 8 years, 4 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/cocoa/infobars/infobar_controller.h
diff --git a/chrome/browser/ui/cocoa/infobars/infobar_controller.h b/chrome/browser/ui/cocoa/infobars/infobar_controller.h
index e3c18b28d29e34f08d2ecebc490cf91fdad38e48..1fc7b51c3df8fbeacf06947856d1ee117903f9de 100644
--- a/chrome/browser/ui/cocoa/infobars/infobar_controller.h
+++ b/chrome/browser/ui/cocoa/infobars/infobar_controller.h
@@ -10,7 +10,7 @@
@class HoverCloseButton;
@protocol InfoBarContainer;
class InfoBarDelegate;
-class InfoBarTabHelper;
+class InfoBarTabService;
@class InfoBarGradientView;
// A controller for an infobar in the browser window. There is one
@@ -20,7 +20,7 @@ class InfoBarTabHelper;
@interface InfoBarController : NSViewController<NSTextViewDelegate> {
@private
id<InfoBarContainer> containerController_; // weak, owns us
- InfoBarTabHelper* owner_; // weak
+ InfoBarTabService* owner_; // weak
BOOL infoBarClosing_;
@protected
@@ -45,7 +45,7 @@ class InfoBarTabHelper;
// Initializes a new InfoBarController.
- (id)initWithDelegate:(InfoBarDelegate*)delegate
- owner:(InfoBarTabHelper*)owner;
+ owner:(InfoBarTabService*)owner;
// Returns YES if the infobar is owned. If this is NO, it is not safe to call
// any delegate functions, since they might attempt to access the owner. Code

Powered by Google App Engine
This is Rietveld 408576698