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

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

Issue 1864523004: Add UMA metric for tracking root level listeners for blocking touch. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 Member<Element> m_lastDeferredTapElement; 478 Member<Element> m_lastDeferredTapElement;
479 479
480 // Only used with the ScrollCustomization runtime enabled feature. 480 // Only used with the ScrollCustomization runtime enabled feature.
481 std::deque<int> m_currentScrollChain; 481 std::deque<int> m_currentScrollChain;
482 // True iff some of the delta has been consumed for the current 482 // True iff some of the delta has been consumed for the current
483 // scroll sequence in this frame, or any child frames. Only used 483 // scroll sequence in this frame, or any child frames. Only used
484 // with ScrollCustomization. If some delta has been consumed, a 484 // with ScrollCustomization. If some delta has been consumed, a
485 // scroll which shouldn't propagate can't cause any element to 485 // scroll which shouldn't propagate can't cause any element to
486 // scroll other than the |m_previousGestureScrolledNode|. 486 // scroll other than the |m_previousGestureScrolledNode|.
487 bool m_deltaConsumedForScrollSequence; 487 bool m_deltaConsumedForScrollSequence;
488
489 // True if waiting on first touch move after a touch start.
490 bool m_waitingForFirstTouchMove;
488 }; 491 };
489 492
490 } // namespace blink 493 } // namespace blink
491 494
492 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo); 495 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::EventHandler::TouchInfo);
493 496
494 #endif // EventHandler_h 497 #endif // EventHandler_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698