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/event_utils.h" | 5 #include "ui/events/event_utils.h" |
6 | 6 |
7 #include <Cocoa/Cocoa.h> | 7 #include <Cocoa/Cocoa.h> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #import "base/mac/mac_util.h" | 10 #import "base/mac/mac_util.h" |
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 float GetTouchRadiusY(const base::NativeEvent& native_event) { | 178 float GetTouchRadiusY(const base::NativeEvent& native_event) { |
179 NOTIMPLEMENTED(); | 179 NOTIMPLEMENTED(); |
180 return 0.f; | 180 return 0.f; |
181 } | 181 } |
182 | 182 |
183 float GetTouchAngle(const base::NativeEvent& native_event) { | 183 float GetTouchAngle(const base::NativeEvent& native_event) { |
184 NOTIMPLEMENTED(); | 184 NOTIMPLEMENTED(); |
185 return 0.f; | 185 return 0.f; |
186 } | 186 } |
187 | 187 |
| 188 float GetTouchTilt(const base::NativeEvent& native_event) { |
| 189 NOTIMPLEMENTED(); |
| 190 return 0.f; |
| 191 } |
| 192 |
| 193 float GetTouchTiltDirection(const base::NativeEvent& native_event) { |
| 194 NOTIMPLEMENTED(); |
| 195 return 0.f; |
| 196 } |
| 197 |
188 float GetTouchForce(const base::NativeEvent& native_event) { | 198 float GetTouchForce(const base::NativeEvent& native_event) { |
189 NOTIMPLEMENTED(); | 199 NOTIMPLEMENTED(); |
190 return 0.f; | 200 return 0.f; |
191 } | 201 } |
192 | 202 |
193 bool GetScrollOffsets(const base::NativeEvent& native_event, | 203 bool GetScrollOffsets(const base::NativeEvent& native_event, |
194 float* x_offset, | 204 float* x_offset, |
195 float* y_offset, | 205 float* y_offset, |
196 float* x_offset_ordinal, | 206 float* x_offset_ordinal, |
197 float* y_offset_ordinal, | 207 float* y_offset_ordinal, |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 uint16 return_value; | 272 uint16 return_value; |
263 [text getCharacters:&return_value]; | 273 [text getCharacters:&return_value]; |
264 return return_value; | 274 return return_value; |
265 } | 275 } |
266 | 276 |
267 bool IsCharFromNative(const base::NativeEvent& native_event) { | 277 bool IsCharFromNative(const base::NativeEvent& native_event) { |
268 return false; | 278 return false; |
269 } | 279 } |
270 | 280 |
271 } // namespace ui | 281 } // namespace ui |
OLD | NEW |