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

Side by Side Diff: Source/core/page/EventHandler.h

Issue 236203005: Remove EditableLinkBehavior, which is always set to NeverLive by Chromium. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 8 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 | « Source/core/html/HTMLAnchorElement.cpp ('k') | Source/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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 void defaultTextInputEventHandler(TextEvent*); 167 void defaultTextInputEventHandler(TextEvent*);
168 168
169 void dragSourceEndedAt(const PlatformMouseEvent&, DragOperation); 169 void dragSourceEndedAt(const PlatformMouseEvent&, DragOperation);
170 170
171 void focusDocumentView(); 171 void focusDocumentView();
172 172
173 void capsLockStateMayHaveChanged(); // Only called by FrameSelection 173 void capsLockStateMayHaveChanged(); // Only called by FrameSelection
174 174
175 bool handleTouchEvent(const PlatformTouchEvent&); 175 bool handleTouchEvent(const PlatformTouchEvent&);
176 176
177 bool useHandCursor(Node*, bool isOverLink, bool shiftKey); 177 bool useHandCursor(Node*, bool isOverLink);
178 178
179 void notifyElementActivated(); 179 void notifyElementActivated();
180 180
181 private: 181 private:
182 static DragState& dragState(); 182 static DragState& dragState();
183 183
184 PassRefPtrWillBeRawPtr<Clipboard> createDraggingClipboard() const; 184 PassRefPtrWillBeRawPtr<Clipboard> createDraggingClipboard() const;
185 185
186 bool updateSelectionForMouseDownDispatchingSelectStart(Node*, const VisibleS election&, TextGranularity); 186 bool updateSelectionForMouseDownDispatchingSelectStart(Node*, const VisibleS election&, TextGranularity);
187 void selectClosestWordFromHitTestResult(const HitTestResult&, AppendTrailing Whitespace); 187 void selectClosestWordFromHitTestResult(const HitTestResult&, AppendTrailing Whitespace);
(...skipping 16 matching lines...) Expand all
204 bool handleGestureTap(const PlatformGestureEvent&, const IntPoint& adjustedP oint); 204 bool handleGestureTap(const PlatformGestureEvent&, const IntPoint& adjustedP oint);
205 bool handleGestureLongPress(const PlatformGestureEvent&, const IntPoint& adj ustedPoint); 205 bool handleGestureLongPress(const PlatformGestureEvent&, const IntPoint& adj ustedPoint);
206 bool handleGestureLongTap(const PlatformGestureEvent&, const IntPoint& adjus tedPoint); 206 bool handleGestureLongTap(const PlatformGestureEvent&, const IntPoint& adjus tedPoint);
207 bool handleGestureTwoFingerTap(const PlatformGestureEvent&, const IntPoint& adjustedPoint); 207 bool handleGestureTwoFingerTap(const PlatformGestureEvent&, const IntPoint& adjustedPoint);
208 bool handleGestureScrollUpdate(const PlatformGestureEvent&); 208 bool handleGestureScrollUpdate(const PlatformGestureEvent&);
209 bool handleGestureScrollBegin(const PlatformGestureEvent&); 209 bool handleGestureScrollBegin(const PlatformGestureEvent&);
210 void clearGestureScrollNodes(); 210 void clearGestureScrollNodes();
211 211
212 bool shouldApplyTouchAdjustment(const PlatformGestureEvent&) const; 212 bool shouldApplyTouchAdjustment(const PlatformGestureEvent&) const;
213 213
214 OptionalCursor selectCursor(const HitTestResult&, bool shiftKey); 214 OptionalCursor selectCursor(const HitTestResult&);
215 OptionalCursor selectAutoCursor(const HitTestResult&, Node*, const Cursor& i Beam, bool shiftKey); 215 OptionalCursor selectAutoCursor(const HitTestResult&, Node*, const Cursor& i Beam);
216 216
217 void hoverTimerFired(Timer<EventHandler>*); 217 void hoverTimerFired(Timer<EventHandler>*);
218 void cursorUpdateTimerFired(Timer<EventHandler>*); 218 void cursorUpdateTimerFired(Timer<EventHandler>*);
219 void activeIntervalTimerFired(Timer<EventHandler>*); 219 void activeIntervalTimerFired(Timer<EventHandler>*);
220 220
221 bool shouldTurnVerticalTicksIntoHorizontal(const HitTestResult&, const Platf ormWheelEvent&) const; 221 bool shouldTurnVerticalTicksIntoHorizontal(const HitTestResult&, const Platf ormWheelEvent&) const;
222 bool mouseDownMayStartSelect() const { return m_mouseDownMayStartSelect; } 222 bool mouseDownMayStartSelect() const { return m_mouseDownMayStartSelect; }
223 223
224 void fakeMouseMoveEventTimerFired(Timer<EventHandler>*); 224 void fakeMouseMoveEventTimerFired(Timer<EventHandler>*);
225 void cancelFakeMouseMoveEvent(); 225 void cancelFakeMouseMoveEvent();
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 float m_syntheticPageScaleFactor; 395 float m_syntheticPageScaleFactor;
396 396
397 Timer<EventHandler> m_activeIntervalTimer; 397 Timer<EventHandler> m_activeIntervalTimer;
398 double m_lastShowPressTimestamp; 398 double m_lastShowPressTimestamp;
399 RefPtr<Element> m_lastDeferredTapElement; 399 RefPtr<Element> m_lastDeferredTapElement;
400 }; 400 };
401 401
402 } // namespace WebCore 402 } // namespace WebCore
403 403
404 #endif // EventHandler_h 404 #endif // EventHandler_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLAnchorElement.cpp ('k') | Source/core/page/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698