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

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

Issue 2681443003: Send click event after pointer capturing retarget (Closed)
Patch Set: Rename the function and the parameter names Created 3 years, 9 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 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 // preventDefaulted pointerdown (i.e., one of 298 // preventDefaulted pointerdown (i.e., one of
299 // {mousedown, mousemove, mouseup}). 299 // {mousedown, mousemove, mouseup}).
300 // TODO(mustaq): Can we avoid the clickCount param, instead use 300 // TODO(mustaq): Can we avoid the clickCount param, instead use
301 // WebmMouseEvent's count? 301 // WebmMouseEvent's count?
302 // Same applied to dispatchMouseEvent() above. 302 // Same applied to dispatchMouseEvent() above.
303 WebInputEventResult updatePointerTargetAndDispatchEvents( 303 WebInputEventResult updatePointerTargetAndDispatchEvents(
304 const AtomicString& mouseEventType, 304 const AtomicString& mouseEventType,
305 Node* target, 305 Node* target,
306 const String& canvasRegionId, 306 const String& canvasRegionId,
307 const WebMouseEvent&, 307 const WebMouseEvent&,
308 const Vector<WebMouseEvent>& coalescedEvents); 308 const Vector<WebMouseEvent>& coalescedEvents,
309 bool selectionOverLink = false);
309 310
310 // Clears drag target and related states. It is called when drag is done or 311 // Clears drag target and related states. It is called when drag is done or
311 // canceled. 312 // canceled.
312 void clearDragState(); 313 void clearDragState();
313 314
314 WebInputEventResult passMousePressEventToSubframe( 315 WebInputEventResult passMousePressEventToSubframe(
315 MouseEventWithHitTestResults&, 316 MouseEventWithHitTestResults&,
316 LocalFrame* subframe); 317 LocalFrame* subframe);
317 WebInputEventResult passMouseMoveEventToSubframe( 318 WebInputEventResult passMouseMoveEventToSubframe(
318 MouseEventWithHitTestResults&, 319 MouseEventWithHitTestResults&,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 385
385 // Set on GestureTapDown if the |pointerdown| event corresponding to the 386 // Set on GestureTapDown if the |pointerdown| event corresponding to the
386 // triggering |touchstart| event was canceled. This suppresses mouse event 387 // triggering |touchstart| event was canceled. This suppresses mouse event
387 // firing for the current gesture sequence (i.e. until next GestureTapDown). 388 // firing for the current gesture sequence (i.e. until next GestureTapDown).
388 bool m_suppressMouseEventsFromGestures; 389 bool m_suppressMouseEventsFromGestures;
389 }; 390 };
390 391
391 } // namespace blink 392 } // namespace blink
392 393
393 #endif // EventHandler_h 394 #endif // EventHandler_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/editing/SelectionController.cpp ('k') | third_party/WebKit/Source/core/input/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698