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

Side by Side Diff: Source/core/dom/Node.h

Issue 1144313003: Added PointerEvent firing on touch events. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased. TODO fixes. Created 5 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
« no previous file with comments | « Source/core/dom/GlobalEventHandlers.idl ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved. 5 * Copyright (C) 2004-2011, 2014 Apple Inc. All rights reserved.
6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 class NameNodeList; 66 class NameNodeList;
67 class NamedNodeMap; 67 class NamedNodeMap;
68 class NodeEventContext; 68 class NodeEventContext;
69 class NodeList; 69 class NodeList;
70 class NodeListsNodeData; 70 class NodeListsNodeData;
71 class NodeRareData; 71 class NodeRareData;
72 class PlatformGestureEvent; 72 class PlatformGestureEvent;
73 class PlatformKeyboardEvent; 73 class PlatformKeyboardEvent;
74 class PlatformMouseEvent; 74 class PlatformMouseEvent;
75 class PlatformWheelEvent; 75 class PlatformWheelEvent;
76 class PointerEvent;
76 class QualifiedName; 77 class QualifiedName;
77 class RadioNodeList; 78 class RadioNodeList;
78 class RegisteredEventListener; 79 class RegisteredEventListener;
79 class LayoutBox; 80 class LayoutBox;
80 class LayoutBoxModelObject; 81 class LayoutBoxModelObject;
81 class LayoutObject; 82 class LayoutObject;
82 class ComputedStyle; 83 class ComputedStyle;
83 class SVGQualifiedName; 84 class SVGQualifiedName;
84 class ShadowRoot; 85 class ShadowRoot;
85 template <typename NodeType> class StaticNodeTypeList; 86 template <typename NodeType> class StaticNodeTypeList;
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 virtual void handleLocalEvents(Event&); 647 virtual void handleLocalEvents(Event&);
647 648
648 void dispatchSubtreeModifiedEvent(); 649 void dispatchSubtreeModifiedEvent();
649 bool dispatchDOMActivateEvent(int detail, PassRefPtrWillBeRawPtr<Event> unde rlyingEvent); 650 bool dispatchDOMActivateEvent(int detail, PassRefPtrWillBeRawPtr<Event> unde rlyingEvent);
650 651
651 bool dispatchKeyEvent(const PlatformKeyboardEvent&); 652 bool dispatchKeyEvent(const PlatformKeyboardEvent&);
652 bool dispatchWheelEvent(const PlatformWheelEvent&); 653 bool dispatchWheelEvent(const PlatformWheelEvent&);
653 bool dispatchMouseEvent(const PlatformMouseEvent&, const AtomicString& event Type, int clickCount = 0, Node* relatedTarget = nullptr); 654 bool dispatchMouseEvent(const PlatformMouseEvent&, const AtomicString& event Type, int clickCount = 0, Node* relatedTarget = nullptr);
654 bool dispatchGestureEvent(const PlatformGestureEvent&); 655 bool dispatchGestureEvent(const PlatformGestureEvent&);
655 bool dispatchTouchEvent(PassRefPtrWillBeRawPtr<TouchEvent>); 656 bool dispatchTouchEvent(PassRefPtrWillBeRawPtr<TouchEvent>);
657 bool dispatchPointerEvent(PassRefPtrWillBeRawPtr<PointerEvent>);
656 658
657 void dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEvent Options = SendNoEvents); 659 void dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEvent Options = SendNoEvents);
658 660
659 void dispatchInputEvent(); 661 void dispatchInputEvent();
660 662
661 // Perform the default action for an event. 663 // Perform the default action for an event.
662 virtual void defaultEventHandler(Event*); 664 virtual void defaultEventHandler(Event*);
663 virtual void willCallDefaultEventHandler(const Event&); 665 virtual void willCallDefaultEventHandler(const Event&);
664 666
665 virtual EventTargetData* eventTargetData() override; 667 virtual EventTargetData* eventTargetData() override;
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
915 } // namespace blink 917 } // namespace blink
916 918
917 #ifndef NDEBUG 919 #ifndef NDEBUG
918 // Outside the WebCore namespace for ease of invocation from gdb. 920 // Outside the WebCore namespace for ease of invocation from gdb.
919 void showNode(const blink::Node*); 921 void showNode(const blink::Node*);
920 void showTree(const blink::Node*); 922 void showTree(const blink::Node*);
921 void showNodePath(const blink::Node*); 923 void showNodePath(const blink::Node*);
922 #endif 924 #endif
923 925
924 #endif // Node_h 926 #endif // Node_h
OLDNEW
« no previous file with comments | « Source/core/dom/GlobalEventHandlers.idl ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698