| OLD | NEW |
| 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 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 648 DispatchEventResult dispatchMouseEvent(const PlatformMouseEvent&, const Atom
icString& eventType, int clickCount = 0, Node* relatedTarget = nullptr); | 648 DispatchEventResult dispatchMouseEvent(const PlatformMouseEvent&, const Atom
icString& eventType, int clickCount = 0, Node* relatedTarget = nullptr); |
| 649 | 649 |
| 650 void dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEvent
Options = SendNoEvents, SimulatedClickCreationScope = SimulatedClickCreationScop
e::FromUserAgent); | 650 void dispatchSimulatedClick(Event* underlyingEvent, SimulatedClickMouseEvent
Options = SendNoEvents, SimulatedClickCreationScope = SimulatedClickCreationScop
e::FromUserAgent); |
| 651 | 651 |
| 652 void dispatchInputEvent(); | 652 void dispatchInputEvent(); |
| 653 | 653 |
| 654 // Perform the default action for an event. | 654 // Perform the default action for an event. |
| 655 virtual void defaultEventHandler(Event*); | 655 virtual void defaultEventHandler(Event*); |
| 656 virtual void willCallDefaultEventHandler(const Event&); | 656 virtual void willCallDefaultEventHandler(const Event&); |
| 657 | 657 |
| 658 EventTargetData* eventTargetData() override; | 658 EventTargetData* eventTargetData() const override; |
| 659 EventTargetData& ensureEventTargetData() override; | 659 EventTargetData& ensureEventTargetData() override; |
| 660 | 660 |
| 661 void getRegisteredMutationObserversOfType(HeapHashMap<Member<MutationObserve
r>, MutationRecordDeliveryOptions>&, MutationObserver::MutationType, const Quali
fiedName* attributeName); | 661 void getRegisteredMutationObserversOfType(HeapHashMap<Member<MutationObserve
r>, MutationRecordDeliveryOptions>&, MutationObserver::MutationType, const Quali
fiedName* attributeName); |
| 662 void registerMutationObserver(MutationObserver&, MutationObserverOptions, co
nst HashSet<AtomicString>& attributeFilter); | 662 void registerMutationObserver(MutationObserver&, MutationObserverOptions, co
nst HashSet<AtomicString>& attributeFilter); |
| 663 void unregisterMutationObserver(MutationObserverRegistration*); | 663 void unregisterMutationObserver(MutationObserverRegistration*); |
| 664 void registerTransientMutationObserver(MutationObserverRegistration*); | 664 void registerTransientMutationObserver(MutationObserverRegistration*); |
| 665 void unregisterTransientMutationObserver(MutationObserverRegistration*); | 665 void unregisterTransientMutationObserver(MutationObserverRegistration*); |
| 666 void notifyMutationObserversNodeWillDetach(); | 666 void notifyMutationObserversNodeWillDetach(); |
| 667 | 667 |
| 668 unsigned connectedSubframeCount() const; | 668 unsigned connectedSubframeCount() const; |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 766 | 766 |
| 767 static void reattachWhitespaceSiblingsIfNeeded(Text* start); | 767 static void reattachWhitespaceSiblingsIfNeeded(Text* start); |
| 768 | 768 |
| 769 #if !ENABLE(OILPAN) | 769 #if !ENABLE(OILPAN) |
| 770 void willBeDeletedFromDocument(); | 770 void willBeDeletedFromDocument(); |
| 771 #endif | 771 #endif |
| 772 | 772 |
| 773 bool hasRareData() const { return getFlag(HasRareDataFlag); } | 773 bool hasRareData() const { return getFlag(HasRareDataFlag); } |
| 774 | 774 |
| 775 NodeRareData* rareData() const; | 775 NodeRareData* rareData() const; |
| 776 NodeRareData* maybeRareData() const; |
| 776 NodeRareData& ensureRareData(); | 777 NodeRareData& ensureRareData(); |
| 777 #if !ENABLE(OILPAN) | 778 #if !ENABLE(OILPAN) |
| 778 void clearRareData(); | 779 void clearRareData(); |
| 779 | 780 |
| 780 void clearEventTargetData(); | 781 void clearEventTargetData(); |
| 781 #endif | 782 #endif |
| 782 | 783 |
| 783 void setHasCustomStyleCallbacks() { setFlag(true, HasCustomStyleCallbacksFla
g); } | 784 void setHasCustomStyleCallbacks() { setFlag(true, HasCustomStyleCallbacksFla
g); } |
| 784 | 785 |
| 785 void setTreeScope(TreeScope* scope) { m_treeScope = scope; } | 786 void setTreeScope(TreeScope* scope) { m_treeScope = scope; } |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 927 } // namespace blink | 928 } // namespace blink |
| 928 | 929 |
| 929 #ifndef NDEBUG | 930 #ifndef NDEBUG |
| 930 // Outside the WebCore namespace for ease of invocation from gdb. | 931 // Outside the WebCore namespace for ease of invocation from gdb. |
| 931 void showNode(const blink::Node*); | 932 void showNode(const blink::Node*); |
| 932 void showTree(const blink::Node*); | 933 void showTree(const blink::Node*); |
| 933 void showNodePath(const blink::Node*); | 934 void showNodePath(const blink::Node*); |
| 934 #endif | 935 #endif |
| 935 | 936 |
| 936 #endif // Node_h | 937 #endif // Node_h |
| OLD | NEW |