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

Unified Diff: ash/scoped_root_window_for_new_windows.h

Issue 2886253002: mash: remove more shell/shelf WmWindow usage. (Closed)
Patch Set: Fix WmShelf::ForWindow. Created 3 years, 7 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/root_window_controller_unittest.cc ('k') | ash/scoped_root_window_for_new_windows.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/scoped_root_window_for_new_windows.h
diff --git a/ash/scoped_root_window_for_new_windows.h b/ash/scoped_root_window_for_new_windows.h
index ac0946af93ea5d42e312cc04d6ccecc38efc8a3a..861f3519698e3abd9258dbfdebad5f2b1cb768f1 100644
--- a/ash/scoped_root_window_for_new_windows.h
+++ b/ash/scoped_root_window_for_new_windows.h
@@ -8,9 +8,11 @@
#include "ash/ash_export.h"
#include "base/macros.h"
-namespace ash {
+namespace aura {
+class Window;
+}
-class WmWindow;
+namespace ash {
// Constructing a ScopedRootWindowForNewWindows allows temporarily
// switching a target root window so that a new window gets created
@@ -19,7 +21,7 @@ class WmWindow;
// a new window using launcher's icon.
class ASH_EXPORT ScopedRootWindowForNewWindows {
public:
- explicit ScopedRootWindowForNewWindows(WmWindow* new_root);
+ explicit ScopedRootWindowForNewWindows(aura::Window* new_root);
~ScopedRootWindowForNewWindows();
private:
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | ash/scoped_root_window_for_new_windows.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698