| 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/WebKeyboardEvent.h" |
| 11 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h" | 12 #include "third_party/WebKit/public/platform/WebMouseWheelEvent.h" |
| 12 | 13 |
| 13 namespace ui { | 14 namespace ui { |
| 14 | 15 |
| 15 class WebKeyboardEventBuilder { | 16 class WebKeyboardEventBuilder { |
| 16 public: | 17 public: |
| 17 static blink::WebKeyboardEvent Build(HWND hwnd, | 18 static blink::WebKeyboardEvent Build(HWND hwnd, |
| 18 UINT message, | 19 UINT message, |
| 19 WPARAM wparam, | 20 WPARAM wparam, |
| 20 LPARAM lparam, | 21 LPARAM lparam, |
| (...skipping 18 matching lines...) Expand all Loading... |
| 39 UINT message, | 40 UINT message, |
| 40 WPARAM wparam, | 41 WPARAM wparam, |
| 41 LPARAM lparam, | 42 LPARAM lparam, |
| 42 double time_stamp, | 43 double time_stamp, |
| 43 blink::WebPointerProperties::PointerType pointer_type); | 44 blink::WebPointerProperties::PointerType pointer_type); |
| 44 }; | 45 }; |
| 45 | 46 |
| 46 } // namespace ui | 47 } // namespace ui |
| 47 | 48 |
| 48 #endif // UI_EVENTS_BLINK_WEB_INPUT_EVENT_BUILDERS_WIN_H_ | 49 #endif // UI_EVENTS_BLINK_WEB_INPUT_EVENT_BUILDERS_WIN_H_ |
| OLD | NEW |