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

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

Issue 2729363002: chromeos: Move files in //ash/common to //ash, part 3 (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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/wm_toplevel_window_event_handler.h" 5 #include "ash/wm/wm_toplevel_window_event_handler.h"
6 6
7 #include "ash/common/wm_shell.h"
8 #include "ash/common/wm_window.h"
9 #include "ash/wm/window_resizer.h" 7 #include "ash/wm/window_resizer.h"
10 #include "ash/wm/window_state.h" 8 #include "ash/wm/window_state.h"
11 #include "ash/wm/window_state_observer.h" 9 #include "ash/wm/window_state_observer.h"
12 #include "ash/wm/wm_event.h" 10 #include "ash/wm/wm_event.h"
11 #include "ash/wm_shell.h"
12 #include "ash/wm_window.h"
13 #include "ui/aura/window.h" 13 #include "ui/aura/window.h"
14 #include "ui/aura/window_observer.h" 14 #include "ui/aura/window_observer.h"
15 #include "ui/base/hit_test.h" 15 #include "ui/base/hit_test.h"
16 #include "ui/events/event.h" 16 #include "ui/events/event.h"
17 17
18 namespace { 18 namespace {
19 const double kMinHorizVelocityForWindowSwipe = 1100; 19 const double kMinHorizVelocityForWindowSwipe = 1100;
20 const double kMinVertVelocityForWindowMinimize = 1000; 20 const double kMinVertVelocityForWindowMinimize = 1000;
21 } 21 }
22 22
(...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 void WmToplevelWindowEventHandler::ResizerWindowDestroyed() { 541 void WmToplevelWindowEventHandler::ResizerWindowDestroyed() {
542 CompleteDrag(DragResult::WINDOW_DESTROYED); 542 CompleteDrag(DragResult::WINDOW_DESTROYED);
543 } 543 }
544 544
545 void WmToplevelWindowEventHandler::OnDisplayConfigurationChanging() { 545 void WmToplevelWindowEventHandler::OnDisplayConfigurationChanging() {
546 CompleteDrag(DragResult::REVERT); 546 CompleteDrag(DragResult::REVERT);
547 } 547 }
548 548
549 } // namespace wm 549 } // namespace wm
550 } // namespace ash 550 } // namespace ash
OLDNEW
« no previous file with comments | « ash/wm/wm_toplevel_window_event_handler.h ('k') | ash/wm/workspace/multi_window_resize_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698