Chromium Code Reviews| 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 "base/logging.h" | 5 #include "base/logging.h" |
| 6 #include "base/time/time.h" | 6 #include "base/time/time.h" |
| 7 #include "ui/events/event_utils.h" | 7 #include "ui/events/event_utils.h" |
| 8 #include "ui/gfx/point.h" | 8 #include "ui/gfx/point.h" |
| 9 #include "ui/gfx/vector2d.h" | 9 #include "ui/gfx/vector2d.h" |
| 10 | 10 |
| 11 namespace ui { | 11 namespace ui { |
| 12 | 12 |
| 13 // Stub implementations of platform-specific methods in events_util.h, built | 13 // Stub implementations of platform-specific methods in events_util.h, built |
| 14 // on platform sthat currently do not have a complete implementation of events. | 14 // on platform sthat currently do not have a complete implementation of events. |
| 15 | 15 |
| 16 void UpdateDeviceList() { | 16 void UpdateDeviceList() { |
| 17 NOTIMPLEMENTED(); | 17 NOTIMPLEMENTED(); |
| 18 } | 18 } |
| 19 | 19 |
| 20 EventType EventTypeFromNative(const base::NativeEvent& native_event) { | 20 EventType EventTypeFromNative(const base::NativeEvent& native_event) { |
| 21 NOTIMPLEMENTED(); | 21 NOTIMPLEMENTED(); |
| 22 return ET_UNKNOWN; | 22 return ET_UNKNOWN; |
| 23 } | 23 } |
| 24 | 24 |
| 25 int EventFlagsFromNative(const base::NativeEvent& native_event) { | |
| 26 NOTIMPLEMENTED(); | |
| 27 return 0; | |
| 28 } | |
|
sadrul
2014/02/19 18:39:17
Wouldn't this be useful/necessary for other platfo
| |
| 29 | |
| 30 base::TimeDelta EventTimeFromNative(const base::NativeEvent& native_event) { | 25 base::TimeDelta EventTimeFromNative(const base::NativeEvent& native_event) { |
| 31 NOTIMPLEMENTED(); | 26 NOTIMPLEMENTED(); |
| 32 return base::TimeDelta(); | 27 return base::TimeDelta(); |
| 33 } | 28 } |
| 34 | 29 |
| 35 gfx::Point EventLocationFromNative(const base::NativeEvent& native_event) { | 30 gfx::Point EventLocationFromNative(const base::NativeEvent& native_event) { |
| 36 NOTIMPLEMENTED(); | 31 NOTIMPLEMENTED(); |
| 37 return gfx::Point(); | 32 return gfx::Point(); |
| 38 } | 33 } |
| 39 | 34 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 133 NOTIMPLEMENTED(); | 128 NOTIMPLEMENTED(); |
| 134 return static_cast<KeyboardCode>(0); | 129 return static_cast<KeyboardCode>(0); |
| 135 } | 130 } |
| 136 | 131 |
| 137 const char* CodeFromNative(const base::NativeEvent& native_event) { | 132 const char* CodeFromNative(const base::NativeEvent& native_event) { |
| 138 NOTIMPLEMENTED(); | 133 NOTIMPLEMENTED(); |
| 139 return ""; | 134 return ""; |
| 140 } | 135 } |
| 141 | 136 |
| 142 } // namespace ui | 137 } // namespace ui |
| OLD | NEW |