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

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

Issue 178473026: Have MutationObserverRegistration deal with references instead of pointers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/dom/MutationObserverRegistration.cpp ('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, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r ights 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 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 void dispatchInputEvent(); 645 void dispatchInputEvent();
646 646
647 // Perform the default action for an event. 647 // Perform the default action for an event.
648 virtual void defaultEventHandler(Event*); 648 virtual void defaultEventHandler(Event*);
649 virtual void willCallDefaultEventHandler(const Event&); 649 virtual void willCallDefaultEventHandler(const Event&);
650 650
651 virtual EventTargetData* eventTargetData() OVERRIDE; 651 virtual EventTargetData* eventTargetData() OVERRIDE;
652 virtual EventTargetData& ensureEventTargetData() OVERRIDE; 652 virtual EventTargetData& ensureEventTargetData() OVERRIDE;
653 653
654 void getRegisteredMutationObserversOfType(HashMap<MutationObserver*, Mutatio nRecordDeliveryOptions>&, MutationObserver::MutationType, const QualifiedName* a ttributeName); 654 void getRegisteredMutationObserversOfType(HashMap<MutationObserver*, Mutatio nRecordDeliveryOptions>&, MutationObserver::MutationType, const QualifiedName* a ttributeName);
655 void registerMutationObserver(MutationObserver*, MutationObserverOptions, co nst HashSet<AtomicString>& attributeFilter); 655 void registerMutationObserver(MutationObserver&, MutationObserverOptions, co nst HashSet<AtomicString>& attributeFilter);
656 void unregisterMutationObserver(MutationObserverRegistration*); 656 void unregisterMutationObserver(MutationObserverRegistration*);
657 void registerTransientMutationObserver(MutationObserverRegistration*); 657 void registerTransientMutationObserver(MutationObserverRegistration*);
658 void unregisterTransientMutationObserver(MutationObserverRegistration*); 658 void unregisterTransientMutationObserver(MutationObserverRegistration*);
659 void notifyMutationObserversNodeWillDetach(); 659 void notifyMutationObserversNodeWillDetach();
660 660
661 virtual void registerScopedHTMLStyleChild(); 661 virtual void registerScopedHTMLStyleChild();
662 virtual void unregisterScopedHTMLStyleChild(); 662 virtual void unregisterScopedHTMLStyleChild();
663 size_t numberOfScopedHTMLStyleChildren() const; 663 size_t numberOfScopedHTMLStyleChildren() const;
664 664
665 unsigned connectedSubframeCount() const; 665 unsigned connectedSubframeCount() const;
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 907
908 } // namespace WebCore 908 } // namespace WebCore
909 909
910 #ifndef NDEBUG 910 #ifndef NDEBUG
911 // Outside the WebCore namespace for ease of invocation from gdb. 911 // Outside the WebCore namespace for ease of invocation from gdb.
912 void showTree(const WebCore::Node*); 912 void showTree(const WebCore::Node*);
913 void showNodePath(const WebCore::Node*); 913 void showNodePath(const WebCore::Node*);
914 #endif 914 #endif
915 915
916 #endif 916 #endif
OLDNEW
« no previous file with comments | « Source/core/dom/MutationObserverRegistration.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698