| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ASH_MUS_TEST_ASH_TEST_IMPL_MUS_H_ |
| 6 #define ASH_MUS_TEST_ASH_TEST_IMPL_MUS_H_ |
| 7 |
| 8 #include "ash/common/test/ash_test_impl.h" |
| 9 #include "ash/mus/test/wm_test_base.h" |
| 10 #include "base/macros.h" |
| 11 |
| 12 namespace ash { |
| 13 namespace mus { |
| 14 |
| 15 class WmTestBase; |
| 16 |
| 17 // Implementation of AshTestImpl for mus. |
| 18 class AshTestImplMus : public AshTestImpl { |
| 19 public: |
| 20 AshTestImplMus(); |
| 21 ~AshTestImplMus() override; |
| 22 |
| 23 // AshTestImpl: |
| 24 void SetUp() override; |
| 25 void TearDown() override; |
| 26 bool SupportsMultipleDisplays() const override; |
| 27 void UpdateDisplay(const std::string& display_spec) override; |
| 28 std::unique_ptr<WindowOwner> CreateTestWindow( |
| 29 const gfx::Rect& bounds_in_screen, |
| 30 ui::wm::WindowType type, |
| 31 int shell_window_id) override; |
| 32 display::Display GetSecondaryDisplay() override; |
| 33 bool SetSecondaryDisplayPlacement( |
| 34 display::DisplayPlacement::Position position, |
| 35 int offset) override; |
| 36 |
| 37 private: |
| 38 // TODO(sky): fold WmTestBase directly into this class when no more subclasses |
| 39 // of WmTestBase. |
| 40 std::unique_ptr<WmTestBase> wm_test_base_; |
| 41 |
| 42 DISALLOW_COPY_AND_ASSIGN(AshTestImplMus); |
| 43 }; |
| 44 |
| 45 } // namespace mus |
| 46 } // namespace ash |
| 47 |
| 48 #endif // ASH_MUS_TEST_ASH_TEST_IMPL_MUS_H_ |
| OLD | NEW |