OLD | NEW |
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 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
6 | 6 |
7 #import "base/mac/cocoa_protocols.h" | |
8 #include "base/memory/scoped_nsobject.h" | 7 #include "base/memory/scoped_nsobject.h" |
9 | 8 |
10 @class AnimatableView; | 9 @class AnimatableView; |
11 @class HoverCloseButton; | 10 @class HoverCloseButton; |
12 @protocol InfoBarContainer; | 11 @protocol InfoBarContainer; |
13 class InfoBarDelegate; | 12 class InfoBarDelegate; |
14 class InfoBarTabHelper; | 13 class InfoBarTabHelper; |
15 @class InfoBarGradientView; | 14 @class InfoBarGradientView; |
16 | 15 |
17 // A controller for an infobar in the browser window. There is one | 16 // A controller for an infobar in the browser window. There is one |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 @end | 114 @end |
116 | 115 |
117 | 116 |
118 @interface ConfirmInfoBarController : InfoBarController | 117 @interface ConfirmInfoBarController : InfoBarController |
119 // Called when the OK and Cancel buttons are clicked. | 118 // Called when the OK and Cancel buttons are clicked. |
120 - (IBAction)ok:(id)sender; | 119 - (IBAction)ok:(id)sender; |
121 - (IBAction)cancel:(id)sender; | 120 - (IBAction)cancel:(id)sender; |
122 // Called when there is a click on the link in the infobar. | 121 // Called when there is a click on the link in the infobar. |
123 - (void)linkClicked; | 122 - (void)linkClicked; |
124 @end | 123 @end |
OLD | NEW |