| 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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 void defaultSpaceEventHandler(KeyboardEvent*); | 327 void defaultSpaceEventHandler(KeyboardEvent*); |
| 328 void defaultBackspaceEventHandler(KeyboardEvent*); | 328 void defaultBackspaceEventHandler(KeyboardEvent*); |
| 329 void defaultTabEventHandler(KeyboardEvent*); | 329 void defaultTabEventHandler(KeyboardEvent*); |
| 330 void defaultEscapeEventHandler(KeyboardEvent*); | 330 void defaultEscapeEventHandler(KeyboardEvent*); |
| 331 void defaultArrowEventHandler(WebFocusType, KeyboardEvent*); | 331 void defaultArrowEventHandler(WebFocusType, KeyboardEvent*); |
| 332 | 332 |
| 333 void updateLastScrollbarUnderMouse(Scrollbar*, bool); | 333 void updateLastScrollbarUnderMouse(Scrollbar*, bool); |
| 334 | 334 |
| 335 WebInputEventResult handleGestureShowPress(); | 335 WebInputEventResult handleGestureShowPress(); |
| 336 | 336 |
| 337 bool shouldTopControlsConsumeScroll(FloatSize) const; | 337 bool shouldBrowserControlsConsumeScroll(FloatSize) const; |
| 338 | 338 |
| 339 FrameHost* frameHost() const; | 339 FrameHost* frameHost() const; |
| 340 | 340 |
| 341 bool rootFrameTouchPointerActiveInCurrentFrame(int pointerId) const; | 341 bool rootFrameTouchPointerActiveInCurrentFrame(int pointerId) const; |
| 342 | 342 |
| 343 // NOTE: If adding a new field to this class please ensure that it is | 343 // NOTE: If adding a new field to this class please ensure that it is |
| 344 // cleared in |EventHandler::clear()|. | 344 // cleared in |EventHandler::clear()|. |
| 345 | 345 |
| 346 const Member<LocalFrame> m_frame; | 346 const Member<LocalFrame> m_frame; |
| 347 | 347 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 383 | 383 |
| 384 // Set on GestureTapDown if the |pointerdown| event corresponding to the | 384 // Set on GestureTapDown if the |pointerdown| event corresponding to the |
| 385 // triggering |touchstart| event was canceled. This suppresses mouse event | 385 // triggering |touchstart| event was canceled. This suppresses mouse event |
| 386 // firing for the current gesture sequence (i.e. until next GestureTapDown). | 386 // firing for the current gesture sequence (i.e. until next GestureTapDown). |
| 387 bool m_suppressMouseEventsFromGestures; | 387 bool m_suppressMouseEventsFromGestures; |
| 388 }; | 388 }; |
| 389 | 389 |
| 390 } // namespace blink | 390 } // namespace blink |
| 391 | 391 |
| 392 #endif // EventHandler_h | 392 #endif // EventHandler_h |
| OLD | NEW |