blob: a3418f41998373f282eaec85984d540cc0f50e73 [file] [log] [blame]
[email protected]0c68e892012-12-08 16:54:531// 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 Cook346c8c62017-07-18 19:38:375#ifndef ASH_SHELL_TEST_API_H_
6#define ASH_SHELL_TEST_API_H_
[email protected]0c68e892012-12-08 16:54:537
sky07a24d42017-03-09 23:57:308#include <memory>
9
avidb567a8a2015-12-20 17:07:2410#include "base/macros.h"
[email protected]0c68e892012-12-08 16:54:5311
[email protected]0c68e892012-12-08 16:54:5312namespace ash {
erg36cfb952017-06-21 19:41:4513class NativeCursorManagerAsh;
[email protected]c086bab2013-06-06 21:46:4414class DragDropController;
oshima341337af2017-05-26 23:34:2315class MaximizeModeWindowManager;
sky07a24d42017-03-09 23:57:3016class PaletteDelegate;
[email protected]0c68e892012-12-08 16:54:5317class ScreenPositionController;
[email protected]093b8d642014-04-03 20:59:2818class Shell;
[email protected]0c68e892012-12-08 16:54:5319class SystemGestureEventFilter;
20class WorkspaceController;
[email protected]0c68e892012-12-08 16:54:5321
[email protected]0c68e892012-12-08 16:54:5322// Accesses private data from a Shell for testing.
23class ShellTestApi {
jamescookb8dcef522016-06-25 14:42:5524 public:
sky07a24d42017-03-09 23:57:3025 ShellTestApi();
[email protected]0c68e892012-12-08 16:54:5326 explicit ShellTestApi(Shell* shell);
27
[email protected]093b8d642014-04-03 20:59:2828 SystemGestureEventFilter* system_gesture_event_filter();
29 WorkspaceController* workspace_controller();
30 ScreenPositionController* screen_position_controller();
erg36cfb952017-06-21 19:41:4531 NativeCursorManagerAsh* native_cursor_manager_ash();
[email protected]093b8d642014-04-03 20:59:2832 DragDropController* drag_drop_controller();
oshima341337af2017-05-26 23:34:2333 MaximizeModeWindowManager* maximize_mode_window_manager();
[email protected]945ece962013-03-21 06:42:3934
sky07a24d42017-03-09 23:57:3035 void SetPaletteDelegate(std::unique_ptr<PaletteDelegate> palette_delegate);
[email protected]7570bba2014-08-08 08:04:4736
[email protected]0c68e892012-12-08 16:54:5337 private:
38 Shell* shell_; // not owned
39
40 DISALLOW_COPY_AND_ASSIGN(ShellTestApi);
41};
42
[email protected]0c68e892012-12-08 16:54:5343} // namespace ash
44
James Cook346c8c62017-07-18 19:38:3745#endif // ASH_SHELL_TEST_API_H_