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

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

Issue 2864833002: Tapping handle shouldn't select misspelled word (Closed)
Patch Set: Fixed naming 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 30 matching lines...) Expand all
41 #include "platform/UserGestureIndicator.h" 41 #include "platform/UserGestureIndicator.h"
42 #include "platform/geometry/LayoutPoint.h" 42 #include "platform/geometry/LayoutPoint.h"
43 #include "platform/heap/Handle.h" 43 #include "platform/heap/Handle.h"
44 #include "platform/scroll/ScrollTypes.h" 44 #include "platform/scroll/ScrollTypes.h"
45 #include "platform/wtf/Forward.h" 45 #include "platform/wtf/Forward.h"
46 #include "platform/wtf/HashMap.h" 46 #include "platform/wtf/HashMap.h"
47 #include "platform/wtf/HashTraits.h" 47 #include "platform/wtf/HashTraits.h"
48 #include "platform/wtf/RefPtr.h" 48 #include "platform/wtf/RefPtr.h"
49 #include "public/platform/WebInputEvent.h" 49 #include "public/platform/WebInputEvent.h"
50 #include "public/platform/WebInputEventResult.h" 50 #include "public/platform/WebInputEventResult.h"
51 #include "public/web/WebMenuSourceType.h"
51 52
52 namespace blink { 53 namespace blink {
53 54
54 class DataTransfer; 55 class DataTransfer;
55 class PaintLayer; 56 class PaintLayer;
56 class Element; 57 class Element;
57 class Event; 58 class Event;
58 class EventTarget; 59 class EventTarget;
59 template <typename EventType> 60 template <typename EventType>
60 class EventWithHitTestResults; 61 class EventWithHitTestResults;
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 // we using now and is it tested? 188 // we using now and is it tested?
188 bool BestZoomableAreaForTouchPoint(const IntPoint& touch_center, 189 bool BestZoomableAreaForTouchPoint(const IntPoint& touch_center,
189 const IntSize& touch_radius, 190 const IntSize& touch_radius,
190 IntRect& target_area, 191 IntRect& target_area,
191 Node*& target_node); 192 Node*& target_node);
192 193
193 WebInputEventResult SendContextMenuEvent( 194 WebInputEventResult SendContextMenuEvent(
194 const WebMouseEvent&, 195 const WebMouseEvent&,
195 Node* override_target_node = nullptr); 196 Node* override_target_node = nullptr);
196 WebInputEventResult ShowNonLocatedContextMenu( 197 WebInputEventResult ShowNonLocatedContextMenu(
197 Element* override_target_element = nullptr); 198 Element* override_target_element = nullptr,
199 WebMenuSourceType = kMenuSourceNone);
198 200
199 // Returns whether pointerId is active or not 201 // Returns whether pointerId is active or not
200 bool IsPointerEventActive(int); 202 bool IsPointerEventActive(int);
201 203
202 void SetPointerCapture(int, EventTarget*); 204 void SetPointerCapture(int, EventTarget*);
203 void ReleasePointerCapture(int, EventTarget*); 205 void ReleasePointerCapture(int, EventTarget*);
204 bool HasPointerCapture(int, const EventTarget*) const; 206 bool HasPointerCapture(int, const EventTarget*) const;
205 bool HasProcessedPointerCapture(int, const EventTarget*) const; 207 bool HasProcessedPointerCapture(int, const EventTarget*) const;
206 208
207 void ElementRemoved(EventTarget*); 209 void ElementRemoved(EventTarget*);
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 384
383 // Set on GestureTapDown if the |pointerdown| event corresponding to the 385 // Set on GestureTapDown if the |pointerdown| event corresponding to the
384 // triggering |touchstart| event was canceled. This suppresses mouse event 386 // triggering |touchstart| event was canceled. This suppresses mouse event
385 // firing for the current gesture sequence (i.e. until next GestureTapDown). 387 // firing for the current gesture sequence (i.e. until next GestureTapDown).
386 bool suppress_mouse_events_from_gestures_; 388 bool suppress_mouse_events_from_gestures_;
387 }; 389 };
388 390
389 } // namespace blink 391 } // namespace blink
390 392
391 #endif // EventHandler_h 393 #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