OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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.h" | 5 #include "ui/events/event.h" |
6 #include "ui/events/event_constants.h" | 6 #include "ui/events/event_constants.h" |
7 #include "ui/events/event_utils.h" | 7 #include "ui/events/event_utils.h" |
8 | 8 |
9 namespace ui { | 9 namespace ui { |
10 | 10 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 return event->offset(); | 71 return event->offset(); |
72 } | 72 } |
73 | 73 |
74 base::NativeEvent CopyNativeEvent(const base::NativeEvent& event) { | 74 base::NativeEvent CopyNativeEvent(const base::NativeEvent& event) { |
75 return NULL; | 75 return NULL; |
76 } | 76 } |
77 | 77 |
78 void ReleaseCopiedNativeEvent(const base::NativeEvent& event) { | 78 void ReleaseCopiedNativeEvent(const base::NativeEvent& event) { |
79 } | 79 } |
80 | 80 |
| 81 void IncrementTouchIdRefCount(const base::NativeEvent& event) { |
| 82 } |
| 83 |
81 void ClearTouchIdIfReleased(const base::NativeEvent& xev) { | 84 void ClearTouchIdIfReleased(const base::NativeEvent& xev) { |
82 } | 85 } |
83 | 86 |
84 int GetTouchId(const base::NativeEvent& native_event) { | 87 int GetTouchId(const base::NativeEvent& native_event) { |
85 const ui::TouchEvent* event = | 88 const ui::TouchEvent* event = |
86 static_cast<const ui::TouchEvent*>(native_event); | 89 static_cast<const ui::TouchEvent*>(native_event); |
87 DCHECK(event->IsTouchEvent()); | 90 DCHECK(event->IsTouchEvent()); |
88 return event->touch_id(); | 91 return event->touch_id(); |
89 } | 92 } |
90 | 93 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 NOTIMPLEMENTED(); | 155 NOTIMPLEMENTED(); |
153 return false; | 156 return false; |
154 } | 157 } |
155 | 158 |
156 int GetModifiersFromKeyState() { | 159 int GetModifiersFromKeyState() { |
157 NOTIMPLEMENTED(); | 160 NOTIMPLEMENTED(); |
158 return 0; | 161 return 0; |
159 } | 162 } |
160 | 163 |
161 } // namespace ui | 164 } // namespace ui |
OLD | NEW |