| 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/test/ash_test_base.h" | 5 #include "ash/test/ash_test_base.h" |
| 6 | 6 |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
| 10 #include "ash/test/test_shell_delegate.h" | 10 #include "ash/test/test_shell_delegate.h" |
| 11 #include "ui/aura/env.h" | 11 #include "ui/aura/env.h" |
| 12 #include "ui/aura/monitor_manager.h" | 12 #include "ui/aura/monitor_manager.h" |
| 13 #include "ui/aura/root_window.h" | 13 #include "ui/aura/root_window.h" |
| 14 #include "ui/gfx/compositor/layer_animator.h" | 14 #include "ui/compositor/layer_animator.h" |
| 15 #include "ui/gfx/monitor.h" | 15 #include "ui/gfx/monitor.h" |
| 16 #include "ui/gfx/screen.h" | 16 #include "ui/gfx/screen.h" |
| 17 | 17 |
| 18 namespace ash { | 18 namespace ash { |
| 19 namespace test { | 19 namespace test { |
| 20 | 20 |
| 21 AshTestBase::AshTestBase() { | 21 AshTestBase::AshTestBase() { |
| 22 } | 22 } |
| 23 | 23 |
| 24 AshTestBase::~AshTestBase() { | 24 AshTestBase::~AshTestBase() { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 55 aura::Env::GetInstance()->monitor_manager()->OnNativeMonitorsChanged( | 55 aura::Env::GetInstance()->monitor_manager()->OnNativeMonitorsChanged( |
| 56 monitors); | 56 monitors); |
| 57 } | 57 } |
| 58 | 58 |
| 59 void AshTestBase::RunAllPendingInMessageLoop() { | 59 void AshTestBase::RunAllPendingInMessageLoop() { |
| 60 helper_.RunAllPendingInMessageLoop(Shell::GetRootWindow()); | 60 helper_.RunAllPendingInMessageLoop(Shell::GetRootWindow()); |
| 61 } | 61 } |
| 62 | 62 |
| 63 } // namespace test | 63 } // namespace test |
| 64 } // namespace ash | 64 } // namespace ash |
| OLD | NEW |