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

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

Issue 1760183002: Fixed missing pointerTypes for touch events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed line-lengths, added a bug ref. Created 4 years, 9 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_BLINK_EVENT_UTIL_H_ 5 #ifndef UI_EVENTS_BLINK_BLINK_EVENT_UTIL_H_
6 #define UI_EVENTS_BLINK_BLINK_EVENT_UTIL_H_ 6 #define UI_EVENTS_BLINK_BLINK_EVENT_UTIL_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "third_party/WebKit/public/web/WebInputEvent.h"
10 #include "ui/events/gesture_detection/motion_event.h"
9 11
10 namespace base { 12 namespace base {
11 class TimeDelta; 13 class TimeDelta;
12 } 14 }
13 15
14 namespace blink { 16 namespace blink {
15 class WebGestureEvent; 17 class WebGestureEvent;
16 class WebInputEvent; 18 class WebInputEvent;
17 class WebTouchEvent; 19 class WebTouchEvent;
18 } 20 }
(...skipping 20 matching lines...) Expand all
39 // Convenience wrapper for |CreateWebGestureEvent| using the supplied |data|. 41 // Convenience wrapper for |CreateWebGestureEvent| using the supplied |data|.
40 blink::WebGestureEvent CreateWebGestureEventFromGestureEventData( 42 blink::WebGestureEvent CreateWebGestureEventFromGestureEventData(
41 const GestureEventData& data); 43 const GestureEventData& data);
42 44
43 int EventFlagsToWebEventModifiers(int flags); 45 int EventFlagsToWebEventModifiers(int flags);
44 46
45 scoped_ptr<blink::WebInputEvent> ScaleWebInputEvent( 47 scoped_ptr<blink::WebInputEvent> ScaleWebInputEvent(
46 const blink::WebInputEvent& event, 48 const blink::WebInputEvent& event,
47 float scale); 49 float scale);
48 50
51 blink::WebPointerProperties::PointerType ToWebPointerType(
52 MotionEvent::ToolType tool_type);
53
49 } // namespace ui 54 } // namespace ui
50 55
51 #endif // UI_EVENTS_BLINK_BLINK_EVENT_UTIL_H_ 56 #endif // UI_EVENTS_BLINK_BLINK_EVENT_UTIL_H_
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebInputEventConversion.cpp ('k') | ui/events/blink/blink_event_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698