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

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

Issue 2785853002: Selection Action mode triggered like a context menu (Closed)
Patch Set: fix tests Created 3 years, 6 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 const IntSize& touch_radius, 190 const IntSize& touch_radius,
191 IntRect& target_area, 191 IntRect& target_area,
192 Node*& target_node); 192 Node*& target_node);
193 193
194 WebInputEventResult SendContextMenuEvent( 194 WebInputEventResult SendContextMenuEvent(
195 const WebMouseEvent&, 195 const WebMouseEvent&,
196 Node* override_target_node = nullptr); 196 Node* override_target_node = nullptr);
197 WebInputEventResult SendContextMenuEventForKey( 197 WebInputEventResult SendContextMenuEventForKey(
198 Element* override_target_element = nullptr, 198 Element* override_target_element = nullptr,
199 WebMenuSourceType = kMenuSourceNone); 199 WebMenuSourceType = kMenuSourceNone);
200 WebInputEventResult SendContextMenuEventForTouchSelection(WebMenuSourceType);
200 201
201 // Returns whether pointerId is active or not 202 // Returns whether pointerId is active or not
202 bool IsPointerEventActive(int); 203 bool IsPointerEventActive(int);
203 204
204 void SetPointerCapture(int, EventTarget*); 205 void SetPointerCapture(int, EventTarget*);
205 void ReleasePointerCapture(int, EventTarget*); 206 void ReleasePointerCapture(int, EventTarget*);
206 bool HasPointerCapture(int, const EventTarget*) const; 207 bool HasPointerCapture(int, const EventTarget*) const;
207 bool HasProcessedPointerCapture(int, const EventTarget*) const; 208 bool HasProcessedPointerCapture(int, const EventTarget*) const;
208 209
209 void ElementRemoved(EventTarget*); 210 void ElementRemoved(EventTarget*);
(...skipping 174 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 suppress_mouse_events_from_gestures_; 389 bool suppress_mouse_events_from_gestures_;
389 }; 390 };
390 391
391 } // namespace blink 392 } // namespace blink
392 393
393 #endif // EventHandler_h 394 #endif // EventHandler_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698