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

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

Issue 2108223002: Moves handful of classes in ash/wm/maximize_mode to ash/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@maximize_mode_window_manager
Patch Set: remove extraneous Created 4 years, 5 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/wm/maximize_mode/DEPS ('k') | ash/wm/maximize_mode/maximize_mode_window_manager.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/wm/maximize_mode/maximize_mode_controller.h" 5 #include "ash/wm/maximize_mode/maximize_mode_controller.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/accelerators/accelerator_controller.h" 9 #include "ash/accelerators/accelerator_controller.h"
10 #include "ash/accelerators/accelerator_table.h" 10 #include "ash/accelerators/accelerator_table.h"
11 #include "ash/common/ash_switches.h" 11 #include "ash/common/ash_switches.h"
12 #include "ash/common/wm/maximize_mode/maximize_mode_window_manager.h"
12 #include "ash/common/wm_shell.h" 13 #include "ash/common/wm_shell.h"
13 #include "ash/display/display_manager.h" 14 #include "ash/display/display_manager.h"
14 #include "ash/shell.h" 15 #include "ash/shell.h"
15 #include "ash/wm/maximize_mode/maximize_mode_window_manager.h"
16 #include "ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard.h" 16 #include "ash/wm/maximize_mode/scoped_disable_internal_mouse_and_keyboard.h"
17 #include "base/command_line.h" 17 #include "base/command_line.h"
18 #include "base/metrics/histogram.h" 18 #include "base/metrics/histogram.h"
19 #include "base/time/default_tick_clock.h" 19 #include "base/time/default_tick_clock.h"
20 #include "base/time/tick_clock.h" 20 #include "base/time/tick_clock.h"
21 #include "ui/base/accelerators/accelerator.h" 21 #include "ui/base/accelerators/accelerator.h"
22 #include "ui/display/display.h" 22 #include "ui/display/display.h"
23 #include "ui/events/event.h" 23 #include "ui/events/event.h"
24 #include "ui/events/keycodes/keyboard_codes.h" 24 #include "ui/events/keycodes/keyboard_codes.h"
25 #include "ui/gfx/geometry/vector3d_f.h" 25 #include "ui/gfx/geometry/vector3d_f.h"
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 return elapsed_time.InSeconds() <= kLidRecentlyOpenedDurationSeconds; 432 return elapsed_time.InSeconds() <= kLidRecentlyOpenedDurationSeconds;
433 } 433 }
434 434
435 void MaximizeModeController::SetTickClockForTest( 435 void MaximizeModeController::SetTickClockForTest(
436 std::unique_ptr<base::TickClock> tick_clock) { 436 std::unique_ptr<base::TickClock> tick_clock) {
437 DCHECK(tick_clock_); 437 DCHECK(tick_clock_);
438 tick_clock_ = std::move(tick_clock); 438 tick_clock_ = std::move(tick_clock);
439 } 439 }
440 440
441 } // namespace ash 441 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/maximize_mode/DEPS ('k') | ash/wm/maximize_mode/maximize_mode_window_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698