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

Unified Diff: content/common/input/web_input_event_traits.h

Issue 2052663004: Remove canScroll from WebMouseWheelEvent as it is unused now. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Really fix android unit test Created 4 years, 6 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
Index: content/common/input/web_input_event_traits.h
diff --git a/content/common/input/web_input_event_traits.h b/content/common/input/web_input_event_traits.h
index 2f9ca8c5232ef97f4ae4ae342bae63a494cbee74..31d22fe81649a34959a5e49340d05df5915d20ab 100644
--- a/content/common/input/web_input_event_traits.h
+++ b/content/common/input/web_input_event_traits.h
@@ -29,6 +29,8 @@ class CONTENT_EXPORT WebInputEventTraits {
blink::WebInputEvent* event);
static bool ShouldBlockEventStream(const blink::WebInputEvent& event);
+ static bool CanCauseScroll(const blink::WebMouseWheelEvent& event);
+
// Return uniqueTouchEventId for WebTouchEvent, otherwise return 0.
static uint32_t GetUniqueTouchEventId(const blink::WebInputEvent& event);
};
« no previous file with comments | « content/common/input/synthetic_web_input_event_builders.cc ('k') | content/common/input/web_input_event_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698