Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: sky/engine/core/page/EventHandler.h

Issue 928393003: Remove the concept of document.documentElement (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « sky/engine/core/frame/NewEventHandler.cpp ('k') | sky/engine/core/page/EventHandler.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « sky/engine/core/frame/NewEventHandler.cpp ('k') | sky/engine/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698