| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef UI_EVENTS_BLINK_WEB_INPUT_EVENT_BUILDERS_WIN_H_ | 5 #ifndef UI_EVENTS_BLINK_WEB_INPUT_EVENT_BUILDERS_WIN_H_ |
| 6 #define UI_EVENTS_BLINK_WEB_INPUT_EVENT_BUILDERS_WIN_H_ | 6 #define UI_EVENTS_BLINK_WEB_INPUT_EVENT_BUILDERS_WIN_H_ |
| 7 | 7 |
| 8 #include <windows.h> | 8 #include <windows.h> |
| 9 | 9 |
| 10 #include "third_party/WebKit/public/platform/WebInputEvent.h" | 10 #include "third_party/WebKit/public/platform/WebInputEvent.h" |
| 11 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h" |
| 11 | 12 |
| 12 namespace ui { | 13 namespace ui { |
| 13 | 14 |
| 14 class WebKeyboardEventBuilder { | 15 class WebKeyboardEventBuilder { |
| 15 public: | 16 public: |
| 16 static blink::WebKeyboardEvent Build(HWND hwnd, | 17 static blink::WebKeyboardEvent Build(HWND hwnd, |
| 17 UINT message, | 18 UINT message, |
| 18 WPARAM wparam, | 19 WPARAM wparam, |
| 19 LPARAM lparam, | 20 LPARAM lparam, |
| 20 double time_stamp); | 21 double time_stamp); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 38 UINT message, | 39 UINT message, |
| 39 WPARAM wparam, | 40 WPARAM wparam, |
| 40 LPARAM lparam, | 41 LPARAM lparam, |
| 41 double time_stamp, | 42 double time_stamp, |
| 42 blink::WebPointerProperties::PointerType pointer_type); | 43 blink::WebPointerProperties::PointerType pointer_type); |
| 43 }; | 44 }; |
| 44 | 45 |
| 45 } // namespace ui | 46 } // namespace ui |
| 46 | 47 |
| 47 #endif // UI_EVENTS_BLINK_WEB_INPUT_EVENT_BUILDERS_WIN_H_ | 48 #endif // UI_EVENTS_BLINK_WEB_INPUT_EVENT_BUILDERS_WIN_H_ |
| OLD | NEW |