| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 float GetTouchRadiusY(const base::NativeEvent& native_event) { | 87 float GetTouchRadiusY(const base::NativeEvent& native_event) { |
| 88 NOTIMPLEMENTED(); | 88 NOTIMPLEMENTED(); |
| 89 return 0.f; | 89 return 0.f; |
| 90 } | 90 } |
| 91 | 91 |
| 92 float GetTouchAngle(const base::NativeEvent& native_event) { | 92 float GetTouchAngle(const base::NativeEvent& native_event) { |
| 93 NOTIMPLEMENTED(); | 93 NOTIMPLEMENTED(); |
| 94 return 0.f; | 94 return 0.f; |
| 95 } | 95 } |
| 96 | 96 |
| 97 float GetTouchTilt(const base::NativeEvent& native_event) { |
| 98 NOTIMPLEMENTED(); |
| 99 return std::numeric_limits<float>::quiet_NaN(); |
| 100 } |
| 101 |
| 102 float GetTouchTiltDirection(const base::NativeEvent& native_event) { |
| 103 NOTIMPLEMENTED(); |
| 104 return std::numeric_limits<float>::quiet_NaN(); |
| 105 } |
| 106 |
| 97 float GetTouchForce(const base::NativeEvent& native_event) { | 107 float GetTouchForce(const base::NativeEvent& native_event) { |
| 98 NOTIMPLEMENTED(); | 108 NOTIMPLEMENTED(); |
| 99 return 0.f; | 109 return 0.f; |
| 100 } | 110 } |
| 101 | 111 |
| 102 bool GetScrollOffsets(const base::NativeEvent& native_event, | 112 bool GetScrollOffsets(const base::NativeEvent& native_event, |
| 103 float* x_offset, | 113 float* x_offset, |
| 104 float* y_offset, | 114 float* y_offset, |
| 105 float* x_offset_ordinal, | 115 float* x_offset_ordinal, |
| 106 float* y_offset_ordinal, | 116 float* y_offset_ordinal, |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 return 0; | 159 return 0; |
| 150 } | 160 } |
| 151 | 161 |
| 152 uint16 UnmodifiedTextFromNative(const base::NativeEvent& native_event) { | 162 uint16 UnmodifiedTextFromNative(const base::NativeEvent& native_event) { |
| 153 NOTIMPLEMENTED(); | 163 NOTIMPLEMENTED(); |
| 154 return 0; | 164 return 0; |
| 155 } | 165 } |
| 156 | 166 |
| 157 | 167 |
| 158 } // namespace ui | 168 } // namespace ui |
| OLD | NEW |