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

Side by Side Diff: ash/system/rotation/tray_rotation_lock_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/rotation/tray_rotation_lock.cc ('k') | ash/system/screen_layout_observer.h » ('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/rotation/tray_rotation_lock.h" 5 #include "ash/system/rotation/tray_rotation_lock.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "ash/common/wm/maximize_mode/maximize_mode_controller.h"
10 #include "ash/common/wm_shell.h"
11 #include "ash/display/screen_orientation_controller_chromeos.h" 9 #include "ash/display/screen_orientation_controller_chromeos.h"
12 #include "ash/root_window_controller.h" 10 #include "ash/root_window_controller.h"
13 #include "ash/shell.h" 11 #include "ash/shell.h"
14 #include "ash/system/status_area_widget.h" 12 #include "ash/system/status_area_widget.h"
15 #include "ash/system/tray/system_tray.h" 13 #include "ash/system/tray/system_tray.h"
16 #include "ash/system/tray/system_tray_delegate.h" 14 #include "ash/system/tray/system_tray_delegate.h"
17 #include "ash/test/ash_test_base.h" 15 #include "ash/test/ash_test_base.h"
18 #include "ash/test/status_area_widget_test_helper.h" 16 #include "ash/test/status_area_widget_test_helper.h"
17 #include "ash/wm/maximize_mode/maximize_mode_controller.h"
18 #include "ash/wm_shell.h"
19 #include "base/command_line.h" 19 #include "base/command_line.h"
20 #include "base/time/time.h" 20 #include "base/time/time.h"
21 #include "ui/display/display_switches.h" 21 #include "ui/display/display_switches.h"
22 #include "ui/display/manager/display_manager.h" 22 #include "ui/display/manager/display_manager.h"
23 #include "ui/display/types/display_constants.h" 23 #include "ui/display/types/display_constants.h"
24 #include "ui/events/event.h" 24 #include "ui/events/event.h"
25 #include "ui/events/event_constants.h" 25 #include "ui/events/event_constants.h"
26 #include "ui/views/view.h" 26 #include "ui/views/view.h"
27 27
28 namespace ash { 28 namespace ash {
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager( 258 WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
259 true); 259 true);
260 DestroyTrayView(); 260 DestroyTrayView();
261 Shell::GetInstance()->screen_orientation_controller()->SetRotationLocked( 261 Shell::GetInstance()->screen_orientation_controller()->SetRotationLocked(
262 true); 262 true);
263 WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager( 263 WmShell::Get()->maximize_mode_controller()->EnableMaximizeModeWindowManager(
264 false); 264 false);
265 } 265 }
266 266
267 } // namespace ash 267 } // namespace ash
OLDNEW
« no previous file with comments | « ash/system/rotation/tray_rotation_lock.cc ('k') | ash/system/screen_layout_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698