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