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

Side by Side Diff: Source/core/page/EventHandler.h

Issue 130433009: Lock element at start of gesture sequence. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test Created 6 years, 10 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 | Annotate | Revision Log
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 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 bool m_widgetIsLatched; 370 bool m_widgetIsLatched;
371 371
372 RefPtr<Node> m_previousWheelScrolledNode; 372 RefPtr<Node> m_previousWheelScrolledNode;
373 373
374 typedef HashMap<int, RefPtr<EventTarget> > TouchTargetMap; 374 typedef HashMap<int, RefPtr<EventTarget> > TouchTargetMap;
375 TouchTargetMap m_originatingTouchPointTargets; 375 TouchTargetMap m_originatingTouchPointTargets;
376 RefPtr<Document> m_originatingTouchPointDocument; 376 RefPtr<Document> m_originatingTouchPointDocument;
377 unsigned m_originatingTouchPointTargetKey; 377 unsigned m_originatingTouchPointTargetKey;
378 bool m_touchPressed; 378 bool m_touchPressed;
379 379
380 RefPtr<Node> m_scrollGestureHandlingNode; 380 RefPtr<Node> m_scrollGestureHandlingNode;
Rick Byers 2014/02/21 03:46:54 can we merge this in with your more general mechan
381 bool m_lastHitTestResultOverWidget; 381 bool m_lastHitTestResultOverWidget;
382 RefPtr<Node> m_previousGestureScrolledNode; 382 RefPtr<Node> m_previousGestureScrolledNode;
383 RefPtr<Scrollbar> m_scrollbarHandlingScrollGesture; 383 RefPtr<Scrollbar> m_scrollbarHandlingScrollGesture;
384 RefPtr<Element> m_elementHandlingGestureSequence;
384 385
385 double m_maxMouseMovedDuration; 386 double m_maxMouseMovedDuration;
386 PlatformEvent::Type m_baseEventType; 387 PlatformEvent::Type m_baseEventType;
387 bool m_didStartDrag; 388 bool m_didStartDrag;
388 389
389 bool m_longTapShouldInvokeContextMenu; 390 bool m_longTapShouldInvokeContextMenu;
390 OwnPtr<IntPoint> m_lastSyntheticPinchAnchorCss; 391 OwnPtr<IntPoint> m_lastSyntheticPinchAnchorCss;
391 OwnPtr<IntPoint> m_lastSyntheticPinchAnchorDip; 392 OwnPtr<IntPoint> m_lastSyntheticPinchAnchorDip;
392 OwnPtr<IntPoint> m_lastSyntheticPanLocation; 393 OwnPtr<IntPoint> m_lastSyntheticPanLocation;
393 float m_syntheticPageScaleFactor; 394 float m_syntheticPageScaleFactor;
394 395
395 Timer<EventHandler> m_activeIntervalTimer; 396 Timer<EventHandler> m_activeIntervalTimer;
396 double m_lastShowPressTimestamp; 397 double m_lastShowPressTimestamp;
397 RefPtr<Element> m_lastDeferredTapElement; 398 RefPtr<Element> m_lastDeferredTapElement;
398 }; 399 };
399 400
400 } // namespace WebCore 401 } // namespace WebCore
401 402
402 #endif // EventHandler_h 403 #endif // EventHandler_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698