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

Side by Side Diff: ash/system/overview/overview_button_tray_unittest.cc

Issue 2736573002: chromeos: Move files in //ash/common to //ash, part 2 (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « ash/system/overview/overview_button_tray.cc ('k') | ash/system/palette/common_palette_tool.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/system/overview/overview_button_tray.h" 5 #include "ash/system/overview/overview_button_tray.h"
6 6
7 #include "ash/common/login_status.h" 7 #include "ash/login_status.h"
8 #include "ash/common/test/test_session_state_delegate.h"
9 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
10 #include "ash/common/wm/overview/window_selector_controller.h"
11 #include "ash/common/wm_shell.h"
12 #include "ash/public/cpp/shelf_types.h" 8 #include "ash/public/cpp/shelf_types.h"
13 #include "ash/root_window_controller.h" 9 #include "ash/root_window_controller.h"
14 #include "ash/rotator/screen_rotation_animator.h" 10 #include "ash/rotator/screen_rotation_animator.h"
15 #include "ash/system/status_area_widget.h" 11 #include "ash/system/status_area_widget.h"
16 #include "ash/test/ash_test_base.h" 12 #include "ash/test/ash_test_base.h"
17 #include "ash/test/ash_test_helper.h" 13 #include "ash/test/ash_test_helper.h"
18 #include "ash/test/status_area_widget_test_helper.h" 14 #include "ash/test/status_area_widget_test_helper.h"
15 #include "ash/test/test_session_state_delegate.h"
16 #include "ash/wm/maximize_mode/maximize_mode_controller.h"
17 #include "ash/wm/overview/window_selector_controller.h"
18 #include "ash/wm_shell.h"
19 #include "base/command_line.h" 19 #include "base/command_line.h"
20 #include "base/test/user_action_tester.h" 20 #include "base/test/user_action_tester.h"
21 #include "base/time/time.h" 21 #include "base/time/time.h"
22 #include "ui/aura/client/aura_constants.h" 22 #include "ui/aura/client/aura_constants.h"
23 #include "ui/aura/window.h" 23 #include "ui/aura/window.h"
24 #include "ui/compositor/scoped_animation_duration_scale_mode.h" 24 #include "ui/compositor/scoped_animation_duration_scale_mode.h"
25 #include "ui/display/display_switches.h" 25 #include "ui/display/display_switches.h"
26 #include "ui/display/manager/display_manager.h" 26 #include "ui/display/manager/display_manager.h"
27 #include "ui/events/event.h" 27 #include "ui/events/event.h"
28 #include "ui/events/event_constants.h" 28 #include "ui/events/event_constants.h"
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 ASSERT_TRUE(WmShell::Get()->IsSystemModalWindowOpen()); 253 ASSERT_TRUE(WmShell::Get()->IsSystemModalWindowOpen());
254 WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager( 254 WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
255 true); 255 true);
256 EXPECT_TRUE(GetTray()->visible()); 256 EXPECT_TRUE(GetTray()->visible());
257 WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager( 257 WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
258 false); 258 false);
259 EXPECT_FALSE(GetTray()->visible()); 259 EXPECT_FALSE(GetTray()->visible());
260 } 260 }
261 261
262 } // namespace ash 262 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/overview/overview_button_tray.cc ('k') | ash/system/palette/common_palette_tool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698