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

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

Issue 2746513002: [Compositor event queue] Queue GestureFlingStart/Cancel together with scroll/pinch (Closed)
Patch Set: Address tdresser@ and dtapuska@'s comments 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') | ui/events/blink/blink_event_util.cc » ('J')
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..f4731e7d7902d60c88ba3ecbe36c7ff14e02c8ae 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 IsGestureScrollFlingOrPinch(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') | ui/events/blink/blink_event_util.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698