| OLD | NEW |
| 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 "ui/events/gesture_detection/gesture_config_helper.h" | 5 #include "ui/events/gesture_detection/gesture_config_helper.h" |
| 6 | 6 |
| 7 #include "ui/gfx/android/view_configuration.h" | 7 #include "ui/gfx/android/view_configuration.h" |
| 8 #include "ui/gfx/screen.h" | 8 #include "ui/gfx/screen.h" |
| 9 | 9 |
| 10 using gfx::ViewConfiguration; | 10 using gfx::ViewConfiguration; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 config.device_scale_factor = display.device_scale_factor(); | 58 config.device_scale_factor = display.device_scale_factor(); |
| 59 | 59 |
| 60 return config; | 60 return config; |
| 61 } | 61 } |
| 62 | 62 |
| 63 GestureProvider::Config DefaultGestureProviderConfig() { | 63 GestureProvider::Config DefaultGestureProviderConfig() { |
| 64 GestureProvider::Config config; | 64 GestureProvider::Config config; |
| 65 config.gesture_detector_config = DefaultGestureDetectorConfig(); | 65 config.gesture_detector_config = DefaultGestureDetectorConfig(); |
| 66 config.scale_gesture_detector_config = DefaultScaleGestureDetectorConfig(); | 66 config.scale_gesture_detector_config = DefaultScaleGestureDetectorConfig(); |
| 67 config.snap_scroll_controller_config = DefaultSnapScrollControllerConfig(); | 67 config.snap_scroll_controller_config = DefaultSnapScrollControllerConfig(); |
| 68 config.send_aura_specific_gestures = false; |
| 68 return config; | 69 return config; |
| 69 } | 70 } |
| 70 | 71 |
| 71 } // namespace ui | 72 } // namespace ui |
| OLD | NEW |