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

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: Feedback and std::move 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
« no previous file with comments | « ash/aura/wm_window_aura.h ('k') | ash/common/wm/window_cycle_controller.h » ('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 412772bc6255f09bd981284a52aa95c028aa6acc..e16152fb148a72a6a203c5fc4d0d07375db638bc 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 std::move(view);
+}
+
void WmWindowAura::AddObserver(WmWindowObserver* observer) {
observers_.AddObserver(observer);
}
« no previous file with comments | « ash/aura/wm_window_aura.h ('k') | ash/common/wm/window_cycle_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698