diff options
Diffstat (limited to 'chrome/browser/cocoa/info_bubble_window.h')
-rw-r--r-- | chrome/browser/cocoa/info_bubble_window.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/info_bubble_window.h b/chrome/browser/cocoa/info_bubble_window.h index eea956b..925ee98 100644 --- a/chrome/browser/cocoa/info_bubble_window.h +++ b/chrome/browser/cocoa/info_bubble_window.h @@ -11,4 +11,15 @@ // Is self in the process of closing. BOOL closing_; } + +@end + +// Methods to only be used by unittests. +@interface InfoBubbleWindow (UnitTest) + +// Returns YES if the window is in the process of closing. +// Can't use "windowWillClose" notification because that will be sent +// after the closing animation has completed. +- (BOOL)isClosing; + @end |