OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <windowsx.h> | 5 #include <windowsx.h> |
6 | 6 |
7 #include "ui/base/events.h" | 7 #include "ui/base/events.h" |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "ui/base/keycodes/keyboard_code_conversion_win.h" | 10 #include "ui/base/keycodes/keyboard_code_conversion_win.h" |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 float GetTouchAngle(const base::NativeEvent& native_event) { | 246 float GetTouchAngle(const base::NativeEvent& native_event) { |
247 NOTIMPLEMENTED(); | 247 NOTIMPLEMENTED(); |
248 return 0.0; | 248 return 0.0; |
249 } | 249 } |
250 | 250 |
251 float GetTouchForce(const base::NativeEvent& native_event) { | 251 float GetTouchForce(const base::NativeEvent& native_event) { |
252 NOTIMPLEMENTED(); | 252 NOTIMPLEMENTED(); |
253 return 0.0; | 253 return 0.0; |
254 } | 254 } |
255 | 255 |
| 256 base::NativeEvent CreateNoopEvent() { |
| 257 MSG event; |
| 258 event.message = WM_USER; |
| 259 event.wParam = 0; |
| 260 event.lParam = 0; |
| 261 return event; |
| 262 } |
| 263 |
256 } // namespace ui | 264 } // namespace ui |
OLD | NEW |