Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6159)

Unified Diff: ash/common/wm_window.h

Issue 2075923002: mash: Convert FocusCycler to wm common types and move to //ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/wm_shell.cc ('k') | ash/focus_cycler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « ash/common/wm_shell.cc ('k') | ash/focus_cycler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698