OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "ash/wm/immersive_fullscreen_controller.h" | 5 #include "ash/wm/immersive_fullscreen_controller.h" |
6 | 6 |
| 7 #include "ash/common/wm/window_state.h" |
7 #include "ash/display/display_manager.h" | 8 #include "ash/display/display_manager.h" |
8 #include "ash/display/mouse_cursor_event_filter.h" | 9 #include "ash/display/mouse_cursor_event_filter.h" |
9 #include "ash/root_window_controller.h" | 10 #include "ash/root_window_controller.h" |
10 #include "ash/shelf/shelf_layout_manager.h" | 11 #include "ash/shelf/shelf_layout_manager.h" |
11 #include "ash/shelf/shelf_types.h" | 12 #include "ash/shelf/shelf_types.h" |
12 #include "ash/shell.h" | 13 #include "ash/shell.h" |
13 #include "ash/test/ash_test_base.h" | 14 #include "ash/test/ash_test_base.h" |
14 #include "ash/test/display_manager_test_api.h" | 15 #include "ash/test/display_manager_test_api.h" |
15 #include "ash/wm/common/window_state.h" | |
16 #include "ash/wm/window_state_aura.h" | 16 #include "ash/wm/window_state_aura.h" |
17 #include "ui/aura/client/aura_constants.h" | 17 #include "ui/aura/client/aura_constants.h" |
18 #include "ui/aura/client/cursor_client.h" | 18 #include "ui/aura/client/cursor_client.h" |
19 #include "ui/aura/env.h" | 19 #include "ui/aura/env.h" |
20 #include "ui/aura/test/test_window_delegate.h" | 20 #include "ui/aura/test/test_window_delegate.h" |
21 #include "ui/aura/window.h" | 21 #include "ui/aura/window.h" |
22 #include "ui/aura/window_event_dispatcher.h" | 22 #include "ui/aura/window_event_dispatcher.h" |
23 #include "ui/display/manager/display_layout.h" | 23 #include "ui/display/manager/display_layout.h" |
24 #include "ui/events/event_utils.h" | 24 #include "ui/events/event_utils.h" |
25 #include "ui/events/test/event_generator.h" | 25 #include "ui/events/test/event_generator.h" |
(...skipping 1038 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1064 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state()); | 1064 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state()); |
1065 | 1065 |
1066 // Disabling immersive fullscreen maintains the user's auto-hide selection. | 1066 // Disabling immersive fullscreen maintains the user's auto-hide selection. |
1067 SetEnabled(false); | 1067 SetEnabled(false); |
1068 window()->SetProperty(aura::client::kShowStateKey, | 1068 window()->SetProperty(aura::client::kShowStateKey, |
1069 ui::SHOW_STATE_NORMAL); | 1069 ui::SHOW_STATE_NORMAL); |
1070 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state()); | 1070 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state()); |
1071 } | 1071 } |
1072 | 1072 |
1073 } // namespase ash | 1073 } // namespase ash |
OLD | NEW |