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

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

Issue 2491233002: Make UA DOMActivate events composed events (Closed)
Patch Set: wip Created 4 years, 1 month 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) 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. 6 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved.
7 * (http://www.torchmobile.com/) 7 * (http://www.torchmobile.com/)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 return nullptr; 721 return nullptr;
722 } 722 }
723 virtual void postDispatchEventHandler(Event*, EventDispatchHandlingState*) {} 723 virtual void postDispatchEventHandler(Event*, EventDispatchHandlingState*) {}
724 724
725 void dispatchScopedEvent(Event*); 725 void dispatchScopedEvent(Event*);
726 726
727 virtual void handleLocalEvents(Event&); 727 virtual void handleLocalEvents(Event&);
728 728
729 void dispatchSubtreeModifiedEvent(); 729 void dispatchSubtreeModifiedEvent();
730 DispatchEventResult dispatchDOMActivateEvent(int detail, 730 DispatchEventResult dispatchDOMActivateEvent(int detail,
731 Event* underlyingEvent); 731 Event& underlyingEvent);
732 732
733 DispatchEventResult dispatchMouseEvent(const PlatformMouseEvent&, 733 DispatchEventResult dispatchMouseEvent(const PlatformMouseEvent&,
734 const AtomicString& eventType, 734 const AtomicString& eventType,
735 int clickCount = 0, 735 int clickCount = 0,
736 Node* relatedTarget = nullptr); 736 Node* relatedTarget = nullptr);
737 737
738 void dispatchSimulatedClick( 738 void dispatchSimulatedClick(
739 Event* underlyingEvent, 739 Event* underlyingEvent,
740 SimulatedClickMouseEventOptions = SendNoEvents, 740 SimulatedClickMouseEventOptions = SendNoEvents,
741 SimulatedClickCreationScope = SimulatedClickCreationScope::FromUserAgent); 741 SimulatedClickCreationScope = SimulatedClickCreationScope::FromUserAgent);
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
1024 } // namespace blink 1024 } // namespace blink
1025 1025
1026 #ifndef NDEBUG 1026 #ifndef NDEBUG
1027 // Outside the WebCore namespace for ease of invocation from gdb. 1027 // Outside the WebCore namespace for ease of invocation from gdb.
1028 void showNode(const blink::Node*); 1028 void showNode(const blink::Node*);
1029 void showTree(const blink::Node*); 1029 void showTree(const blink::Node*);
1030 void showNodePath(const blink::Node*); 1030 void showNodePath(const blink::Node*);
1031 #endif 1031 #endif
1032 1032
1033 #endif // Node_h 1033 #endif // Node_h
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/shadow-dom/event-composed-ua.html ('k') | third_party/WebKit/Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698