| 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 "ash/wm/shelf_layout_manager.h" | 5 #include "ash/wm/shelf_layout_manager.h" |
| 6 | 6 |
| 7 #include "ash/focus_cycler.h" | 7 #include "ash/focus_cycler.h" |
| 8 #include "ash/launcher/launcher.h" | 8 #include "ash/launcher/launcher.h" |
| 9 #include "ash/screen_ash.h" | 9 #include "ash/screen_ash.h" |
| 10 #include "ash/shell.h" | 10 #include "ash/shell.h" |
| 11 #include "ash/shell_delegate.h" | 11 #include "ash/shell_delegate.h" |
| 12 #include "ash/shell_window_ids.h" | 12 #include "ash/shell_window_ids.h" |
| 13 #include "ash/test/ash_test_base.h" | 13 #include "ash/test/ash_test_base.h" |
| 14 #include "ui/aura/client/aura_constants.h" | 14 #include "ui/aura/client/aura_constants.h" |
| 15 #include "ui/aura/env.h" | 15 #include "ui/aura/env.h" |
| 16 #include "ui/aura/monitor_manager.h" | 16 #include "ui/aura/monitor_manager.h" |
| 17 #include "ui/aura/root_window.h" | 17 #include "ui/aura/root_window.h" |
| 18 #include "ui/aura/test/event_generator.h" | 18 #include "ui/aura/test/event_generator.h" |
| 19 #include "ui/aura/window.h" | 19 #include "ui/aura/window.h" |
| 20 #include "ui/base/animation/animation_container_element.h" | 20 #include "ui/base/animation/animation_container_element.h" |
| 21 #include "ui/gfx/compositor/layer_animator.h" | 21 #include "ui/compositor/layer.h" |
| 22 #include "ui/gfx/compositor/layer.h" | 22 #include "ui/compositor/layer_animator.h" |
| 23 #include "ui/gfx/monitor.h" | 23 #include "ui/gfx/monitor.h" |
| 24 #include "ui/gfx/screen.h" | 24 #include "ui/gfx/screen.h" |
| 25 #include "ui/views/widget/widget.h" | 25 #include "ui/views/widget/widget.h" |
| 26 | 26 |
| 27 namespace ash { | 27 namespace ash { |
| 28 namespace internal { | 28 namespace internal { |
| 29 | 29 |
| 30 namespace { | 30 namespace { |
| 31 | 31 |
| 32 void StepWidgetLayerAnimatorToEnd(views::Widget* widget) { | 32 void StepWidgetLayerAnimatorToEnd(views::Widget* widget) { |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 EXPECT_EQ(ShelfLayoutManager::HIDDEN, shelf->visibility_state()); | 474 EXPECT_EQ(ShelfLayoutManager::HIDDEN, shelf->visibility_state()); |
| 475 | 475 |
| 476 // Toggle app list to hide. | 476 // Toggle app list to hide. |
| 477 shell->ToggleAppList(); | 477 shell->ToggleAppList(); |
| 478 EXPECT_FALSE(shell->GetAppListTargetVisibility()); | 478 EXPECT_FALSE(shell->GetAppListTargetVisibility()); |
| 479 EXPECT_EQ(ShelfLayoutManager::HIDDEN, shelf->visibility_state()); | 479 EXPECT_EQ(ShelfLayoutManager::HIDDEN, shelf->visibility_state()); |
| 480 } | 480 } |
| 481 | 481 |
| 482 } // namespace internal | 482 } // namespace internal |
| 483 } // namespace ash | 483 } // namespace ash |
| OLD | NEW |