| Index: ash/common/wm_window.h
|
| diff --git a/ash/common/wm_window.h b/ash/common/wm_window.h
|
| index 2732f0381fa348a1e11f6e31f1b615e58af46eee..d94b606f931270db83388b98280ec51c27439ca3 100644
|
| --- a/ash/common/wm_window.h
|
| +++ b/ash/common/wm_window.h
|
| @@ -31,6 +31,10 @@ namespace ui {
|
| class Layer;
|
| }
|
|
|
| +namespace views {
|
| +class Widget;
|
| +}
|
| +
|
| namespace ash {
|
|
|
| class WmLayoutManager;
|
| @@ -203,6 +207,11 @@ class ASH_EXPORT WmWindow {
|
| virtual void Hide() = 0;
|
| virtual void Show() = 0;
|
|
|
| + // Returns the widget associated with this window, or null if not associated
|
| + // with a widget. Only ash system UI widgets are returned, not widgets created
|
| + // by the mus window manager code to show a non-client frame.
|
| + virtual views::Widget* GetInternalWidget() = 0;
|
| +
|
| // Requests the window to close and destroy itself. This is intended to
|
| // forward to an associated widget.
|
| virtual void CloseWidget() = 0;
|
|
|