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

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

Issue 2783973002: Moving LatencyInfo into a separate component. (Closed)
Patch Set: Rebase again Created 3 years, 8 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/input_handler_proxy_unittest.cc ('k') | ui/events/event.h » ('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_TRAITS_H_ 5 #ifndef UI_EVENTS_BLINK_WEB_INPUT_EVENT_TRAITS_H_
6 #define UI_EVENTS_BLINK_WEB_INPUT_EVENT_TRAITS_H_ 6 #define UI_EVENTS_BLINK_WEB_INPUT_EVENT_TRAITS_H_
7 7
8 #include "third_party/WebKit/public/platform/WebInputEvent.h" 8 #include "third_party/WebKit/public/platform/WebInputEvent.h"
9 #include "ui/events/latency_info.h" 9 #include "ui/latency/latency_info.h"
10 10
11 namespace blink { 11 namespace blink {
12 class WebGestureEvent; 12 class WebGestureEvent;
13 class WebMouseWheelEvent; 13 class WebMouseWheelEvent;
14 } 14 }
15 15
16 namespace ui { 16 namespace ui {
17 17
18 struct WebInputEventDeleter { 18 struct WebInputEventDeleter {
19 void operator()(blink::WebInputEvent*) const; 19 void operator()(blink::WebInputEvent*) const;
(...skipping 15 matching lines...) Expand all
35 35
36 // Return uniqueTouchEventId for WebTouchEvent, otherwise return 0. 36 // Return uniqueTouchEventId for WebTouchEvent, otherwise return 0.
37 static uint32_t GetUniqueTouchEventId(const blink::WebInputEvent& event); 37 static uint32_t GetUniqueTouchEventId(const blink::WebInputEvent& event);
38 static LatencyInfo CreateLatencyInfoForWebGestureEvent( 38 static LatencyInfo CreateLatencyInfoForWebGestureEvent(
39 const blink::WebGestureEvent& event); 39 const blink::WebGestureEvent& event);
40 }; 40 };
41 41
42 } // namespace ui 42 } // namespace ui
43 43
44 #endif // UI_EVENTS_BLINK_WEB_INPUT_EVENT_TRAITS_H_ 44 #endif // UI_EVENTS_BLINK_WEB_INPUT_EVENT_TRAITS_H_
OLDNEW
« no previous file with comments | « ui/events/blink/input_handler_proxy_unittest.cc ('k') | ui/events/event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698