OLD | NEW |
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/system_gesture_event_filter.h" | 5 #include "ash/wm/system_gesture_event_filter.h" |
6 | 6 |
7 #include "ash/ash_switches.h" | 7 #include "ash/common/ash_switches.h" |
8 #include "ash/metrics/user_metrics_recorder.h" | 8 #include "ash/metrics/user_metrics_recorder.h" |
9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
10 #include "ash/touch/touch_uma.h" | 10 #include "ash/touch/touch_uma.h" |
11 #include "ash/wm/gestures/overview_gesture_handler.h" | 11 #include "ash/wm/gestures/overview_gesture_handler.h" |
12 #include "ash/wm/gestures/shelf_gesture_handler.h" | 12 #include "ash/wm/gestures/shelf_gesture_handler.h" |
13 #include "ui/base/touch/touch_device.h" | 13 #include "ui/base/touch/touch_device.h" |
14 #include "ui/events/event.h" | 14 #include "ui/events/event.h" |
15 #include "ui/events/event_constants.h" | 15 #include "ui/events/event_constants.h" |
16 | 16 |
17 namespace ash { | 17 namespace ash { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 if (event->type() == ui::ET_GESTURE_WIN8_EDGE_SWIPE && | 52 if (event->type() == ui::ET_GESTURE_WIN8_EDGE_SWIPE && |
53 shelf_gesture_handler_->ProcessGestureEvent(*event, target)) { | 53 shelf_gesture_handler_->ProcessGestureEvent(*event, target)) { |
54 // Do not stop propagation, since the immersive fullscreen controller may | 54 // Do not stop propagation, since the immersive fullscreen controller may |
55 // need to handle this event. | 55 // need to handle this event. |
56 return; | 56 return; |
57 } | 57 } |
58 } | 58 } |
59 | 59 |
60 } // namespace ash | 60 } // namespace ash |
OLD | NEW |