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

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

Issue 1942723004: Change EventTarget callback APIs for add/RemoveEventListenerInternal. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix gypi Created 4 years, 7 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) 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 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
736 CreateSVGElement = CreateElement | IsSVGFlag, 736 CreateSVGElement = CreateElement | IsSVGFlag,
737 CreateDocument = CreateContainer | InDocumentFlag, 737 CreateDocument = CreateContainer | InDocumentFlag,
738 CreateInsertionPoint = CreateHTMLElement | IsInsertionPointFlag, 738 CreateInsertionPoint = CreateHTMLElement | IsInsertionPointFlag,
739 CreateEditingText = CreateText | HasNameOrIsEditingTextFlag, 739 CreateEditingText = CreateText | HasNameOrIsEditingTextFlag,
740 }; 740 };
741 741
742 Node(TreeScope*, ConstructionType); 742 Node(TreeScope*, ConstructionType);
743 743
744 virtual void didMoveToNewDocument(Document& oldDocument); 744 virtual void didMoveToNewDocument(Document& oldDocument);
745 745
746 bool addEventListenerInternal(const AtomicString& eventType, EventListener*, const EventListenerOptions&) override; 746 void addedEventListener(const AtomicString& eventType, const RegisteredEvent Listener&) override;
747 bool removeEventListenerInternal(const AtomicString& eventType, EventListene r*, const EventListenerOptions&) override; 747 void removedEventListener(const AtomicString& eventType, const RegisteredEve ntListener&) override;
748 DispatchEventResult dispatchEventInternal(Event*) override; 748 DispatchEventResult dispatchEventInternal(Event*) override;
749 749
750 static void reattachWhitespaceSiblingsIfNeeded(Text* start); 750 static void reattachWhitespaceSiblingsIfNeeded(Text* start);
751 751
752 bool hasRareData() const { return getFlag(HasRareDataFlag); } 752 bool hasRareData() const { return getFlag(HasRareDataFlag); }
753 753
754 NodeRareData* rareData() const; 754 NodeRareData* rareData() const;
755 NodeRareData& ensureRareData(); 755 NodeRareData& ensureRareData();
756 756
757 void setHasCustomStyleCallbacks() { setFlag(true, HasCustomStyleCallbacksFla g); } 757 void setHasCustomStyleCallbacks() { setFlag(true, HasCustomStyleCallbacksFla g); }
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
892 } // namespace blink 892 } // namespace blink
893 893
894 #ifndef NDEBUG 894 #ifndef NDEBUG
895 // Outside the WebCore namespace for ease of invocation from gdb. 895 // Outside the WebCore namespace for ease of invocation from gdb.
896 void showNode(const blink::Node*); 896 void showNode(const blink::Node*);
897 void showTree(const blink::Node*); 897 void showTree(const blink::Node*);
898 void showNodePath(const blink::Node*); 898 void showNodePath(const blink::Node*);
899 #endif 899 #endif
900 900
901 #endif // Node_h 901 #endif // Node_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698