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

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

Issue 802473003: Fix references to ui/gfx headers in a*/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 12 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 #include "ui/wm/core/coordinate_conversion.h" 18 #include "ui/wm/core/coordinate_conversion.h"
19 19
20 namespace ash { 20 namespace ash {
21 21
22 namespace { 22 namespace {
23 23
24 // The threshold of mouse movement measured in DIP that will 24 // The threshold of mouse movement measured in DIP that will
25 // initiate a new autoclick. 25 // initiate a new autoclick.
26 const int kMovementThreshold = 20; 26 const int kMovementThreshold = 20;
27 27
(...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
« no previous file with comments | « ash/accelerators/accelerator_filter_unittest.cc ('k') | ash/desktop_background/desktop_background_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698