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

Unified Diff: ash/aura/wm_window_aura.cc

Issue 2157393002: Moves WindowCycleList/Controller to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 412772bc6255f09bd981284a52aa95c028aa6acc..d4a216519f843767f0070b90290fac817be4d7e3 100644
--- a/ash/aura/wm_window_aura.cc
+++ b/ash/aura/wm_window_aura.cc
@@ -18,6 +18,7 @@
#include "ash/shell.h"
#include "ash/wm/resize_shadow_controller.h"
#include "ash/wm/window_animations.h"
+#include "ash/wm/window_mirror_view.h"
#include "ash/wm/window_properties.h"
#include "ash/wm/window_state_aura.h"
#include "ash/wm/window_util.h"
@@ -635,6 +636,12 @@ void WmWindowAura::SetDescendantsStayInSameRootWindow(bool value) {
window_->SetProperty(kStayInSameRootWindowKey, true);
}
+std::unique_ptr<views::View> WmWindowAura::CreateViewWithRecreatedLayers() {
+ std::unique_ptr<wm::WindowMirrorView> view(new wm::WindowMirrorView(this));
+ view->Init();
+ return view;
+}
+
void WmWindowAura::AddObserver(WmWindowObserver* observer) {
observers_.AddObserver(observer);
}

Powered by Google App Engine
This is Rietveld 408576698