| 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);
|
| }
|
|
|