Index: views/window/window.h |
=================================================================== |
--- views/window/window.h (revision 25660) |
+++ views/window/window.h (working copy) |
@@ -17,6 +17,7 @@ |
class ClientView; |
class NonClientFrameView; |
class NonClientView; |
+class Widget; |
class WindowDelegate; |
// An interface implemented by an object that provides a top level window. |
@@ -46,6 +47,11 @@ |
// is closed. |
static void CloseAllSecondaryWindows(); |
+ // Used by |CloseAllSecondaryWindows|. If |widget|'s window is a secondary |
+ // window, the window is closed. If |widget| has no window, it is closed. |
+ // Does nothing if |widget| is null. |
+ static void CloseSecondaryWidget(Widget* widget); |
+ |
// Retrieves the window's bounds, including its frame. |
virtual gfx::Rect GetBounds() const = 0; |