workspace_controller_test_api.h 933 B

1234567891011121314151617181920212223242526272829303132333435
  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_WORKSPACE_CONTROLLER_TEST_API_H_
  5. #define ASH_WM_WORKSPACE_CONTROLLER_TEST_API_H_
  6. #include "ash/ash_export.h"
  7. namespace aura {
  8. class Window;
  9. }
  10. namespace ash {
  11. class WorkspaceController;
  12. class WorkspaceEventHandler;
  13. class ASH_EXPORT WorkspaceControllerTestApi {
  14. public:
  15. explicit WorkspaceControllerTestApi(WorkspaceController* controller);
  16. WorkspaceControllerTestApi(const WorkspaceControllerTestApi&) = delete;
  17. WorkspaceControllerTestApi& operator=(const WorkspaceControllerTestApi&) =
  18. delete;
  19. ~WorkspaceControllerTestApi();
  20. WorkspaceEventHandler* GetEventHandler();
  21. aura::Window* GetBackdropWindow();
  22. private:
  23. WorkspaceController* controller_;
  24. };
  25. } // namespace ash
  26. #endif // ASH_WM_WORKSPACE_CONTROLLER_TEST_API_H_