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

Unified Diff: third_party/WebKit/public/web/WebInputEvent.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: third_party/WebKit/public/web/WebInputEvent.h
diff --git a/third_party/WebKit/public/web/WebInputEvent.h b/third_party/WebKit/public/web/WebInputEvent.h
index 08ef45c6f02c0af656fdce96f309b574c5ee4a60..2084a7f218a1758488d020b9db5900470d27e272 100644
--- a/third_party/WebKit/public/web/WebInputEvent.h
+++ b/third_party/WebKit/public/web/WebInputEvent.h
@@ -440,12 +440,6 @@ public:
bool scrollByPage;
bool hasPreciseScrollingDeltas;
- // When false, this wheel event should not trigger scrolling (or any other default
- // action) if the event goes unhandled by JavaScript. This is used, for example,
- // when the browser decides the default behavior for Ctrl+Wheel should be to zoom
- // instead of scroll.
- bool canScroll;
-
RailsMode railsMode;
// Whether the event is blocking, non-blocking, all event
@@ -467,7 +461,6 @@ public:
, canRubberbandRight(true)
, scrollByPage(false)
, hasPreciseScrollingDeltas(false)
- , canScroll(true)
, railsMode(RailsModeFree)
, dispatchType(Blocking)
{
« no previous file with comments | « third_party/WebKit/Source/web/tests/WebInputEventConversionTest.cpp ('k') | ui/events/blink/input_handler_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698