Index: ash/wm/panels/panel_layout_manager.cc |
diff --git a/ash/wm/panels/panel_layout_manager.cc b/ash/wm/panels/panel_layout_manager.cc |
index c4ccd11a3d878a0cd6728166abfa487147f3bfeb..ece898588587dc0ee6a6855d54bffee38454043b 100644 |
--- a/ash/wm/panels/panel_layout_manager.cc |
+++ b/ash/wm/panels/panel_layout_manager.cc |
@@ -16,6 +16,7 @@ |
#include "ash/wm/frame_painter.h" |
#include "ash/wm/property_util.h" |
#include "ash/wm/window_animations.h" |
+#include "ash/wm/window_properties.h" |
#include "ash/wm/window_util.h" |
#include "base/auto_reset.h" |
#include "base/bind.h" |
@@ -664,6 +665,7 @@ void PanelLayoutManager::Relayout() { |
ui::LayerAnimator::IMMEDIATELY_ANIMATE_TO_NEW_TARGET); |
panel_slide_settings.SetTransitionDuration( |
base::TimeDelta::FromMilliseconds(kPanelSlideDurationMilliseconds)); |
+ visible_panels[i].window->SetProperty(internal::kPanelAttachedKey, true); |
flackr
2013/06/19 15:16:49
Any panel that's being managed by panel layout man
varkha
2013/06/19 15:49:22
This was not the case when the panel was getting a
flackr
2013/06/19 15:59:37
It's my understanding that even if an application
varkha
2013/06/19 17:54:09
The problem with dual screens was that SetBounds w
flackr
2013/06/19 20:24:46
When SetBounds is about to reparent the window, it
|
SetChildBoundsDirect(visible_panels[i].window, bounds); |
if (slide_in) |
layer->SetOpacity(1); |