| 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 "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 #include "ui/events/event_utils.h" | 8 #include "ui/events/event_utils.h" |
| 9 #include "ui/events/keycodes/dom/dom_code.h" | 9 #include "ui/events/keycodes/dom/dom_code.h" |
| 10 #include "ui/gfx/geometry/point.h" | 10 #include "ui/gfx/geometry/point.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 NOTIMPLEMENTED(); | 49 NOTIMPLEMENTED(); |
| 50 return 0; | 50 return 0; |
| 51 } | 51 } |
| 52 | 52 |
| 53 int GetChangedMouseButtonFlagsFromNative( | 53 int GetChangedMouseButtonFlagsFromNative( |
| 54 const base::NativeEvent& native_event) { | 54 const base::NativeEvent& native_event) { |
| 55 NOTIMPLEMENTED(); | 55 NOTIMPLEMENTED(); |
| 56 return 0; | 56 return 0; |
| 57 } | 57 } |
| 58 | 58 |
| 59 PointerDetails GetMousePointerDetailsFromNative( |
| 60 const base::NativeEvent& native_event) { |
| 61 return PointerDetails(EventPointerType::POINTER_TYPE_MOUSE); |
| 62 } |
| 63 |
| 59 gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) { | 64 gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) { |
| 60 NOTIMPLEMENTED(); | 65 NOTIMPLEMENTED(); |
| 61 return gfx::Vector2d(); | 66 return gfx::Vector2d(); |
| 62 } | 67 } |
| 63 | 68 |
| 64 base::NativeEvent CopyNativeEvent(const base::NativeEvent& event) { | 69 base::NativeEvent CopyNativeEvent(const base::NativeEvent& event) { |
| 65 NOTIMPLEMENTED() << | 70 NOTIMPLEMENTED() << |
| 66 "Don't know how to copy base::NativeEvent for this platform"; | 71 "Don't know how to copy base::NativeEvent for this platform"; |
| 67 return NULL; | 72 return NULL; |
| 68 } | 73 } |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 return 0; | 149 return 0; |
| 145 } | 150 } |
| 146 | 151 |
| 147 uint16 UnmodifiedTextFromNative(const base::NativeEvent& native_event) { | 152 uint16 UnmodifiedTextFromNative(const base::NativeEvent& native_event) { |
| 148 NOTIMPLEMENTED(); | 153 NOTIMPLEMENTED(); |
| 149 return 0; | 154 return 0; |
| 150 } | 155 } |
| 151 | 156 |
| 152 | 157 |
| 153 } // namespace ui | 158 } // namespace ui |
| OLD | NEW |