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

Side by Side Diff: ash/autoclick/autoclick_controller.cc

Issue 392013005: [#1] Delete reduntdant 19 header files in ui/gfx (8 of 19 by this) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted includes Created 6 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/autoclick/autoclick_controller.h" 5 #include "ash/autoclick/autoclick_controller.h"
6 6
7 #include "ash/shell.h" 7 #include "ash/shell.h"
8 #include "ash/wm/coordinate_conversion.h" 8 #include "ash/wm/coordinate_conversion.h"
9 #include "base/timer/timer.h" 9 #include "base/timer/timer.h"
10 #include "ui/aura/env.h" 10 #include "ui/aura/env.h"
11 #include "ui/aura/window_tree_host.h" 11 #include "ui/aura/window_tree_host.h"
12 #include "ui/events/event.h" 12 #include "ui/events/event.h"
13 #include "ui/events/event_constants.h" 13 #include "ui/events/event_constants.h"
14 #include "ui/events/event_handler.h" 14 #include "ui/events/event_handler.h"
15 #include "ui/events/event_processor.h" 15 #include "ui/events/event_processor.h"
16 #include "ui/gfx/point.h" 16 #include "ui/gfx/geometry/point.h"
17 #include "ui/gfx/vector2d.h" 17 #include "ui/gfx/geometry/vector2d.h"
18 18
19 namespace ash { 19 namespace ash {
20 20
21 namespace { 21 namespace {
22 22
23 // The threshold of mouse movement measured in DIP that will 23 // The threshold of mouse movement measured in DIP that will
24 // initiate a new autoclick. 24 // initiate a new autoclick.
25 const int kMovementThreshold = 20; 25 const int kMovementThreshold = 20;
26 26
27 bool IsModifierKey(ui::KeyboardCode key_code) { 27 bool IsModifierKey(ui::KeyboardCode key_code) {
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 if (details.dispatcher_destroyed) 208 if (details.dispatcher_destroyed)
209 return; 209 return;
210 } 210 }
211 211
212 // static. 212 // static.
213 AutoclickController* AutoclickController::CreateInstance() { 213 AutoclickController* AutoclickController::CreateInstance() {
214 return new AutoclickControllerImpl(); 214 return new AutoclickControllerImpl();
215 } 215 }
216 216
217 } // namespace ash 217 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698