| 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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 | 254 |
| 255 bool passWidgetMouseDownEventToWidget(const MouseEventWithHitTestResults&); | 255 bool passWidgetMouseDownEventToWidget(const MouseEventWithHitTestResults&); |
| 256 | 256 |
| 257 bool passWheelEventToWidget(const PlatformWheelEvent&, Widget*); | 257 bool passWheelEventToWidget(const PlatformWheelEvent&, Widget*); |
| 258 void defaultTabEventHandler(KeyboardEvent*); | 258 void defaultTabEventHandler(KeyboardEvent*); |
| 259 | 259 |
| 260 void updateSelectionForMouseDrag(const HitTestResult&); | 260 void updateSelectionForMouseDrag(const HitTestResult&); |
| 261 | 261 |
| 262 void updateLastScrollbarUnderMouse(Scrollbar*, bool); | 262 void updateLastScrollbarUnderMouse(Scrollbar*, bool); |
| 263 | 263 |
| 264 void setFrameWasScrolledByUser(); | |
| 265 | |
| 266 bool capturesDragging() const { return m_capturesDragging; } | 264 bool capturesDragging() const { return m_capturesDragging; } |
| 267 | 265 |
| 268 bool handleGestureShowPress(); | 266 bool handleGestureShowPress(); |
| 269 | 267 |
| 270 bool handleScrollGestureOnResizer(Node*, const PlatformGestureEvent&); | 268 bool handleScrollGestureOnResizer(Node*, const PlatformGestureEvent&); |
| 271 | 269 |
| 272 bool passScrollGestureEventToWidget(const PlatformGestureEvent&, RenderObjec
t*); | 270 bool passScrollGestureEventToWidget(const PlatformGestureEvent&, RenderObjec
t*); |
| 273 bool sendScrollEventToView(const PlatformGestureEvent&, const FloatSize&); | 271 bool sendScrollEventToView(const PlatformGestureEvent&, const FloatSize&); |
| 274 | 272 |
| 275 AutoscrollController* autoscrollController() const; | 273 AutoscrollController* autoscrollController() const; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 bool m_didStartDrag; | 344 bool m_didStartDrag; |
| 347 | 345 |
| 348 Timer<EventHandler> m_activeIntervalTimer; | 346 Timer<EventHandler> m_activeIntervalTimer; |
| 349 double m_lastShowPressTimestamp; | 347 double m_lastShowPressTimestamp; |
| 350 RefPtr<Element> m_lastDeferredTapElement; | 348 RefPtr<Element> m_lastDeferredTapElement; |
| 351 }; | 349 }; |
| 352 | 350 |
| 353 } // namespace blink | 351 } // namespace blink |
| 354 | 352 |
| 355 #endif // EventHandler_h | 353 #endif // EventHandler_h |
| OLD | NEW |