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

Side by Side Diff: third_party/WebKit/Source/core/input/EventHandler.h

Issue 2191533003: Refactor Timer classes in preparation for landing FrameTimers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 WebInputEventResult handleGestureLongPress(const GestureEventWithHitTestResu lts&); 255 WebInputEventResult handleGestureLongPress(const GestureEventWithHitTestResu lts&);
256 WebInputEventResult handleGestureLongTap(const GestureEventWithHitTestResult s&); 256 WebInputEventResult handleGestureLongTap(const GestureEventWithHitTestResult s&);
257 257
258 void updateGestureTargetNodeForMouseEvent(const GestureEventWithHitTestResul ts&); 258 void updateGestureTargetNodeForMouseEvent(const GestureEventWithHitTestResul ts&);
259 259
260 bool shouldApplyTouchAdjustment(const PlatformGestureEvent&) const; 260 bool shouldApplyTouchAdjustment(const PlatformGestureEvent&) const;
261 261
262 OptionalCursor selectCursor(const HitTestResult&); 262 OptionalCursor selectCursor(const HitTestResult&);
263 OptionalCursor selectAutoCursor(const HitTestResult&, Node*, const Cursor& i Beam); 263 OptionalCursor selectAutoCursor(const HitTestResult&, Node*, const Cursor& i Beam);
264 264
265 void hoverTimerFired(Timer<EventHandler>*); 265 void hoverTimerFired(TimerBase*);
266 void cursorUpdateTimerFired(Timer<EventHandler>*); 266 void cursorUpdateTimerFired(TimerBase*);
267 void activeIntervalTimerFired(Timer<EventHandler>*); 267 void activeIntervalTimerFired(TimerBase*);
268 268
269 void fakeMouseMoveEventTimerFired(Timer<EventHandler>*); 269 void fakeMouseMoveEventTimerFired(TimerBase*);
270 void cancelFakeMouseMoveEvent(); 270 void cancelFakeMouseMoveEvent();
271 bool isCursorVisible() const; 271 bool isCursorVisible() const;
272 void updateCursor(); 272 void updateCursor();
273 273
274 ScrollableArea* associatedScrollableArea(const PaintLayer*) const; 274 ScrollableArea* associatedScrollableArea(const PaintLayer*) const;
275 275
276 void invalidateClick(); 276 void invalidateClick();
277 277
278 Node* updateMouseEventTargetNode(Node*, const PlatformMouseEvent&); 278 Node* updateMouseEventTargetNode(Node*, const PlatformMouseEvent&);
279 void updateMouseEventTargetNodeAndSendEvents(Node*, const PlatformMouseEvent &, bool isFrameBoundaryTransition = false); 279 void updateMouseEventTargetNodeAndSendEvents(Node*, const PlatformMouseEvent &, bool isFrameBoundaryTransition = false);
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 // firing for the current gesture sequence (i.e. until next GestureTapDown). 415 // firing for the current gesture sequence (i.e. until next GestureTapDown).
416 bool m_suppressMouseEventsFromGestures; 416 bool m_suppressMouseEventsFromGestures;
417 417
418 // TODO(nzolghadr): Temporary until further refactoring 418 // TODO(nzolghadr): Temporary until further refactoring
419 friend GestureManager; 419 friend GestureManager;
420 }; 420 };
421 421
422 } // namespace blink 422 } // namespace blink
423 423
424 #endif // EventHandler_h 424 #endif // EventHandler_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698