| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTROLLER_H_ |
| 7 |
| 5 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 6 | 9 |
| 7 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
| 8 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
| 9 | 12 |
| 10 @protocol InfoBarContainerControllerBase; | 13 @protocol InfoBarContainerControllerBase; |
| 11 class InfoBarCocoa; | 14 class InfoBarCocoa; |
| 12 @class InfoBarGradientView; | 15 @class InfoBarGradientView; |
| 13 | 16 |
| 14 namespace infobars { | 17 namespace infobars { |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 @interface InfoBarController (Protected) | 96 @interface InfoBarController (Protected) |
| 94 // Disables the provided menu. Subclasses should call this for each popup menu | 97 // Disables the provided menu. Subclasses should call this for each popup menu |
| 95 // in -infobarWillClose. | 98 // in -infobarWillClose. |
| 96 - (void)disablePopUpMenu:(NSMenu*)menu; | 99 - (void)disablePopUpMenu:(NSMenu*)menu; |
| 97 @end | 100 @end |
| 98 | 101 |
| 99 ///////////////////////////////////////////////////////////////////////// | 102 ///////////////////////////////////////////////////////////////////////// |
| 100 // InfoBarController subclasses, one for each InfoBarDelegate | 103 // InfoBarController subclasses, one for each InfoBarDelegate |
| 101 // subclass. Each of these subclasses overrides addAdditionalControls to | 104 // subclass. Each of these subclasses overrides addAdditionalControls to |
| 102 // configure its view as necessary. | 105 // configure its view as necessary. |
| 106 |
| 107 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTROLLER_H_ |
| OLD | NEW |