| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "ui/views/corewm/visibility_controller.h" | 5 #include "ui/wm/core/visibility_controller.h" |
| 6 | 6 |
| 7 #include "ui/aura/window.h" | 7 #include "ui/aura/window.h" |
| 8 #include "ui/aura/window_property.h" | 8 #include "ui/aura/window_property.h" |
| 9 #include "ui/compositor/layer.h" | 9 #include "ui/compositor/layer.h" |
| 10 #include "ui/views/corewm/window_animations.h" | 10 #include "ui/wm/core/window_animations.h" |
| 11 | 11 |
| 12 namespace views { | 12 namespace views { |
| 13 namespace corewm { | 13 namespace corewm { |
| 14 | 14 |
| 15 namespace { | 15 namespace { |
| 16 | 16 |
| 17 // Property set on all windows whose child windows' visibility changes are | 17 // Property set on all windows whose child windows' visibility changes are |
| 18 // animated. | 18 // animated. |
| 19 DEFINE_WINDOW_PROPERTY_KEY( | 19 DEFINE_WINDOW_PROPERTY_KEY( |
| 20 bool, kChildWindowVisibilityChangesAnimatedKey, false); | 20 bool, kChildWindowVisibilityChangesAnimatedKey, false); |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 window_->ClearProperty(kChildWindowVisibilityChangesAnimatedKey); | 78 window_->ClearProperty(kChildWindowVisibilityChangesAnimatedKey); |
| 79 } | 79 } |
| 80 | 80 |
| 81 void SetChildWindowVisibilityChangesAnimated(aura::Window* window) { | 81 void SetChildWindowVisibilityChangesAnimated(aura::Window* window) { |
| 82 window->SetProperty(kChildWindowVisibilityChangesAnimatedKey, true); | 82 window->SetProperty(kChildWindowVisibilityChangesAnimatedKey, true); |
| 83 } | 83 } |
| 84 | 84 |
| 85 } // namespace corewm | 85 } // namespace corewm |
| 86 } // namespace views | 86 } // namespace views |
| 87 | 87 |
| OLD | NEW |