Avi Drissman | 3a215d1e | 2022-09-07 19:43:09 | [diff] [blame] | 1 | // Copyright 2012 The Chromium Authors |
mazda@chromium.org | 44e64a6 | 2012-09-21 04:21:11 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
James Cook | 346c8c6 | 2017-07-18 19:38:37 | [diff] [blame] | 5 | #include "ash/wm/cursor_manager_test_api.h" |
mazda@chromium.org | 44e64a6 | 2012-09-21 04:21:11 | [diff] [blame] | 6 | |
Jun Mukai | 4498638 | 2019-05-14 18:19:20 | [diff] [blame] | 7 | #include "ash/public/cpp/test/shell_test_api.h" |
James Cook | bc2758b4 | 2018-09-07 16:20:37 | [diff] [blame] | 8 | #include "ash/wm/native_cursor_manager_ash.h" |
mazda@chromium.org | 44e64a6 | 2012-09-21 04:21:11 | [diff] [blame] | 9 | |
| 10 | namespace ash { |
mazda@chromium.org | 44e64a6 | 2012-09-21 04:21:11 | [diff] [blame] | 11 | |
Henrique Ferreiro | bde3bc9 | 2021-09-09 12:58:07 | [diff] [blame] | 12 | CursorManagerTestApi::CursorManagerTestApi() = default; |
mazda@chromium.org | 44e64a6 | 2012-09-21 04:21:11 | [diff] [blame] | 13 | |
Chris Watkins | c24daf6 | 2017-11-28 03:43:09 | [diff] [blame] | 14 | CursorManagerTestApi::~CursorManagerTestApi() = default; |
mazda@chromium.org | 44e64a6 | 2012-09-21 04:21:11 | [diff] [blame] | 15 | |
oshima | f84b0da72 | 2016-04-27 19:47:19 | [diff] [blame] | 16 | display::Display::Rotation CursorManagerTestApi::GetCurrentCursorRotation() |
| 17 | const { |
Jun Mukai | 4498638 | 2019-05-14 18:19:20 | [diff] [blame] | 18 | return ShellTestApi().native_cursor_manager_ash()->GetRotation(); |
oshima@chromium.org | 9ad32ee6 | 2014-04-23 22:00:25 | [diff] [blame] | 19 | } |
| 20 | |
mazda@chromium.org | 44e64a6 | 2012-09-21 04:21:11 | [diff] [blame] | 21 | } // namespace ash |