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

Side by Side Diff: content/common/input/event_with_latency_info.h

Issue 2497033002: Break apart WebGestureEvent from WebInputEvent. (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 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_COMMON_INPUT_EVENT_WITH_LATENCY_INFO_H_ 5 #ifndef CONTENT_COMMON_INPUT_EVENT_WITH_LATENCY_INFO_H_
6 #define CONTENT_COMMON_INPUT_EVENT_WITH_LATENCY_INFO_H_ 6 #define CONTENT_COMMON_INPUT_EVENT_WITH_LATENCY_INFO_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
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/platform/WebGestureEvent.h"
12 #include "third_party/WebKit/public/platform/WebInputEvent.h"
12 #include "ui/events/blink/scoped_web_input_event.h" 13 #include "ui/events/blink/scoped_web_input_event.h"
13 #include "ui/events/latency_info.h" 14 #include "ui/events/latency_info.h"
14 15
15 namespace content { 16 namespace content {
16 namespace internal { 17 namespace internal {
17 18
18 bool CONTENT_EXPORT CanCoalesce(const blink::WebMouseEvent& event_to_coalesce, 19 bool CONTENT_EXPORT CanCoalesce(const blink::WebMouseEvent& event_to_coalesce,
19 const blink::WebMouseEvent& event); 20 const blink::WebMouseEvent& event);
20 void CONTENT_EXPORT Coalesce(const blink::WebMouseEvent& event_to_coalesce, 21 void CONTENT_EXPORT Coalesce(const blink::WebMouseEvent& event_to_coalesce,
21 blink::WebMouseEvent* event); 22 blink::WebMouseEvent* event);
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 typedef EventWithLatencyInfo<blink::WebMouseWheelEvent> 105 typedef EventWithLatencyInfo<blink::WebMouseWheelEvent>
105 MouseWheelEventWithLatencyInfo; 106 MouseWheelEventWithLatencyInfo;
106 typedef EventWithLatencyInfo<blink::WebMouseEvent> 107 typedef EventWithLatencyInfo<blink::WebMouseEvent>
107 MouseEventWithLatencyInfo; 108 MouseEventWithLatencyInfo;
108 typedef EventWithLatencyInfo<blink::WebTouchEvent> 109 typedef EventWithLatencyInfo<blink::WebTouchEvent>
109 TouchEventWithLatencyInfo; 110 TouchEventWithLatencyInfo;
110 111
111 } // namespace content 112 } // namespace content
112 113
113 #endif // CONTENT_COMMON_INPUT_EVENT_WITH_LATENCY_INFO_H_ 114 #endif // CONTENT_COMMON_INPUT_EVENT_WITH_LATENCY_INFO_H_
OLDNEW
« no previous file with comments | « content/common/content_param_traits_macros.h ('k') | content/common/input/event_with_latency_info_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698