| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 class EventTarget; | 50 class EventTarget; |
| 51 class FloatPoint; | 51 class FloatPoint; |
| 52 class FloatQuad; | 52 class FloatQuad; |
| 53 class HitTestRequest; | 53 class HitTestRequest; |
| 54 class HitTestResult; | 54 class HitTestResult; |
| 55 class KeyboardEvent; | 55 class KeyboardEvent; |
| 56 class LocalFrame; | 56 class LocalFrame; |
| 57 class Node; | 57 class Node; |
| 58 class OptionalCursor; | 58 class OptionalCursor; |
| 59 class RenderLayer; | 59 class RenderLayer; |
| 60 class RenderLayerScrollableArea; | |
| 61 class RenderObject; | 60 class RenderObject; |
| 62 class ScrollableArea; | 61 class ScrollableArea; |
| 63 class Scrollbar; | 62 class Scrollbar; |
| 64 class TextEvent; | 63 class TextEvent; |
| 65 class VisibleSelection; | 64 class VisibleSelection; |
| 66 class Widget; | 65 class Widget; |
| 67 | 66 |
| 68 enum AppendTrailingWhitespace { ShouldAppendTrailingWhitespace, DontAppendTraili
ngWhitespace }; | 67 enum AppendTrailingWhitespace { ShouldAppendTrailingWhitespace, DontAppendTraili
ngWhitespace }; |
| 69 enum CheckDragHysteresis { ShouldCheckDragHysteresis, DontCheckDragHysteresis }; | 68 enum CheckDragHysteresis { ShouldCheckDragHysteresis, DontCheckDragHysteresis }; |
| 70 | 69 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 110 |
| 112 void hoverTimerFired(Timer<EventHandler>*); | 111 void hoverTimerFired(Timer<EventHandler>*); |
| 113 void cursorUpdateTimerFired(Timer<EventHandler>*); | 112 void cursorUpdateTimerFired(Timer<EventHandler>*); |
| 114 void activeIntervalTimerFired(Timer<EventHandler>*); | 113 void activeIntervalTimerFired(Timer<EventHandler>*); |
| 115 | 114 |
| 116 bool isCursorVisible() const; | 115 bool isCursorVisible() const; |
| 117 void updateCursor(); | 116 void updateCursor(); |
| 118 | 117 |
| 119 bool isInsideScrollbar(const IntPoint&) const; | 118 bool isInsideScrollbar(const IntPoint&) const; |
| 120 | 119 |
| 121 ScrollableArea* associatedScrollableArea(const RenderLayer*) const; | |
| 122 | |
| 123 // Scrolls the elements of the DOM tree. Returns true if a node was scrolled
. | 120 // Scrolls the elements of the DOM tree. Returns true if a node was scrolled
. |
| 124 // False if we reached the root and couldn't scroll anything. | 121 // False if we reached the root and couldn't scroll anything. |
| 125 // direction - The direction to scroll in. If this is a logicl direction, it
will be | 122 // direction - The direction to scroll in. If this is a logicl direction, it
will be |
| 126 // converted to the physical direction based on a node's writing
mode. | 123 // converted to the physical direction based on a node's writing
mode. |
| 127 // granularity - The units that the scroll delta parameter is in. | 124 // granularity - The units that the scroll delta parameter is in. |
| 128 // startNode - The node to start bubbling the scroll from. If a node can't s
croll, | 125 // startNode - The node to start bubbling the scroll from. If a node can't s
croll, |
| 129 // the scroll bubbles up to the containing block. | 126 // the scroll bubbles up to the containing block. |
| 130 // stopNode - On input, if provided and non-null, the node at which we shoul
d stop bubbling on input. | 127 // stopNode - On input, if provided and non-null, the node at which we shoul
d stop bubbling on input. |
| 131 // On output, if provided and a node was scrolled stopNode will p
oint to that node. | 128 // On output, if provided and a node was scrolled stopNode will p
oint to that node. |
| 132 // delta - The delta to scroll by, in the units of the granularity parameter
. (e.g. pixels, lines, pages, etc.) | 129 // delta - The delta to scroll by, in the units of the granularity parameter
. (e.g. pixels, lines, pages, etc.) |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 bool m_didStartDrag; | 166 bool m_didStartDrag; |
| 170 | 167 |
| 171 Timer<EventHandler> m_activeIntervalTimer; | 168 Timer<EventHandler> m_activeIntervalTimer; |
| 172 double m_lastShowPressTimestamp; | 169 double m_lastShowPressTimestamp; |
| 173 RefPtr<Element> m_lastDeferredTapElement; | 170 RefPtr<Element> m_lastDeferredTapElement; |
| 174 }; | 171 }; |
| 175 | 172 |
| 176 } // namespace blink | 173 } // namespace blink |
| 177 | 174 |
| 178 #endif // SKY_ENGINE_CORE_PAGE_EVENTHANDLER_H_ | 175 #endif // SKY_ENGINE_CORE_PAGE_EVENTHANDLER_H_ |
| OLD | NEW |