Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 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 CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_WIN_H_ | 5 #ifndef UI_EVENTS_BLINK_WEB_INPUT_EVENT_BUILDERS_WIN_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_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 "content/common/content_export.h" | |
| 11 #include "third_party/WebKit/public/web/WebInputEvent.h" | 10 #include "third_party/WebKit/public/web/WebInputEvent.h" |
|
dtapuska
2016/08/11 18:57:23
Please update the import paths from web to platfor
jonross
2016/08/11 20:20:33
Done.
| |
| 12 | 11 |
| 13 namespace content { | 12 namespace ui { |
| 14 | 13 |
| 15 class CONTENT_EXPORT WebKeyboardEventBuilder { | 14 class WebKeyboardEventBuilder { |
| 16 public: | 15 public: |
| 17 static blink::WebKeyboardEvent Build(HWND hwnd, | 16 static blink::WebKeyboardEvent Build(HWND hwnd, |
| 18 UINT message, | 17 UINT message, |
| 19 WPARAM wparam, | 18 WPARAM wparam, |
| 20 LPARAM lparam, | 19 LPARAM lparam, |
| 21 double time_stamp); | 20 double time_stamp); |
| 22 }; | 21 }; |
| 23 | 22 |
| 24 class CONTENT_EXPORT WebMouseEventBuilder { | 23 class WebMouseEventBuilder { |
| 25 public: | 24 public: |
| 26 static blink::WebMouseEvent Build( | 25 static blink::WebMouseEvent Build( |
| 27 HWND hwnd, | 26 HWND hwnd, |
| 28 UINT message, | 27 UINT message, |
| 29 WPARAM wparam, | 28 WPARAM wparam, |
| 30 LPARAM lparam, | 29 LPARAM lparam, |
| 31 double time_stamp, | 30 double time_stamp, |
| 32 blink::WebPointerProperties::PointerType pointer_type); | 31 blink::WebPointerProperties::PointerType pointer_type); |
| 33 }; | 32 }; |
| 34 | 33 |
| 35 class CONTENT_EXPORT WebMouseWheelEventBuilder { | 34 class WebMouseWheelEventBuilder { |
| 36 public: | 35 public: |
| 37 static blink::WebMouseWheelEvent Build( | 36 static blink::WebMouseWheelEvent Build( |
| 38 HWND hwnd, | 37 HWND hwnd, |
| 39 UINT message, | 38 UINT message, |
| 40 WPARAM wparam, | 39 WPARAM wparam, |
| 41 LPARAM lparam, | 40 LPARAM lparam, |
| 42 double time_stamp, | 41 double time_stamp, |
| 43 blink::WebPointerProperties::PointerType pointer_type); | 42 blink::WebPointerProperties::PointerType pointer_type); |
| 44 }; | 43 }; |
| 45 | 44 |
| 46 } // namespace content | 45 } // namespace ui |
| 47 | 46 |
| 48 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_WIN_H_ | 47 #endif // UI_EVENTS_BLINK_WEB_INPUT_EVENT_BUILDERS_WIN_H_ |
| OLD | NEW |