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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 } | 153 } |
154 | 154 |
155 base::NativeEvent CopyNativeEvent(const base::NativeEvent& event) { | 155 base::NativeEvent CopyNativeEvent(const base::NativeEvent& event) { |
156 return [event copy]; | 156 return [event copy]; |
157 } | 157 } |
158 | 158 |
159 void ReleaseCopiedNativeEvent(const base::NativeEvent& event) { | 159 void ReleaseCopiedNativeEvent(const base::NativeEvent& event) { |
160 [event release]; | 160 [event release]; |
161 } | 161 } |
162 | 162 |
163 void IncrementTouchIdRefCount(const base::NativeEvent& native_event) { | |
164 NOTIMPLEMENTED(); | |
165 } | |
166 | |
167 void ClearTouchIdIfReleased(const base::NativeEvent& native_event) { | 163 void ClearTouchIdIfReleased(const base::NativeEvent& native_event) { |
168 NOTIMPLEMENTED(); | 164 NOTIMPLEMENTED(); |
169 } | 165 } |
170 | 166 |
171 int GetTouchId(const base::NativeEvent& native_event) { | 167 int GetTouchId(const base::NativeEvent& native_event) { |
172 NOTIMPLEMENTED(); | 168 NOTIMPLEMENTED(); |
173 return 0; | 169 return 0; |
174 } | 170 } |
175 | 171 |
176 float GetTouchRadiusX(const base::NativeEvent& native_event) { | 172 float GetTouchRadiusX(const base::NativeEvent& native_event) { |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 uint16 return_value; | 261 uint16 return_value; |
266 [text getCharacters:&return_value]; | 262 [text getCharacters:&return_value]; |
267 return return_value; | 263 return return_value; |
268 } | 264 } |
269 | 265 |
270 bool IsCharFromNative(const base::NativeEvent& native_event) { | 266 bool IsCharFromNative(const base::NativeEvent& native_event) { |
271 return false; | 267 return false; |
272 } | 268 } |
273 | 269 |
274 } // namespace ui | 270 } // namespace ui |
OLD | NEW |