mazda@chromium.org | 44e64a6 | 2012-09-21 04:21:11 | [diff] [blame] | 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 |
| 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" |
oshima | f84b0da72 | 2016-04-27 19:47:19 | [diff] [blame] | 9 | #include "ui/display/display.h" |
mazda@chromium.org | 44e64a6 | 2012-09-21 04:21:11 | [diff] [blame] | 10 | |
| 11 | namespace ash { |
mazda@chromium.org | 44e64a6 | 2012-09-21 04:21:11 | [diff] [blame] | 12 | |
Henrique Ferreiro | bde3bc9 | 2021-09-09 12:58:07 | [diff] [blame^] | 13 | CursorManagerTestApi::CursorManagerTestApi() = default; |
mazda@chromium.org | 44e64a6 | 2012-09-21 04:21:11 | [diff] [blame] | 14 | |
Chris Watkins | c24daf6 | 2017-11-28 03:43:09 | [diff] [blame] | 15 | CursorManagerTestApi::~CursorManagerTestApi() = default; |
mazda@chromium.org | 44e64a6 | 2012-09-21 04:21:11 | [diff] [blame] | 16 | |
oshima | f84b0da72 | 2016-04-27 19:47:19 | [diff] [blame] | 17 | display::Display::Rotation CursorManagerTestApi::GetCurrentCursorRotation() |
| 18 | const { |
Jun Mukai | 4498638 | 2019-05-14 18:19:20 | [diff] [blame] | 19 | return ShellTestApi().native_cursor_manager_ash()->GetRotation(); |
oshima@chromium.org | 9ad32ee6 | 2014-04-23 22:00:25 | [diff] [blame] | 20 | } |
| 21 | |
mazda@chromium.org | 44e64a6 | 2012-09-21 04:21:11 | [diff] [blame] | 22 | } // namespace ash |