cursor_manager_test_api.cc 653 B

12345678910111213141516171819202122
  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. #include "ash/wm/cursor_manager_test_api.h"
  5. #include "ash/public/cpp/test/shell_test_api.h"
  6. #include "ash/wm/native_cursor_manager_ash.h"
  7. #include "ui/display/display.h"
  8. namespace ash {
  9. CursorManagerTestApi::CursorManagerTestApi() = default;
  10. CursorManagerTestApi::~CursorManagerTestApi() = default;
  11. display::Display::Rotation CursorManagerTestApi::GetCurrentCursorRotation()
  12. const {
  13. return ShellTestApi().native_cursor_manager_ash()->GetRotation();
  14. }
  15. } // namespace ash