Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(647)

Side by Side Diff: ui/events/blink/web_input_event_builders_win.h

Issue 2639273002: Give WebTouchEvent and WebKeyboardEvent their own headers (Closed)
Patch Set: Rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/events/blink/web_input_event.h ('k') | ui/events/blink/web_input_event_traits.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « ui/events/blink/web_input_event.h ('k') | ui/events/blink/web_input_event_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698