| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 <stdint.h> | 5 #include <stdint.h> |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "base/time/time.h" | 8 #include "base/time/time.h" |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "ui/events/event_utils.h" | 10 #include "ui/events/event_utils.h" |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 /* force */ 0.f, | 96 /* force */ 0.f, |
| 97 /* tilt_x */ 0.f, | 97 /* tilt_x */ 0.f, |
| 98 /* tilt_y */ 0.f); | 98 /* tilt_y */ 0.f); |
| 99 } | 99 } |
| 100 | 100 |
| 101 bool GetScrollOffsets(const base::NativeEvent& native_event, | 101 bool GetScrollOffsets(const base::NativeEvent& native_event, |
| 102 float* x_offset, | 102 float* x_offset, |
| 103 float* y_offset, | 103 float* y_offset, |
| 104 float* x_offset_ordinal, | 104 float* x_offset_ordinal, |
| 105 float* y_offset_ordinal, | 105 float* y_offset_ordinal, |
| 106 int* finger_count) { | 106 int* finger_count, |
| 107 int* momentum_phase) { |
| 107 NOTIMPLEMENTED(); | 108 NOTIMPLEMENTED(); |
| 108 return false; | 109 return false; |
| 109 } | 110 } |
| 110 | 111 |
| 111 bool GetFlingData(const base::NativeEvent& native_event, | 112 bool GetFlingData(const base::NativeEvent& native_event, |
| 112 float* vx, | 113 float* vx, |
| 113 float* vy, | 114 float* vy, |
| 114 float* vx_ordinal, | 115 float* vx_ordinal, |
| 115 float* vy_ordinal, | 116 float* vy_ordinal, |
| 116 bool* is_cancel) { | 117 bool* is_cancel) { |
| (...skipping 26 matching lines...) Expand all Loading... |
| 143 return 0; | 144 return 0; |
| 144 } | 145 } |
| 145 | 146 |
| 146 uint16_t UnmodifiedTextFromNative(const base::NativeEvent& native_event) { | 147 uint16_t UnmodifiedTextFromNative(const base::NativeEvent& native_event) { |
| 147 NOTIMPLEMENTED(); | 148 NOTIMPLEMENTED(); |
| 148 return 0; | 149 return 0; |
| 149 } | 150 } |
| 150 | 151 |
| 151 | 152 |
| 152 } // namespace ui | 153 } // namespace ui |
| OLD | NEW |