Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(216)

Side by Side Diff: ash/wm/immersive_fullscreen_controller_unittest.cc

Issue 174803002: Move root_window.* to window_event_dispatcher.* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/wm/immersive_fullscreen_controller.cc ('k') | ash/wm/lock_state_controller.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/display/display_manager.h" 7 #include "ash/display/display_manager.h"
8 #include "ash/root_window_controller.h" 8 #include "ash/root_window_controller.h"
9 #include "ash/shelf/shelf_layout_manager.h" 9 #include "ash/shelf/shelf_layout_manager.h"
10 #include "ash/shelf/shelf_types.h" 10 #include "ash/shelf/shelf_types.h"
11 #include "ash/shell.h" 11 #include "ash/shell.h"
12 #include "ash/test/ash_test_base.h" 12 #include "ash/test/ash_test_base.h"
13 #include "ui/aura/client/aura_constants.h" 13 #include "ui/aura/client/aura_constants.h"
14 #include "ui/aura/client/cursor_client.h" 14 #include "ui/aura/client/cursor_client.h"
15 #include "ui/aura/env.h" 15 #include "ui/aura/env.h"
16 #include "ui/aura/root_window.h"
17 #include "ui/aura/test/event_generator.h" 16 #include "ui/aura/test/event_generator.h"
18 #include "ui/aura/test/test_event_handler.h" 17 #include "ui/aura/test/test_event_handler.h"
19 #include "ui/aura/test/test_window_delegate.h" 18 #include "ui/aura/test/test_window_delegate.h"
20 #include "ui/aura/window.h" 19 #include "ui/aura/window.h"
20 #include "ui/aura/window_event_dispatcher.h"
21 #include "ui/events/event_utils.h" 21 #include "ui/events/event_utils.h"
22 #include "ui/gfx/animation/slide_animation.h" 22 #include "ui/gfx/animation/slide_animation.h"
23 #include "ui/views/bubble/bubble_delegate.h" 23 #include "ui/views/bubble/bubble_delegate.h"
24 #include "ui/views/controls/native/native_view_host.h" 24 #include "ui/views/controls/native/native_view_host.h"
25 #include "ui/views/view.h" 25 #include "ui/views/view.h"
26 #include "ui/views/widget/widget.h" 26 #include "ui/views/widget/widget.h"
27 27
28 // For now, immersive fullscreen is Chrome OS only. 28 // For now, immersive fullscreen is Chrome OS only.
29 #if defined(OS_CHROMEOS) 29 #if defined(OS_CHROMEOS)
30 30
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after
1049 // Disabling immersive fullscreen maintains the user's auto-hide selection. 1049 // Disabling immersive fullscreen maintains the user's auto-hide selection.
1050 SetEnabled(false); 1050 SetEnabled(false);
1051 window()->SetProperty(aura::client::kShowStateKey, 1051 window()->SetProperty(aura::client::kShowStateKey,
1052 ui::SHOW_STATE_NORMAL); 1052 ui::SHOW_STATE_NORMAL);
1053 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state()); 1053 EXPECT_EQ(ash::SHELF_AUTO_HIDE, shelf->visibility_state());
1054 } 1054 }
1055 1055
1056 } // namespase ash 1056 } // namespase ash
1057 1057
1058 #endif // defined(OS_CHROMEOS) 1058 #endif // defined(OS_CHROMEOS)
OLDNEW
« no previous file with comments | « ash/wm/immersive_fullscreen_controller.cc ('k') | ash/wm/lock_state_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698