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

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

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