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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 *end_time = 0; | 146 *end_time = 0; |
144 return false; | 147 return false; |
145 } | 148 } |
146 | 149 |
147 int GetModifiersFromKeyState() { | 150 int GetModifiersFromKeyState() { |
148 NOTIMPLEMENTED(); | 151 NOTIMPLEMENTED(); |
149 return 0; | 152 return 0; |
150 } | 153 } |
151 | 154 |
152 } // namespace ui | 155 } // namespace ui |
OLD | NEW |