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

Unified Diff: ui/events/blink/blink_event_util.h

Issue 2429953002: Implement compositor thread VSync aligned event queue (Closed)
Patch Set: dtapuska&enne's review: Call |Now()| once per loop; Chromium style; Remove parameterized test 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/events/blink/BUILD.gn ('k') | ui/events/blink/blink_event_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/blink_event_util.h
diff --git a/ui/events/blink/blink_event_util.h b/ui/events/blink/blink_event_util.h
index 3b31e874339ead796e95819c06f99897e5079c96..5636d58b28511f0351c00c98d97ee86d628772f1 100644
--- a/ui/events/blink/blink_event_util.h
+++ b/ui/events/blink/blink_event_util.h
@@ -27,6 +27,12 @@ struct GestureEventData;
struct GestureEventDetails;
class MotionEvent;
+bool CanCoalesce(const blink::WebInputEvent& event_to_coalesce,
+ const blink::WebInputEvent& event);
+
+void Coalesce(const blink::WebInputEvent& event_to_coalesce,
+ blink::WebInputEvent* event);
+
blink::WebTouchEvent CreateWebTouchEventFromMotionEvent(
const MotionEvent& event,
bool may_cause_scrolling);
@@ -74,6 +80,10 @@ int WebEventModifiersToEventFlags(int modifiers);
blink::WebInputEvent::Modifiers DomCodeToWebInputEventModifiers(
ui::DomCode code);
+bool IsGestureScollOrPinch(blink::WebInputEvent::Type);
+
+bool IsContinuousGestureEvent(blink::WebInputEvent::Type);
+
} // namespace ui
#endif // UI_EVENTS_BLINK_BLINK_EVENT_UTIL_H_
« no previous file with comments | « ui/events/blink/BUILD.gn ('k') | ui/events/blink/blink_event_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698