Chromium Code Reviews| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 142 void defaultWheelEventHandler(Node*, WheelEvent*); | 142 void defaultWheelEventHandler(Node*, WheelEvent*); |
| 143 | 143 |
| 144 bool handleGestureEvent(const PlatformGestureEvent&); | 144 bool handleGestureEvent(const PlatformGestureEvent&); |
| 145 bool handleGestureScrollEnd(const PlatformGestureEvent&); | 145 bool handleGestureScrollEnd(const PlatformGestureEvent&); |
| 146 bool isScrollbarHandlingGestures() const; | 146 bool isScrollbarHandlingGestures() const; |
| 147 | 147 |
| 148 bool bestClickableNodeForTouchPoint(const IntPoint& touchCenter, const IntSi ze& touchRadius, IntPoint& targetPoint, Node*& targetNode); | 148 bool bestClickableNodeForTouchPoint(const IntPoint& touchCenter, const IntSi ze& touchRadius, IntPoint& targetPoint, Node*& targetNode); |
| 149 bool bestContextMenuNodeForTouchPoint(const IntPoint& touchCenter, const Int Size& touchRadius, IntPoint& targetPoint, Node*& targetNode); | 149 bool bestContextMenuNodeForTouchPoint(const IntPoint& touchCenter, const Int Size& touchRadius, IntPoint& targetPoint, Node*& targetNode); |
| 150 bool bestZoomableAreaForTouchPoint(const IntPoint& touchCenter, const IntSiz e& touchRadius, IntRect& targetArea, Node*& targetNode); | 150 bool bestZoomableAreaForTouchPoint(const IntPoint& touchCenter, const IntSiz e& touchRadius, IntRect& targetArea, Node*& targetNode); |
| 151 | 151 |
| 152 MockableTimer<EventHandler>* getActiveIntervalTimerForTesting(); | |
|
eseidel
2014/01/21 21:24:42
Normally we don't use "get" in our getters in Blin
| |
| 153 | |
| 152 bool adjustGesturePosition(const PlatformGestureEvent&, IntPoint& adjustedPo int); | 154 bool adjustGesturePosition(const PlatformGestureEvent&, IntPoint& adjustedPo int); |
| 153 | 155 |
| 154 bool sendContextMenuEvent(const PlatformMouseEvent&); | 156 bool sendContextMenuEvent(const PlatformMouseEvent&); |
| 155 bool sendContextMenuEventForKey(); | 157 bool sendContextMenuEventForKey(); |
| 156 bool sendContextMenuEventForGesture(const PlatformGestureEvent&); | 158 bool sendContextMenuEventForGesture(const PlatformGestureEvent&); |
| 157 | 159 |
| 158 void setMouseDownMayStartAutoscroll() { m_mouseDownMayStartAutoscroll = true ; } | 160 void setMouseDownMayStartAutoscroll() { m_mouseDownMayStartAutoscroll = true ; } |
| 159 | 161 |
| 160 static unsigned accessKeyModifiers(); | 162 static unsigned accessKeyModifiers(); |
| 161 bool handleAccessKey(const PlatformKeyboardEvent&); | 163 bool handleAccessKey(const PlatformKeyboardEvent&); |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 385 double m_maxMouseMovedDuration; | 387 double m_maxMouseMovedDuration; |
| 386 PlatformEvent::Type m_baseEventType; | 388 PlatformEvent::Type m_baseEventType; |
| 387 bool m_didStartDrag; | 389 bool m_didStartDrag; |
| 388 | 390 |
| 389 bool m_longTapShouldInvokeContextMenu; | 391 bool m_longTapShouldInvokeContextMenu; |
| 390 OwnPtr<IntPoint> m_lastSyntheticPinchAnchorCss; | 392 OwnPtr<IntPoint> m_lastSyntheticPinchAnchorCss; |
| 391 OwnPtr<IntPoint> m_lastSyntheticPinchAnchorDip; | 393 OwnPtr<IntPoint> m_lastSyntheticPinchAnchorDip; |
| 392 OwnPtr<IntPoint> m_lastSyntheticPanLocation; | 394 OwnPtr<IntPoint> m_lastSyntheticPanLocation; |
| 393 float m_syntheticPageScaleFactor; | 395 float m_syntheticPageScaleFactor; |
| 394 | 396 |
| 395 Timer<EventHandler> m_activeIntervalTimer; | 397 MockableTimer<EventHandler> m_activeIntervalTimer; |
| 396 double m_lastShowPressTimestamp; | 398 double m_lastShowPressTimestamp; |
| 397 RefPtr<Element> m_lastDeferredTapElement; | 399 RefPtr<Element> m_lastDeferredTapElement; |
| 398 }; | 400 }; |
| 399 | 401 |
| 400 } // namespace WebCore | 402 } // namespace WebCore |
| 401 | 403 |
| 402 #endif // EventHandler_h | 404 #endif // EventHandler_h |
| OLD | NEW |