| Index: chrome/browser/cocoa/status_bubble_mac.h
|
| ===================================================================
|
| --- chrome/browser/cocoa/status_bubble_mac.h (revision 33296)
|
| +++ chrome/browser/cocoa/status_bubble_mac.h (working copy)
|
| @@ -63,9 +63,17 @@
|
| // it does.)
|
| void Create();
|
|
|
| - // Attaches the status bubble window to its parent window.
|
| + // Attaches the status bubble window to its parent window. Safe to call even
|
| + // when already attached.
|
| void Attach();
|
|
|
| + // Detaches the status bubble window from its parent window.
|
| + void Detach();
|
| +
|
| + // Is the status bubble attached to the browser window? It should be attached
|
| + // when shown and during any fades, but should be detached when hidden.
|
| + bool is_attached() { return [window_ parentWindow] != nil; }
|
| +
|
| // Begins fading the status bubble window in or out depending on the value
|
| // of |show|. This must be called from the appropriate fade state,
|
| // kBubbleShowingFadeIn or kBubbleHidingFadeOut, or from the appropriate
|
|
|