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 #ifndef CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
85 - (void)addInfoBar:(InfoBarCocoa*)infobar | 85 - (void)addInfoBar:(InfoBarCocoa*)infobar |
86 position:(NSUInteger)position; | 86 position:(NSUInteger)position; |
87 | 87 |
88 // Removes the given infobar. | 88 // Removes the given infobar. |
89 - (void)removeInfoBar:(InfoBarCocoa*)infobar; | 89 - (void)removeInfoBar:(InfoBarCocoa*)infobar; |
90 | 90 |
91 // Positions the infobar views in the container view and notifies | 91 // Positions the infobar views in the container view and notifies |
92 // |browser_controller_| that it needs to resize the container view. | 92 // |browser_controller_| that it needs to resize the container view. |
93 - (void)positionInfoBarsAndRedraw:(BOOL)isAnimating; | 93 - (void)positionInfoBarsAndRedraw:(BOOL)isAnimating; |
94 | 94 |
95 // Set the max arrow height of the top infobar. | |
96 - (void)setMaxTopArrowHeight:(int)height; | |
Robert Sesek
2014/08/07 18:12:54
Use NSInteger, for consistency with -defaultArrowH
| |
97 | |
98 // Get the default arrow height. | |
99 - (NSInteger)defaultArrowHeight; | |
100 | |
95 @end | 101 @end |
96 | 102 |
97 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ | 103 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ |
OLD | NEW |