| 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 // Handle the provided non-scroll gesture event. Should be called only on th
e inner frame. | 139 // Handle the provided non-scroll gesture event. Should be called only on th
e inner frame. |
| 140 bool handleGestureEventInFrame(const GestureEventWithHitTestResults&); | 140 bool handleGestureEventInFrame(const GestureEventWithHitTestResults&); |
| 141 | 141 |
| 142 // Handle the provided scroll gesture event, propagating down to child frame
s as necessary. | 142 // Handle the provided scroll gesture event, propagating down to child frame
s as necessary. |
| 143 bool handleGestureScrollEvent(const PlatformGestureEvent&); | 143 bool handleGestureScrollEvent(const PlatformGestureEvent&); |
| 144 bool handleGestureScrollEnd(const PlatformGestureEvent&); | 144 bool handleGestureScrollEnd(const PlatformGestureEvent&); |
| 145 bool isScrollbarHandlingGestures() const; | 145 bool isScrollbarHandlingGestures() const; |
| 146 | 146 |
| 147 void setMouseDownMayStartAutoscroll() { m_mouseDownMayStartAutoscroll = true
; } | 147 void setMouseDownMayStartAutoscroll() { m_mouseDownMayStartAutoscroll = true
; } |
| 148 | 148 |
| 149 static unsigned accessKeyModifiers(); | |
| 150 bool handleAccessKey(const PlatformKeyboardEvent&); | |
| 151 bool keyEvent(const PlatformKeyboardEvent&); | 149 bool keyEvent(const PlatformKeyboardEvent&); |
| 152 void defaultKeyboardEventHandler(KeyboardEvent*); | 150 void defaultKeyboardEventHandler(KeyboardEvent*); |
| 153 | 151 |
| 154 bool handleTextInputEvent(const String& text, Event* underlyingEvent = 0, Te
xtEventInputType = TextEventInputKeyboard); | 152 bool handleTextInputEvent(const String& text, Event* underlyingEvent = 0, Te
xtEventInputType = TextEventInputKeyboard); |
| 155 void defaultTextInputEventHandler(TextEvent*); | 153 void defaultTextInputEventHandler(TextEvent*); |
| 156 | 154 |
| 157 void focusDocumentView(); | 155 void focusDocumentView(); |
| 158 | 156 |
| 159 void capsLockStateMayHaveChanged(); // Only called by FrameSelection | 157 void capsLockStateMayHaveChanged(); // Only called by FrameSelection |
| 160 | 158 |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 bool m_didStartDrag; | 327 bool m_didStartDrag; |
| 330 | 328 |
| 331 Timer<EventHandler> m_activeIntervalTimer; | 329 Timer<EventHandler> m_activeIntervalTimer; |
| 332 double m_lastShowPressTimestamp; | 330 double m_lastShowPressTimestamp; |
| 333 RefPtr<Element> m_lastDeferredTapElement; | 331 RefPtr<Element> m_lastDeferredTapElement; |
| 334 }; | 332 }; |
| 335 | 333 |
| 336 } // namespace blink | 334 } // namespace blink |
| 337 | 335 |
| 338 #endif // SKY_ENGINE_CORE_PAGE_EVENTHANDLER_H_ | 336 #endif // SKY_ENGINE_CORE_PAGE_EVENTHANDLER_H_ |
| OLD | NEW |