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.
5 #ifndef ASH_TEST_SHELL_TEST_API_H_
6 #define ASH_TEST_SHELL_TEST_API_H_
8 #include "base/basictypes.h"
11 class InputMethodEventFilter
;
15 class AppListController
;
16 class AshNativeCursorManager
;
17 class DragDropController
;
18 class MaximizeModeWindowManager
;
19 class RootWindowLayoutManager
;
20 class SessionStateDelegate
;
21 class ScreenPositionController
;
25 class SystemGestureEventFilter
;
26 class WorkspaceController
;
30 // Accesses private data from a Shell for testing.
33 explicit ShellTestApi(Shell
* shell
);
35 RootWindowLayoutManager
* root_window_layout();
36 ::wm::InputMethodEventFilter
* input_method_event_filter();
37 SystemGestureEventFilter
* system_gesture_event_filter();
38 WorkspaceController
* workspace_controller();
39 ScreenPositionController
* screen_position_controller();
40 AshNativeCursorManager
* ash_native_cursor_manager();
41 ShelfModel
* shelf_model();
42 DragDropController
* drag_drop_controller();
43 AppListController
* app_list_controller();
44 MaximizeModeWindowManager
* maximize_mode_window_manager();
45 void DisableDisplayConfiguratorAnimation();
48 void SetShelfDelegate(ShelfDelegate
* delegate
);
50 // Set SessionStateDelegate.
51 void SetSessionStateDelegate(SessionStateDelegate
* session_state_delegate
);
54 Shell
* shell_
; // not owned
56 DISALLOW_COPY_AND_ASSIGN(ShellTestApi
);
62 #endif // ASH_TEST_SHELL_TEST_API_H_