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

Side by Side Diff: ash/wm/maximize_mode/maximize_mode_controller_unittest.cc

Issue 2732813002: chromeos: Move files in //ash/common to //ash, part 1 (Closed)
Patch Set: rebase 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
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/common/wm/maximize_mode/maximize_mode_controller.h" 5 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
6 6
7 #include <math.h> 7 #include <math.h>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "ash/common/ash_switches.h" 11 #include "ash/common/ash_switches.h"
12 #include "ash/common/system/tray/system_tray_delegate.h"
13 #include "ash/common/test/test_system_tray_delegate.h" 12 #include "ash/common/test/test_system_tray_delegate.h"
14 #include "ash/common/wm/overview/window_selector_controller.h" 13 #include "ash/common/wm/overview/window_selector_controller.h"
15 #include "ash/common/wm_shell.h" 14 #include "ash/common/wm_shell.h"
16 #include "ash/shell.h" 15 #include "ash/shell.h"
16 #include "ash/system/tray/system_tray_delegate.h"
17 #include "ash/test/ash_test_base.h" 17 #include "ash/test/ash_test_base.h"
18 #include "base/command_line.h" 18 #include "base/command_line.h"
19 #include "base/test/simple_test_tick_clock.h" 19 #include "base/test/simple_test_tick_clock.h"
20 #include "base/test/user_action_tester.h" 20 #include "base/test/user_action_tester.h"
21 #include "chromeos/accelerometer/accelerometer_reader.h" 21 #include "chromeos/accelerometer/accelerometer_reader.h"
22 #include "chromeos/accelerometer/accelerometer_types.h" 22 #include "chromeos/accelerometer/accelerometer_types.h"
23 #include "ui/display/manager/display_manager.h" 23 #include "ui/display/manager/display_manager.h"
24 #include "ui/display/test/display_manager_test_api.h" 24 #include "ui/display/test/display_manager_test_api.h"
25 #include "ui/events/event_handler.h" 25 #include "ui/events/event_handler.h"
26 #include "ui/events/test/event_generator.h" 26 #include "ui/events/test/event_generator.h"
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 kAccelerometerVerticalHingeUnstableAnglesTestData[i * 6 + 4], 561 kAccelerometerVerticalHingeUnstableAnglesTestData[i * 6 + 4],
562 kAccelerometerVerticalHingeUnstableAnglesTestData[i * 6 + 5]); 562 kAccelerometerVerticalHingeUnstableAnglesTestData[i * 6 + 5]);
563 TriggerBaseAndLidUpdate(base, lid); 563 TriggerBaseAndLidUpdate(base, lid);
564 // There are a lot of samples, so ASSERT rather than EXPECT to only generate 564 // There are a lot of samples, so ASSERT rather than EXPECT to only generate
565 // one failure rather than potentially hundreds. 565 // one failure rather than potentially hundreds.
566 ASSERT_TRUE(IsMaximizeModeStarted()); 566 ASSERT_TRUE(IsMaximizeModeStarted());
567 } 567 }
568 } 568 }
569 569
570 } // namespace ash 570 } // namespace ash
OLDNEW
« no previous file with comments | « ash/virtual_keyboard_controller_unittest.cc ('k') | ash/wm/overview/window_selector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698