| 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 #ifndef UI_AURA_TEST_AURA_TEST_BASE_H_ | 5 #ifndef UI_AURA_TEST_AURA_TEST_BASE_H_ |
| 6 #define UI_AURA_TEST_AURA_TEST_BASE_H_ | 6 #define UI_AURA_TEST_AURA_TEST_BASE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 AuraTestBase(); | 23 AuraTestBase(); |
| 24 virtual ~AuraTestBase(); | 24 virtual ~AuraTestBase(); |
| 25 | 25 |
| 26 // testing::Test: | 26 // testing::Test: |
| 27 virtual void SetUp() OVERRIDE; | 27 virtual void SetUp() OVERRIDE; |
| 28 virtual void TearDown() OVERRIDE; | 28 virtual void TearDown() OVERRIDE; |
| 29 | 29 |
| 30 protected: | 30 protected: |
| 31 void RunAllPendingInMessageLoop(); | 31 void RunAllPendingInMessageLoop(); |
| 32 | 32 |
| 33 RootWindow* root_window() { return root_window_; } | 33 RootWindow* root_window() { return root_window_.get(); } |
| 34 | 34 |
| 35 private: | 35 private: |
| 36 AuraTestHelper helper_; | 36 AuraTestHelper helper_; |
| 37 RootWindow* root_window_; | 37 scoped_ptr<RootWindow> root_window_; |
| 38 scoped_ptr<TestStackingClient> stacking_client_; | 38 scoped_ptr<TestStackingClient> stacking_client_; |
| 39 | 39 |
| 40 DISALLOW_COPY_AND_ASSIGN(AuraTestBase); | 40 DISALLOW_COPY_AND_ASSIGN(AuraTestBase); |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 } // namespace test | 43 } // namespace test |
| 44 } // namespace aura | 44 } // namespace aura |
| 45 | 45 |
| 46 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_ | 46 #endif // UI_AURA_TEST_AURA_TEST_BASE_H_ |
| OLD | NEW |