| OLD | NEW |
| (Empty) |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_WIN_H_ | |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_WIN_H_ | |
| 7 | |
| 8 #include <windows.h> | |
| 9 | |
| 10 #include "content/common/content_export.h" | |
| 11 #include "third_party/WebKit/public/web/WebInputEvent.h" | |
| 12 | |
| 13 namespace content { | |
| 14 | |
| 15 class CONTENT_EXPORT WebKeyboardEventBuilder { | |
| 16 public: | |
| 17 static blink::WebKeyboardEvent Build(HWND hwnd, | |
| 18 UINT message, | |
| 19 WPARAM wparam, | |
| 20 LPARAM lparam, | |
| 21 double time_stamp); | |
| 22 }; | |
| 23 | |
| 24 class CONTENT_EXPORT WebMouseEventBuilder { | |
| 25 public: | |
| 26 static blink::WebMouseEvent Build( | |
| 27 HWND hwnd, | |
| 28 UINT message, | |
| 29 WPARAM wparam, | |
| 30 LPARAM lparam, | |
| 31 double time_stamp, | |
| 32 blink::WebPointerProperties::PointerType pointer_type); | |
| 33 }; | |
| 34 | |
| 35 class CONTENT_EXPORT WebMouseWheelEventBuilder { | |
| 36 public: | |
| 37 static blink::WebMouseWheelEvent Build( | |
| 38 HWND hwnd, | |
| 39 UINT message, | |
| 40 WPARAM wparam, | |
| 41 LPARAM lparam, | |
| 42 double time_stamp, | |
| 43 blink::WebPointerProperties::PointerType pointer_type); | |
| 44 }; | |
| 45 | |
| 46 } // namespace content | |
| 47 | |
| 48 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_WIN_H_ | |
| OLD | NEW |