| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_DISPLAY_MANAGER_CHROMEOS_TEST_TEST_DISPLAY_LAYOUT_MANAGER_H_ | 5 #ifndef UI_DISPLAY_MANAGER_CHROMEOS_TEST_TEST_DISPLAY_LAYOUT_MANAGER_H_ |
| 6 #define UI_DISPLAY_MANAGER_CHROMEOS_TEST_TEST_DISPLAY_LAYOUT_MANAGER_H_ | 6 #define UI_DISPLAY_MANAGER_CHROMEOS_TEST_TEST_DISPLAY_LAYOUT_MANAGER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/scoped_vector.h" | 9 #include "base/memory/scoped_vector.h" |
| 10 #include "ui/display/manager/chromeos/display_configurator.h" | 10 #include "ui/display/manager/chromeos/display_configurator.h" |
| 11 #include "ui/display/manager/chromeos/display_layout_manager.h" | 11 #include "ui/display/manager/chromeos/display_layout_manager.h" |
| 12 | 12 |
| 13 namespace ui { | 13 namespace display { |
| 14 namespace test { | 14 namespace test { |
| 15 | 15 |
| 16 class TestDisplayLayoutManager : public DisplayLayoutManager { | 16 class TestDisplayLayoutManager : public DisplayLayoutManager { |
| 17 public: | 17 public: |
| 18 TestDisplayLayoutManager(ScopedVector<DisplaySnapshot> displays, | 18 TestDisplayLayoutManager(ScopedVector<DisplaySnapshot> displays, |
| 19 MultipleDisplayState display_state); | 19 MultipleDisplayState display_state); |
| 20 ~TestDisplayLayoutManager() override; | 20 ~TestDisplayLayoutManager() override; |
| 21 | 21 |
| 22 // DisplayLayoutManager: | 22 // DisplayLayoutManager: |
| 23 DisplayConfigurator::StateController* GetStateController() const override; | 23 DisplayConfigurator::StateController* GetStateController() const override; |
| (...skipping 10 matching lines...) Expand all Loading... |
| 34 bool IsMirroring() const override; | 34 bool IsMirroring() const override; |
| 35 | 35 |
| 36 private: | 36 private: |
| 37 ScopedVector<DisplaySnapshot> displays_; | 37 ScopedVector<DisplaySnapshot> displays_; |
| 38 MultipleDisplayState display_state_; | 38 MultipleDisplayState display_state_; |
| 39 | 39 |
| 40 DISALLOW_COPY_AND_ASSIGN(TestDisplayLayoutManager); | 40 DISALLOW_COPY_AND_ASSIGN(TestDisplayLayoutManager); |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 } // namespace test | 43 } // namespace test |
| 44 } // namespace ui | 44 } // namespace display |
| 45 | 45 |
| 46 #endif // UI_DISPLAY_MANAGER_CHROMEOS_TEST_TEST_DISPLAY_LAYOUT_MANAGER_H_ | 46 #endif // UI_DISPLAY_MANAGER_CHROMEOS_TEST_TEST_DISPLAY_LAYOUT_MANAGER_H_ |
| OLD | NEW |