| 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 <memory> | 10 #include <memory> |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 // Removes the given infobar. | 87 // Removes the given infobar. |
| 88 - (void)removeInfoBar:(InfoBarCocoa*)infobar; | 88 - (void)removeInfoBar:(InfoBarCocoa*)infobar; |
| 89 | 89 |
| 90 // Positions the infobar views in the container view and notifies | 90 // Positions the infobar views in the container view and notifies |
| 91 // |browser_controller_| that it needs to resize the container view. | 91 // |browser_controller_| that it needs to resize the container view. |
| 92 - (void)positionInfoBarsAndRedraw:(BOOL)isAnimating; | 92 - (void)positionInfoBarsAndRedraw:(BOOL)isAnimating; |
| 93 | 93 |
| 94 // Set the max arrow height of the top infobar. | 94 // Set the max arrow height of the top infobar. |
| 95 - (void)setMaxTopArrowHeight:(NSInteger)height; | 95 - (void)setMaxTopArrowHeight:(NSInteger)height; |
| 96 | 96 |
| 97 // Returns the default max arrow height of the top infobar. |
| 98 - (NSInteger)defaultMaxTopArrowHeight; |
| 99 |
| 97 // The height of all the info bars. Does not include the top arrow. | 100 // The height of all the info bars. Does not include the top arrow. |
| 98 - (CGFloat)heightOfInfoBars; | 101 - (CGFloat)heightOfInfoBars; |
| 99 | 102 |
| 100 @end | 103 @end |
| 101 | 104 |
| 102 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ | 105 #endif // CHROME_BROWSER_UI_COCOA_INFOBARS_INFOBAR_CONTAINER_CONTROLLER_H_ |
| OLD | NEW |