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

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

Issue 1006723003: Fix template angle bracket syntax in dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/core/dom/MutationCallback.h ('k') | Source/core/dom/MutationObserver.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) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 ~MutationObserver(); 87 ~MutationObserver();
88 88
89 void observe(Node*, const MutationObserverInit&, ExceptionState&); 89 void observe(Node*, const MutationObserverInit&, ExceptionState&);
90 MutationRecordVector takeRecords(); 90 MutationRecordVector takeRecords();
91 void disconnect(); 91 void disconnect();
92 void observationStarted(MutationObserverRegistration*); 92 void observationStarted(MutationObserverRegistration*);
93 void observationEnded(MutationObserverRegistration*); 93 void observationEnded(MutationObserverRegistration*);
94 void enqueueMutationRecord(PassRefPtrWillBeRawPtr<MutationRecord>); 94 void enqueueMutationRecord(PassRefPtrWillBeRawPtr<MutationRecord>);
95 void setHasTransientRegistration(); 95 void setHasTransientRegistration();
96 96
97 WillBeHeapHashSet<RawPtrWillBeMember<Node> > getObservedNodes() const; 97 WillBeHeapHashSet<RawPtrWillBeMember<Node>> getObservedNodes() const;
98 98
99 DECLARE_TRACE(); 99 DECLARE_TRACE();
100 100
101 private: 101 private:
102 struct ObserverLessThan; 102 struct ObserverLessThan;
103 103
104 explicit MutationObserver(PassOwnPtrWillBeRawPtr<MutationCallback>); 104 explicit MutationObserver(PassOwnPtrWillBeRawPtr<MutationCallback>);
105 void deliver(); 105 void deliver();
106 bool shouldBeSuspended() const; 106 bool shouldBeSuspended() const;
107 107
108 void dispose(); 108 void dispose();
109 109
110 OwnPtrWillBeMember<MutationCallback> m_callback; 110 OwnPtrWillBeMember<MutationCallback> m_callback;
111 MutationRecordVector m_records; 111 MutationRecordVector m_records;
112 MutationObserverRegistrationSet m_registrations; 112 MutationObserverRegistrationSet m_registrations;
113 unsigned m_priority; 113 unsigned m_priority;
114 }; 114 };
115 115
116 } // namespace blink 116 } // namespace blink
117 117
118 #endif // MutationObserver_h 118 #endif // MutationObserver_h
OLDNEW
« no previous file with comments | « Source/core/dom/MutationCallback.h ('k') | Source/core/dom/MutationObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698