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