| 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 template <typename EventType> | 52 template <typename EventType> |
| 53 class EventWithHitTestResults; | 53 class EventWithHitTestResults; |
| 54 class FloatPoint; | 54 class FloatPoint; |
| 55 class FloatQuad; | 55 class FloatQuad; |
| 56 class HitTestRequest; | 56 class HitTestRequest; |
| 57 class HitTestResult; | 57 class HitTestResult; |
| 58 class KeyboardEvent; | 58 class KeyboardEvent; |
| 59 class LocalFrame; | 59 class LocalFrame; |
| 60 class Node; | 60 class Node; |
| 61 class OptionalCursor; | 61 class OptionalCursor; |
| 62 class PlatformKeyboardEvent; | |
| 63 class RenderLayer; | 62 class RenderLayer; |
| 64 class RenderLayerScrollableArea; | 63 class RenderLayerScrollableArea; |
| 65 class RenderObject; | 64 class RenderObject; |
| 66 class ScrollableArea; | 65 class ScrollableArea; |
| 67 class Scrollbar; | 66 class Scrollbar; |
| 68 class TextEvent; | 67 class TextEvent; |
| 69 class VisibleSelection; | 68 class VisibleSelection; |
| 70 class Widget; | 69 class Widget; |
| 71 | 70 |
| 72 enum AppendTrailingWhitespace { ShouldAppendTrailingWhitespace, DontAppendTraili
ngWhitespace }; | 71 enum AppendTrailingWhitespace { ShouldAppendTrailingWhitespace, DontAppendTraili
ngWhitespace }; |
| (...skipping 13 matching lines...) Expand all Loading... |
| 86 HitTestResult hitTestResultAtPoint(const LayoutPoint&, | 85 HitTestResult hitTestResultAtPoint(const LayoutPoint&, |
| 87 HitTestRequest::HitTestRequestType hitType = HitTestRequest::ReadOnly |
HitTestRequest::Active, | 86 HitTestRequest::HitTestRequestType hitType = HitTestRequest::ReadOnly |
HitTestRequest::Active, |
| 88 const LayoutSize& padding = LayoutSize()); | 87 const LayoutSize& padding = LayoutSize()); |
| 89 | 88 |
| 90 void scheduleCursorUpdate(); | 89 void scheduleCursorUpdate(); |
| 91 | 90 |
| 92 // Attempts to scroll the DOM tree. If that fails, scrolls the view. | 91 // Attempts to scroll the DOM tree. If that fails, scrolls the view. |
| 93 // If the view can't be scrolled either, recursively bubble to the parent fr
ame. | 92 // If the view can't be scrolled either, recursively bubble to the parent fr
ame. |
| 94 bool bubblingScroll(ScrollDirection, ScrollGranularity, Node* startingNode =
0); | 93 bool bubblingScroll(ScrollDirection, ScrollGranularity, Node* startingNode =
0); |
| 95 | 94 |
| 96 bool keyEvent(const PlatformKeyboardEvent&); | |
| 97 void defaultKeyboardEventHandler(KeyboardEvent*); | 95 void defaultKeyboardEventHandler(KeyboardEvent*); |
| 98 | 96 |
| 99 bool handleTextInputEvent(const String& text, Event* underlyingEvent = 0, Te
xtEventInputType = TextEventInputKeyboard); | 97 bool handleTextInputEvent(const String& text, Event* underlyingEvent = 0, Te
xtEventInputType = TextEventInputKeyboard); |
| 100 void defaultTextInputEventHandler(TextEvent*); | 98 void defaultTextInputEventHandler(TextEvent*); |
| 101 | 99 |
| 102 void focusDocumentView(); | 100 void focusDocumentView(); |
| 103 | 101 |
| 104 void capsLockStateMayHaveChanged(); // Only called by FrameSelection | 102 void capsLockStateMayHaveChanged(); // Only called by FrameSelection |
| 105 | 103 |
| 106 bool useHandCursor(Node*, bool isOverLink); | 104 bool useHandCursor(Node*, bool isOverLink); |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 bool m_didStartDrag; | 172 bool m_didStartDrag; |
| 175 | 173 |
| 176 Timer<EventHandler> m_activeIntervalTimer; | 174 Timer<EventHandler> m_activeIntervalTimer; |
| 177 double m_lastShowPressTimestamp; | 175 double m_lastShowPressTimestamp; |
| 178 RefPtr<Element> m_lastDeferredTapElement; | 176 RefPtr<Element> m_lastDeferredTapElement; |
| 179 }; | 177 }; |
| 180 | 178 |
| 181 } // namespace blink | 179 } // namespace blink |
| 182 | 180 |
| 183 #endif // SKY_ENGINE_CORE_PAGE_EVENTHANDLER_H_ | 181 #endif // SKY_ENGINE_CORE_PAGE_EVENTHANDLER_H_ |
| OLD | NEW |