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

Unified Diff: ash/aura/wm_window_aura.cc

Issue 2350953009: Centralizes more shared code between ash and mash (Closed)
Patch Set: moar 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
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());
}

Powered by Google App Engine
This is Rietveld 408576698