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