Index: chrome/browser/ui/cocoa/infobars/infobar_container_controller.h |
diff --git a/chrome/browser/ui/cocoa/infobars/infobar_container_controller.h b/chrome/browser/ui/cocoa/infobars/infobar_container_controller.h |
index 9a011fcd88c57e4d33c314924d0616c120508d5f..ed77111d39b68ebfc48c984112d55a77df5a1e92 100644 |
--- a/chrome/browser/ui/cocoa/infobars/infobar_container_controller.h |
+++ b/chrome/browser/ui/cocoa/infobars/infobar_container_controller.h |
@@ -13,6 +13,7 @@ |
#import "chrome/browser/ui/cocoa/view_resizer.h" |
#include "content/common/notification_registrar.h" |
+@class BrowserWindowController; |
@class InfoBarController; |
class InfoBar; |
class InfoBarDelegate; |
@@ -25,14 +26,18 @@ class TabStripModel; |
@protocol InfoBarContainer |
- (void)willRemoveController:(InfoBarController*)controller; |
- (void)removeController:(InfoBarController*)controller; |
+- (BrowserWindowController*)browserWindowController; |
@end |
namespace infobars { |
-// How tall the tip is on a normal infobar. |
+// The height of an infobar without the tip. |
const CGFloat kBaseHeight = 36.0; |
+// The height of the infobar tip. |
+const CGFloat kTipHeight = 12.0; |
+ |
}; // namespace infobars |
@@ -95,7 +100,7 @@ const CGFloat kBaseHeight = 36.0; |
// Returns the amount of additional height the container view needs to draw the |
// anti-spoofing tip. This will return 0 if |-infobarCount| is 0. This is the |
// total amount of overlap for all infobars. |
-- (CGFloat)antiSpoofHeight; |
+- (CGFloat)overlappingTipHeight; |
@end |