Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1313)

Side by Side Diff: ui/events/cocoa/events_mac.mm

Issue 869433007: Revert of Don't refcount tracking id -> slot id mapping. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ui/events/devices/x11/touch_factory_x11.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | ui/events/devices/x11/touch_factory_x11.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698