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

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

Issue 2274253002: Added counters for pointer boundary events fired. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 4 years, 3 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 bool bestZoomableAreaForTouchPoint(const IntPoint& touchCenter, const IntSiz e& touchRadius, IntRect& targetArea, Node*& targetNode); 179 bool bestZoomableAreaForTouchPoint(const IntPoint& touchCenter, const IntSiz e& touchRadius, IntRect& targetArea, Node*& targetNode);
180 180
181 WebInputEventResult sendContextMenuEvent(const PlatformMouseEvent&, Node* ov errideTargetNode = nullptr); 181 WebInputEventResult sendContextMenuEvent(const PlatformMouseEvent&, Node* ov errideTargetNode = nullptr);
182 WebInputEventResult sendContextMenuEventForKey(Element* overrideTargetElemen t = nullptr); 182 WebInputEventResult sendContextMenuEventForKey(Element* overrideTargetElemen t = nullptr);
183 183
184 // Returns whether pointerId is active or not 184 // Returns whether pointerId is active or not
185 bool isPointerEventActive(int); 185 bool isPointerEventActive(int);
186 186
187 void setPointerCapture(int, EventTarget*); 187 void setPointerCapture(int, EventTarget*);
188 void releasePointerCapture(int, EventTarget*); 188 void releasePointerCapture(int, EventTarget*);
189 bool hasPointerCapture(int, EventTarget*); 189 bool hasPointerCapture(int, const EventTarget*) const;
190 bool hasProcessedPointerCapture(int, const EventTarget*) const;
190 191
191 void elementRemoved(EventTarget*); 192 void elementRemoved(EventTarget*);
192 193
193 void setMouseDownMayStartAutoscroll() { m_mouseDownMayStartAutoscroll = true ; } 194 void setMouseDownMayStartAutoscroll() { m_mouseDownMayStartAutoscroll = true ; }
194 195
195 static WebInputEventResult mergeEventResult(WebInputEventResult resultA, Web InputEventResult resultB); 196 static WebInputEventResult mergeEventResult(WebInputEventResult resultA, Web InputEventResult resultB);
196 static WebInputEventResult toWebInputEventResult(DispatchEventResult); 197 static WebInputEventResult toWebInputEventResult(DispatchEventResult);
197 198
198 bool handleAccessKey(const PlatformKeyboardEvent&); 199 bool handleAccessKey(const PlatformKeyboardEvent&);
199 WebInputEventResult keyEvent(const PlatformKeyboardEvent&); 200 WebInputEventResult keyEvent(const PlatformKeyboardEvent&);
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 // firing for the current gesture sequence (i.e. until next GestureTapDown). 414 // firing for the current gesture sequence (i.e. until next GestureTapDown).
414 bool m_suppressMouseEventsFromGestures; 415 bool m_suppressMouseEventsFromGestures;
415 416
416 // TODO(nzolghadr): Temporary until further refactoring 417 // TODO(nzolghadr): Temporary until further refactoring
417 friend GestureManager; 418 friend GestureManager;
418 }; 419 };
419 420
420 } // namespace blink 421 } // namespace blink
421 422
422 #endif // EventHandler_h 423 #endif // EventHandler_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/core/input/EventHandler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698