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

Unified Diff: ash/aura/wm_window_aura.cc

Issue 2350953009: Centralizes more shared code between ash and mash (Closed)
Patch Set: feedback Created 4 years, 3 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/aura/wm_window_aura.h ('k') | ash/common/wm/container_finder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/aura/wm_window_aura.cc
diff --git a/ash/aura/wm_window_aura.cc b/ash/aura/wm_window_aura.cc
index 60575f4a34e474bab4421d5c5c4ad20ce00bf6ee..831751f6d9d2f585bdbdcf352c558824390b0c71 100644
--- a/ash/aura/wm_window_aura.cc
+++ b/ash/aura/wm_window_aura.cc
@@ -375,6 +375,10 @@ void WmWindowAura::AddChild(WmWindow* window) {
window_->AddChild(GetAuraWindow(window));
}
+void WmWindowAura::RemoveChild(WmWindow* child) {
+ window_->RemoveChild(GetAuraWindow(child));
+}
+
const WmWindow* WmWindowAura::GetParent() const {
return Get(window_->parent());
}
« no previous file with comments | « ash/aura/wm_window_aura.h ('k') | ash/common/wm/container_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698