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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 bool handleTextInputEvent(const String& text, Event* underlyingEvent = 0, Te
xtEventInputType = TextEventInputKeyboard); | 83 bool handleTextInputEvent(const String& text, Event* underlyingEvent = 0, Te
xtEventInputType = TextEventInputKeyboard); |
84 void defaultTextInputEventHandler(TextEvent*); | 84 void defaultTextInputEventHandler(TextEvent*); |
85 | 85 |
86 void focusDocumentView(); | 86 void focusDocumentView(); |
87 | 87 |
88 void capsLockStateMayHaveChanged(); // Only called by FrameSelection | 88 void capsLockStateMayHaveChanged(); // Only called by FrameSelection |
89 | 89 |
90 void notifyElementActivated(); | 90 void notifyElementActivated(); |
91 | 91 |
92 private: | 92 private: |
93 void selectClosestWordFromHitTestResult(const HitTestResult&, AppendTrailing
Whitespace); | |
94 void selectClosestMisspellingFromHitTestResult(const HitTestResult&, AppendT
railingWhitespace); | |
95 | |
96 OptionalCursor selectCursor(const HitTestResult&); | 93 OptionalCursor selectCursor(const HitTestResult&); |
97 OptionalCursor selectAutoCursor(const HitTestResult&, Node*); | 94 OptionalCursor selectAutoCursor(const HitTestResult&, Node*); |
98 | 95 |
99 void hoverTimerFired(Timer<EventHandler>*); | 96 void hoverTimerFired(Timer<EventHandler>*); |
100 void cursorUpdateTimerFired(Timer<EventHandler>*); | 97 void cursorUpdateTimerFired(Timer<EventHandler>*); |
101 void activeIntervalTimerFired(Timer<EventHandler>*); | 98 void activeIntervalTimerFired(Timer<EventHandler>*); |
102 | 99 |
103 bool isCursorVisible() const; | 100 bool isCursorVisible() const; |
104 void updateCursor(); | 101 void updateCursor(); |
105 | 102 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 bool m_didStartDrag; | 134 bool m_didStartDrag; |
138 | 135 |
139 Timer<EventHandler> m_activeIntervalTimer; | 136 Timer<EventHandler> m_activeIntervalTimer; |
140 double m_lastShowPressTimestamp; | 137 double m_lastShowPressTimestamp; |
141 RefPtr<Element> m_lastDeferredTapElement; | 138 RefPtr<Element> m_lastDeferredTapElement; |
142 }; | 139 }; |
143 | 140 |
144 } // namespace blink | 141 } // namespace blink |
145 | 142 |
146 #endif // SKY_ENGINE_CORE_PAGE_EVENTHANDLER_H_ | 143 #endif // SKY_ENGINE_CORE_PAGE_EVENTHANDLER_H_ |
OLD | NEW |