| OLD | NEW |
| 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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 bool handleGestureShowPress(); | 309 bool handleGestureShowPress(); |
| 310 | 310 |
| 311 bool handleScrollGestureOnResizer(Node*, const PlatformGestureEvent&); | 311 bool handleScrollGestureOnResizer(Node*, const PlatformGestureEvent&); |
| 312 | 312 |
| 313 bool passScrollGestureEventToWidget(const PlatformGestureEvent&, LayoutObjec
t*); | 313 bool passScrollGestureEventToWidget(const PlatformGestureEvent&, LayoutObjec
t*); |
| 314 | 314 |
| 315 AutoscrollController* autoscrollController() const; | 315 AutoscrollController* autoscrollController() const; |
| 316 bool panScrollInProgress() const; | 316 bool panScrollInProgress() const; |
| 317 void setLastKnownMousePosition(const PlatformMouseEvent&); | 317 void setLastKnownMousePosition(const PlatformMouseEvent&); |
| 318 | 318 |
| 319 bool shouldTopControlsConsumeScroll(FloatSize) const; |
| 320 |
| 319 // NOTE: If adding a new field to this class please ensure that it is | 321 // NOTE: If adding a new field to this class please ensure that it is |
| 320 // cleared in |EventHandler::clear()|. | 322 // cleared in |EventHandler::clear()|. |
| 321 | 323 |
| 322 LocalFrame* const m_frame; | 324 LocalFrame* const m_frame; |
| 323 | 325 |
| 324 bool m_mousePressed; | 326 bool m_mousePressed; |
| 325 bool m_capturesDragging; | 327 bool m_capturesDragging; |
| 326 RefPtrWillBeMember<Node> m_mousePressNode; | 328 RefPtrWillBeMember<Node> m_mousePressNode; |
| 327 | 329 |
| 328 bool m_mouseDownMayStartSelect; | 330 bool m_mouseDownMayStartSelect; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 bool m_longTapShouldInvokeContextMenu; | 398 bool m_longTapShouldInvokeContextMenu; |
| 397 | 399 |
| 398 Timer<EventHandler> m_activeIntervalTimer; | 400 Timer<EventHandler> m_activeIntervalTimer; |
| 399 double m_lastShowPressTimestamp; | 401 double m_lastShowPressTimestamp; |
| 400 RefPtrWillBeMember<Element> m_lastDeferredTapElement; | 402 RefPtrWillBeMember<Element> m_lastDeferredTapElement; |
| 401 }; | 403 }; |
| 402 | 404 |
| 403 } // namespace blink | 405 } // namespace blink |
| 404 | 406 |
| 405 #endif // EventHandler_h | 407 #endif // EventHandler_h |
| OLD | NEW |