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

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

Issue 2746513002: [Compositor event queue] Queue GestureFlingStart/Cancel together with scroll/pinch (Closed)
Patch Set: dtapuska@'s review 2: Use IsGestureScrollOrFlingOrPinch Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | 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 186428e6c295ada2c7b87bbf247197285d033836..f201c63f6432db00aed316e601313fa0a113a592 100644
--- a/ui/events/blink/blink_event_util.h
+++ b/ui/events/blink/blink_event_util.h
@@ -86,13 +86,13 @@ int WebEventModifiersToEventFlags(int modifiers);
blink::WebInputEvent::Modifiers DomCodeToWebInputEventModifiers(
ui::DomCode code);
-bool IsGestureScollOrPinch(blink::WebInputEvent::Type);
+bool IsGestureScrollOrFlingOrPinch(blink::WebInputEvent::Type);
bool IsContinuousGestureEvent(blink::WebInputEvent::Type);
inline const blink::WebGestureEvent& ToWebGestureEvent(
const blink::WebInputEvent& event) {
- DCHECK(IsGestureScollOrPinch(event.type()));
+ DCHECK(blink::WebInputEvent::isGestureEventType(event.type()));
return static_cast<const blink::WebGestureEvent&>(event);
}
« no previous file with comments | « no previous file | ui/events/blink/blink_event_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698