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

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

Issue 103823003: Implement touch-action pan-x/pan-y handling on the main thread (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@issue1
Patch Set: incorporated review comments Created 7 years 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 | Source/core/page/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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 void fakeMouseMoveEventTimerFired(Timer<EventHandler>*); 221 void fakeMouseMoveEventTimerFired(Timer<EventHandler>*);
222 void cancelFakeMouseMoveEvent(); 222 void cancelFakeMouseMoveEvent();
223 bool isCursorVisible() const; 223 bool isCursorVisible() const;
224 void updateCursor(); 224 void updateCursor();
225 225
226 bool isInsideScrollbar(const IntPoint&) const; 226 bool isInsideScrollbar(const IntPoint&) const;
227 227
228 ScrollableArea* associatedScrollableArea(const RenderLayer*) const; 228 ScrollableArea* associatedScrollableArea(const RenderLayer*) const;
229 229
230 bool dispatchSyntheticTouchEventIfEnabled(const PlatformMouseEvent&); 230 bool dispatchSyntheticTouchEventIfEnabled(const PlatformMouseEvent&);
231
232 TouchAction intersectTouchAction(const TouchAction, const TouchAction);
231 TouchAction computeEffectiveTouchAction(const Node&); 233 TouchAction computeEffectiveTouchAction(const Node&);
232 234
233 bool handleMouseEventAsEmulatedGesture(const PlatformMouseEvent&); 235 bool handleMouseEventAsEmulatedGesture(const PlatformMouseEvent&);
234 bool handleWheelEventAsEmulatedGesture(const PlatformWheelEvent&); 236 bool handleWheelEventAsEmulatedGesture(const PlatformWheelEvent&);
235 HitTestResult hitTestResultInFrame(Frame*, const LayoutPoint&, HitTestReques t::HitTestRequestType hitType = HitTestRequest::ReadOnly | HitTestRequest::Activ e | HitTestRequest::ConfusingAndOftenMisusedDisallowShadowContent); 237 HitTestResult hitTestResultInFrame(Frame*, const LayoutPoint&, HitTestReques t::HitTestRequestType hitType = HitTestRequest::ReadOnly | HitTestRequest::Activ e | HitTestRequest::ConfusingAndOftenMisusedDisallowShadowContent);
236 238
237 void invalidateClick(); 239 void invalidateClick();
238 240
239 Node* nodeUnderMouse() const; 241 Node* nodeUnderMouse() const;
240 242
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 float m_syntheticPageScaleFactor; 381 float m_syntheticPageScaleFactor;
380 382
381 Timer<EventHandler> m_activeIntervalTimer; 383 Timer<EventHandler> m_activeIntervalTimer;
382 double m_lastShowPressTimestamp; 384 double m_lastShowPressTimestamp;
383 RefPtr<Element> m_lastDeferredTapElement; 385 RefPtr<Element> m_lastDeferredTapElement;
384 }; 386 };
385 387
386 } // namespace WebCore 388 } // namespace WebCore
387 389
388 #endif // EventHandler_h 390 #endif // EventHandler_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698