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

Side by Side Diff: third_party/WebKit/Source/core/input/EventHandler.h

Issue 1708393002: Removed m_previousWheelScrolledNode from EventHandler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/input/EventHandler.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2009, 2010, 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 407
408 bool m_mousePositionIsUnknown; 408 bool m_mousePositionIsUnknown;
409 // The last mouse movement position this frame has seen in root frame coordi nates. 409 // The last mouse movement position this frame has seen in root frame coordi nates.
410 IntPoint m_lastKnownMousePosition; 410 IntPoint m_lastKnownMousePosition;
411 IntPoint m_lastKnownMouseGlobalPosition; 411 IntPoint m_lastKnownMouseGlobalPosition;
412 IntPoint m_mouseDownPos; // In our view's coords. 412 IntPoint m_mouseDownPos; // In our view's coords.
413 double m_mouseDownTimestamp; 413 double m_mouseDownTimestamp;
414 PlatformMouseEvent m_mouseDown; 414 PlatformMouseEvent m_mouseDown;
415 RefPtr<UserGestureToken> m_lastMouseDownUserGestureToken; 415 RefPtr<UserGestureToken> m_lastMouseDownUserGestureToken;
416 416
417 RefPtrWillBeMember<Node> m_previousWheelScrolledNode;
418
419 // The target of each active touch point indexed by the touch ID. 417 // The target of each active touch point indexed by the touch ID.
420 using TouchTargetMap = WillBeHeapHashMap<unsigned, RefPtrWillBeMember<EventT arget>, DefaultHash<unsigned>::Hash, WTF::UnsignedWithZeroKeyHashTraits<unsigned >>; 418 using TouchTargetMap = WillBeHeapHashMap<unsigned, RefPtrWillBeMember<EventT arget>, DefaultHash<unsigned>::Hash, WTF::UnsignedWithZeroKeyHashTraits<unsigned >>;
421 TouchTargetMap m_targetForTouchID; 419 TouchTargetMap m_targetForTouchID;
422 420
423 // If set, the document of the active touch sequence. Unset if no touch sequ ence active. 421 // If set, the document of the active touch sequence. Unset if no touch sequ ence active.
424 RefPtrWillBeMember<Document> m_touchSequenceDocument; 422 RefPtrWillBeMember<Document> m_touchSequenceDocument;
425 RefPtr<UserGestureToken> m_touchSequenceUserGestureToken; 423 RefPtr<UserGestureToken> m_touchSequenceUserGestureToken;
426 424
427 bool m_touchPressed; 425 bool m_touchPressed;
428 426
(...skipping 29 matching lines...) Expand all
458 // scroll which shouldn't propagate can't cause any element to 456 // scroll which shouldn't propagate can't cause any element to
459 // scroll other than the |m_previousGestureScrolledNode|. 457 // scroll other than the |m_previousGestureScrolledNode|.
460 bool m_deltaConsumedForScrollSequence; 458 bool m_deltaConsumedForScrollSequence;
461 }; 459 };
462 460
463 } // namespace blink 461 } // namespace blink
464 462
465 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); 463 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo);
466 464
467 #endif // EventHandler_h 465 #endif // EventHandler_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/input/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698