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 "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/gfx/point.h" | 9 #include "ui/gfx/point.h" |
| 10 #include "ui/gfx/vector2d.h" | 10 #include "ui/gfx/vector2d.h" |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 55 const base::NativeEvent& native_event) { | 55 const base::NativeEvent& native_event) { |
| 56 NOTIMPLEMENTED(); | 56 NOTIMPLEMENTED(); |
| 57 return 0; | 57 return 0; |
| 58 } | 58 } |
| 59 | 59 |
| 60 gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) { | 60 gfx::Vector2d GetMouseWheelOffset(const base::NativeEvent& native_event) { |
| 61 NOTIMPLEMENTED(); | 61 NOTIMPLEMENTED(); |
| 62 return gfx::Vector2d(); | 62 return gfx::Vector2d(); |
| 63 } | 63 } |
| 64 | 64 |
| 65 base::NativeEvent CopyNativeEvent(const base::NativeEvent& event) { | |
| 66 NOTREACHED() << "Don't know how to copy base::NativeEvent for this platform"; | |
|
sadrul
2014/04/24 19:47:12
This should be NOTIMPLEMENTED() I believe.
tapted
2014/04/25 03:44:55
Done.
| |
| 67 return NULL; | |
| 68 } | |
| 69 | |
| 70 void ReleaseCopiedNativeEvent(const base::NativeEvent& event) { | |
| 71 } | |
| 72 | |
| 65 void ClearTouchIdIfReleased(const base::NativeEvent& native_event) { | 73 void ClearTouchIdIfReleased(const base::NativeEvent& native_event) { |
| 66 NOTIMPLEMENTED(); | 74 NOTIMPLEMENTED(); |
| 67 } | 75 } |
| 68 | 76 |
| 69 int GetTouchId(const base::NativeEvent& native_event) { | 77 int GetTouchId(const base::NativeEvent& native_event) { |
| 70 NOTIMPLEMENTED(); | 78 NOTIMPLEMENTED(); |
| 71 return 0; | 79 return 0; |
| 72 } | 80 } |
| 73 | 81 |
| 74 float GetTouchRadiusX(const base::NativeEvent& native_event) { | 82 float GetTouchRadiusX(const base::NativeEvent& native_event) { |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 136 NOTIMPLEMENTED(); | 144 NOTIMPLEMENTED(); |
| 137 return static_cast<KeyboardCode>(0); | 145 return static_cast<KeyboardCode>(0); |
| 138 } | 146 } |
| 139 | 147 |
| 140 const char* CodeFromNative(const base::NativeEvent& native_event) { | 148 const char* CodeFromNative(const base::NativeEvent& native_event) { |
| 141 NOTIMPLEMENTED(); | 149 NOTIMPLEMENTED(); |
| 142 return ""; | 150 return ""; |
| 143 } | 151 } |
| 144 | 152 |
| 145 } // namespace ui | 153 } // namespace ui |
| OLD | NEW |