cursor_manager_test_api.h 717 B

12345678910111213141516171819202122232425
  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. #ifndef ASH_WM_CURSOR_MANAGER_TEST_API_H_
  5. #define ASH_WM_CURSOR_MANAGER_TEST_API_H_
  6. #include "ui/display/display.h"
  7. namespace ash {
  8. // Use the api in this class to test CursorManager.
  9. class CursorManagerTestApi {
  10. public:
  11. CursorManagerTestApi();
  12. CursorManagerTestApi(const CursorManagerTestApi&) = delete;
  13. CursorManagerTestApi& operator=(const CursorManagerTestApi&) = delete;
  14. ~CursorManagerTestApi();
  15. display::Display::Rotation GetCurrentCursorRotation() const;
  16. };
  17. } // namespace ash
  18. #endif // ASH_WM_CURSOR_MANAGER_TEST_API_H_