| 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 "base/logging.h" | 5 #include "base/logging.h" |
| 6 #include "base/time/time.h" | 6 #include "base/time/time.h" |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 #include "ui/events/event_utils.h" | 8 #include "ui/events/event_utils.h" |
| 9 #include "ui/events/keycodes/dom3/dom_code.h" | 9 #include "ui/events/keycodes/dom3/dom_code.h" |
| 10 #include "ui/gfx/geometry/point.h" | 10 #include "ui/gfx/geometry/point.h" |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 float GetTouchRadiusY(const base::NativeEvent& native_event) { | 91 float GetTouchRadiusY(const base::NativeEvent& native_event) { |
| 92 NOTIMPLEMENTED(); | 92 NOTIMPLEMENTED(); |
| 93 return 0.f; | 93 return 0.f; |
| 94 } | 94 } |
| 95 | 95 |
| 96 float GetTouchAngle(const base::NativeEvent& native_event) { | 96 float GetTouchAngle(const base::NativeEvent& native_event) { |
| 97 NOTIMPLEMENTED(); | 97 NOTIMPLEMENTED(); |
| 98 return 0.f; | 98 return 0.f; |
| 99 } | 99 } |
| 100 | 100 |
| 101 float GetTouchTilt(const base::NativeEvent& native_event) { |
| 102 NOTIMPLEMENTED(); |
| 103 return std::numeric_limits<float>::quiet_NaN(); |
| 104 } |
| 105 |
| 106 float GetTouchTiltDirection(const base::NativeEvent& native_event) { |
| 107 NOTIMPLEMENTED(); |
| 108 return std::numeric_limits<float>::quiet_NaN(); |
| 109 } |
| 110 |
| 101 float GetTouchForce(const base::NativeEvent& native_event) { | 111 float GetTouchForce(const base::NativeEvent& native_event) { |
| 102 NOTIMPLEMENTED(); | 112 NOTIMPLEMENTED(); |
| 103 return 0.f; | 113 return 0.f; |
| 104 } | 114 } |
| 105 | 115 |
| 106 bool GetScrollOffsets(const base::NativeEvent& native_event, | 116 bool GetScrollOffsets(const base::NativeEvent& native_event, |
| 107 float* x_offset, | 117 float* x_offset, |
| 108 float* y_offset, | 118 float* y_offset, |
| 109 float* x_offset_ordinal, | 119 float* x_offset_ordinal, |
| 110 float* y_offset_ordinal, | 120 float* y_offset_ordinal, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 return 0; | 163 return 0; |
| 154 } | 164 } |
| 155 | 165 |
| 156 uint16 UnmodifiedTextFromNative(const base::NativeEvent& native_event) { | 166 uint16 UnmodifiedTextFromNative(const base::NativeEvent& native_event) { |
| 157 NOTIMPLEMENTED(); | 167 NOTIMPLEMENTED(); |
| 158 return 0; | 168 return 0; |
| 159 } | 169 } |
| 160 | 170 |
| 161 | 171 |
| 162 } // namespace ui | 172 } // namespace ui |
| OLD | NEW |