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

Side by Side Diff: content/browser/renderer_host/input/web_input_event_builders_win.h

Issue 2016383002: Set PointerType of pointer event on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 6 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 | « no previous file | content/browser/renderer_host/input/web_input_event_builders_win.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 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 CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_WIN_H_
6 #define 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 7
8 #include <windows.h> 8 #include <windows.h>
9 9
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
11 #include "third_party/WebKit/public/web/WebInputEvent.h" 11 #include "third_party/WebKit/public/web/WebInputEvent.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 class CONTENT_EXPORT WebKeyboardEventBuilder { 15 class CONTENT_EXPORT WebKeyboardEventBuilder {
16 public: 16 public:
17 static blink::WebKeyboardEvent Build(HWND hwnd, 17 static blink::WebKeyboardEvent Build(HWND hwnd,
18 UINT message, 18 UINT message,
19 WPARAM wparam, 19 WPARAM wparam,
20 LPARAM lparam, 20 LPARAM lparam,
21 double time_stamp); 21 double time_stamp);
22 }; 22 };
23 23
24 class CONTENT_EXPORT WebMouseEventBuilder { 24 class CONTENT_EXPORT WebMouseEventBuilder {
25 public: 25 public:
26 static blink::WebMouseEvent Build(HWND hwnd, 26 static blink::WebMouseEvent Build(
27 UINT message, 27 HWND hwnd,
28 WPARAM wparam, 28 UINT message,
29 LPARAM lparam, 29 WPARAM wparam,
30 double time_stamp); 30 LPARAM lparam,
31 double time_stamp,
32 blink::WebPointerProperties::PointerType pointer_type);
31 }; 33 };
32 34
33 class CONTENT_EXPORT WebMouseWheelEventBuilder { 35 class CONTENT_EXPORT WebMouseWheelEventBuilder {
34 public: 36 public:
35 static blink::WebMouseWheelEvent Build(HWND hwnd, 37 static blink::WebMouseWheelEvent Build(
36 UINT message, 38 HWND hwnd,
37 WPARAM wparam, 39 UINT message,
38 LPARAM lparam, 40 WPARAM wparam,
39 double time_stamp); 41 LPARAM lparam,
42 double time_stamp,
43 blink::WebPointerProperties::PointerType pointer_type);
40 }; 44 };
41 45
42 } // namespace content 46 } // namespace content
43 47
44 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_WIN_H_ 48 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_WEB_INPUT_EVENT_BUILDERS_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/input/web_input_event_builders_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698