| 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_WM_TEST_SCREEN_H_ | |
| 6 #define ASH_MUS_TEST_WM_TEST_SCREEN_H_ | |
| 7 | |
| 8 #include "ui/display/screen_base.h" | |
| 9 | |
| 10 namespace ash { | |
| 11 namespace mus { | |
| 12 | |
| 13 // Screen implementation used by tests for the windowmanager. Does not talk | |
| 14 // to mus. Tests must keep the list of Displays in sync manually. | |
| 15 class WmTestScreen : public display::ScreenBase { | |
| 16 public: | |
| 17 WmTestScreen(); | |
| 18 ~WmTestScreen() override; | |
| 19 | |
| 20 private: | |
| 21 // display::ScreenBase: | |
| 22 gfx::Point GetCursorScreenPoint() override; | |
| 23 bool IsWindowUnderCursor(gfx::NativeWindow window) override; | |
| 24 | |
| 25 DISALLOW_COPY_AND_ASSIGN(WmTestScreen); | |
| 26 }; | |
| 27 | |
| 28 } // namespace mus | |
| 29 } // namespace ash | |
| 30 | |
| 31 #endif // ASH_MUS_TEST_WM_TEST_SCREEN_H_ | |
| OLD | NEW |