| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 return false; | 118 return false; |
| 119 } | 119 } |
| 120 | 120 |
| 121 bool GetGestureTimes(const base::NativeEvent& native_event, | 121 bool GetGestureTimes(const base::NativeEvent& native_event, |
| 122 double* start_time, | 122 double* start_time, |
| 123 double* end_time) { | 123 double* end_time) { |
| 124 NOTIMPLEMENTED(); | 124 NOTIMPLEMENTED(); |
| 125 return false; | 125 return false; |
| 126 } | 126 } |
| 127 | 127 |
| 128 void SetNaturalScroll(bool enabled) { | |
| 129 NOTIMPLEMENTED(); | |
| 130 } | |
| 131 | |
| 132 bool IsNaturalScrollEnabled() { | |
| 133 NOTIMPLEMENTED(); | |
| 134 return false; | |
| 135 } | |
| 136 | |
| 137 bool IsTouchpadEvent(const base::NativeEvent& native_event) { | |
| 138 NOTIMPLEMENTED(); | |
| 139 return false; | |
| 140 } | |
| 141 | |
| 142 KeyboardCode KeyboardCodeFromNative(const base::NativeEvent& native_event) { | 128 KeyboardCode KeyboardCodeFromNative(const base::NativeEvent& native_event) { |
| 143 NOTIMPLEMENTED(); | 129 NOTIMPLEMENTED(); |
| 144 return static_cast<KeyboardCode>(0); | 130 return static_cast<KeyboardCode>(0); |
| 145 } | 131 } |
| 146 | 132 |
| 147 const char* CodeFromNative(const base::NativeEvent& native_event) { | 133 const char* CodeFromNative(const base::NativeEvent& native_event) { |
| 148 NOTIMPLEMENTED(); | 134 NOTIMPLEMENTED(); |
| 149 return ""; | 135 return ""; |
| 150 } | 136 } |
| 151 | 137 |
| 152 uint32 PlatformKeycodeFromNative(const base::NativeEvent& native_event) { | 138 uint32 PlatformKeycodeFromNative(const base::NativeEvent& native_event) { |
| 153 NOTIMPLEMENTED(); | 139 NOTIMPLEMENTED(); |
| 154 return 0; | 140 return 0; |
| 155 } | 141 } |
| 156 | 142 |
| 157 } // namespace ui | 143 } // namespace ui |
| OLD | NEW |