Chromium Code Reviews| Index: athena/wm/window_manager_impl.cc |
| diff --git a/athena/wm/window_manager_impl.cc b/athena/wm/window_manager_impl.cc |
| index 2c61ab1d7be227b4d326a52f88f3793d39e5ed1b..589da390733ec1ecf3999c24c0b16278b8b5d35c 100644 |
| --- a/athena/wm/window_manager_impl.cc |
| +++ b/athena/wm/window_manager_impl.cc |
| @@ -9,6 +9,7 @@ |
| #include "base/logging.h" |
| #include "ui/aura/layout_manager.h" |
| #include "ui/aura/window.h" |
| +#include "ui/wm/public/window_types.h" |
| namespace athena { |
| namespace { |
| @@ -124,7 +125,9 @@ void WindowManagerImpl::Layout() { |
| for (aura::Window::Windows::const_iterator iter = children.begin(); |
| iter != children.end(); |
| ++iter) { |
| - (*iter)->SetBounds(bounds); |
| + if ((*iter)->type() == ui::wm::WINDOW_TYPE_NORMAL || |
| + (*iter)->type() == ui::wm::WINDOW_TYPE_POPUP) |
|
Mr4D (OOO till 08-26)
2014/06/11 18:09:25
There were some discussions about letting popups a
|
| + (*iter)->SetBounds(bounds); |
| } |
| } |