blob: 8d7a4cf222efbef991df5c49edf9c66e54fec60f [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
5#ifndef ASH_TEST_SHELL_TEST_API_H_
6#define ASH_TEST_SHELL_TEST_API_H_
7
avidb567a8a2015-12-20 17:07:248#include "base/macros.h"
[email protected]0c68e892012-12-08 16:54:539
mfomitchev493ed602016-04-09 00:48:3910namespace app_list {
mfomitchevda899d82016-04-15 22:20:3711class AppListPresenter;
mfomitchev493ed602016-04-09 00:48:3912}
13
[email protected]0c68e892012-12-08 16:54:5314namespace ash {
[email protected]093b8d642014-04-03 20:59:2815class AshNativeCursorManager;
[email protected]c086bab2013-06-06 21:46:4416class DragDropController;
[email protected]e55b73452014-02-20 13:18:0417class MaximizeModeWindowManager;
[email protected]7570bba2014-08-08 08:04:4718class SessionStateDelegate;
[email protected]0c68e892012-12-08 16:54:5319class ScreenPositionController;
[email protected]093b8d642014-04-03 20:59:2820class ShelfDelegate;
21class ShelfModel;
22class Shell;
[email protected]0c68e892012-12-08 16:54:5323class SystemGestureEventFilter;
24class WorkspaceController;
[email protected]0c68e892012-12-08 16:54:5325
26namespace test {
27
28// Accesses private data from a Shell for testing.
29class ShellTestApi {
jamescookb8dcef522016-06-25 14:42:5530 public:
[email protected]0c68e892012-12-08 16:54:5331 explicit ShellTestApi(Shell* shell);
32
[email protected]093b8d642014-04-03 20:59:2833 SystemGestureEventFilter* system_gesture_event_filter();
34 WorkspaceController* workspace_controller();
35 ScreenPositionController* screen_position_controller();
[email protected]c0ff0342013-02-27 00:41:2936 AshNativeCursorManager* ash_native_cursor_manager();
[email protected]64936bf2013-11-14 19:48:3637 ShelfModel* shelf_model();
[email protected]093b8d642014-04-03 20:59:2838 DragDropController* drag_drop_controller();
mfomitchevda899d82016-04-15 22:20:3739 app_list::AppListPresenter* app_list_presenter();
[email protected]093b8d642014-04-03 20:59:2840 MaximizeModeWindowManager* maximize_mode_window_manager();
stevenjbf402ac52016-01-16 00:30:4941 void DisableDisplayAnimator();
[email protected]945ece962013-03-21 06:42:3942
[email protected]8b57e942013-12-09 19:39:2043 // Set ShelfDelegate.
44 void SetShelfDelegate(ShelfDelegate* delegate);
[email protected]341f9e12013-11-09 04:10:3045
[email protected]7570bba2014-08-08 08:04:4746 // Set SessionStateDelegate.
47 void SetSessionStateDelegate(SessionStateDelegate* session_state_delegate);
48
[email protected]0c68e892012-12-08 16:54:5349 private:
50 Shell* shell_; // not owned
51
52 DISALLOW_COPY_AND_ASSIGN(ShellTestApi);
53};
54
55} // namespace test
56} // namespace ash
57
58#endif // ASH_TEST_SHELL_TEST_API_H_