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

Unified Diff: ash/common/wm/window_parenting_utils.h

Issue 2737213002: Update window_parenting_utils to use aura::window (Closed)
Patch Set: fix nits Created 3 years, 9 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/panels/panel_window_resizer.cc ('k') | ash/common/wm/window_parenting_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm/window_parenting_utils.h
diff --git a/ash/common/wm/window_parenting_utils.h b/ash/common/wm/window_parenting_utils.h
index 864e0aa17f915a66f1cc87701f3f24eb9858b31b..0162d39bf20305a5ba07c99d43e7a1a4617faa3c 100644
--- a/ash/common/wm/window_parenting_utils.h
+++ b/ash/common/wm/window_parenting_utils.h
@@ -5,24 +5,26 @@
#ifndef ASH_COMMON_WM_WINDOW_PARENTING_UTILS_H_
#define ASH_COMMON_WM_WINDOW_PARENTING_UTILS_H_
-namespace ash {
+namespace aura {
+class Window;
+}
-class WmWindow;
+namespace ash {
namespace wm {
// Changes the parent of a |child| and all its transient children that are
// themselves children of |old_parent| to |new_parent|.
-void ReparentChildWithTransientChildren(WmWindow* child,
- WmWindow* old_parent,
- WmWindow* new_parent);
+void ReparentChildWithTransientChildren(aura::Window* child,
+ aura::Window* old_parent,
+ aura::Window* new_parent);
// Changes the parent of all transient children of a |child| to |new_parent|.
// Does not change parent of the transient children that are not themselves
// children of |old_parent|.
-void ReparentTransientChildrenOfChild(WmWindow* child,
- WmWindow* old_parent,
- WmWindow* new_parent);
+void ReparentTransientChildrenOfChild(aura::Window* child,
+ aura::Window* old_parent,
+ aura::Window* new_parent);
} // namespace wm
} // namespace ash
« no previous file with comments | « ash/common/wm/panels/panel_window_resizer.cc ('k') | ash/common/wm/window_parenting_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698