summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/info_bubble_window.h
diff options
context:
space:
mode:
authordmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-14 16:09:06 +0000
committerdmaclach@chromium.org <dmaclach@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-14 16:09:06 +0000
commit1f98739a6ce90232c5236fae59879e8c93662935 (patch)
tree99fd8c7a391692063bb519d46acaeeda25b6c95a /chrome/browser/cocoa/info_bubble_window.h
parentfb6d6d57e76098ea1028a9591add0a5724c20818 (diff)
downloadchromium_src-1f98739a6ce90232c5236fae59879e8c93662935.zip
chromium_src-1f98739a6ce90232c5236fae59879e8c93662935.tar.gz
chromium_src-1f98739a6ce90232c5236fae59879e8c93662935.tar.bz2
Makes InfoBubbleWindow close animations work correctly with regards to
activating other windows post-close correctly. BUG=27711 TEST=See repro steps in bug. Review URL: http://codereview.chromium.org/385119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32006 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/info_bubble_window.h')
-rw-r--r--chrome/browser/cocoa/info_bubble_window.h11
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