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

Side by Side Diff: Source/core/dom/shadow/ShadowRoot.h

Issue 947393002: InlinedVisitor: Migrate dom to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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
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 * * Neither the name of Google Inc. nor the names of its 10 * * Neither the name of Google Inc. nor the names of its
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 ShadowRoot* olderShadowRoot() const { return next(); } 117 ShadowRoot* olderShadowRoot() const { return next(); }
118 118
119 String innerHTML() const; 119 String innerHTML() const;
120 void setInnerHTML(const String&, ExceptionState&); 120 void setInnerHTML(const String&, ExceptionState&);
121 121
122 PassRefPtrWillBeRawPtr<Node> cloneNode(bool, ExceptionState&); 122 PassRefPtrWillBeRawPtr<Node> cloneNode(bool, ExceptionState&);
123 PassRefPtrWillBeRawPtr<Node> cloneNode(ExceptionState& exceptionState) { ret urn cloneNode(true, exceptionState); } 123 PassRefPtrWillBeRawPtr<Node> cloneNode(ExceptionState& exceptionState) { ret urn cloneNode(true, exceptionState); }
124 124
125 StyleSheetList* styleSheets(); 125 StyleSheetList* styleSheets();
126 126
127 virtual void trace(Visitor*) override; 127 DECLARE_VIRTUAL_TRACE();
128 128
129 private: 129 private:
130 ShadowRoot(Document&, ShadowRootType); 130 ShadowRoot(Document&, ShadowRootType);
131 virtual ~ShadowRoot(); 131 virtual ~ShadowRoot();
132 132
133 #if !ENABLE(OILPAN) 133 #if !ENABLE(OILPAN)
134 virtual void dispose() override; 134 virtual void dispose() override;
135 #endif 135 #endif
136 136
137 virtual void childrenChanged(const ChildrenChange&) override; 137 virtual void childrenChanged(const ChildrenChange&) override;
(...skipping 24 matching lines...) Expand all
162 return adjustedFocusedElement(); 162 return adjustedFocusedElement();
163 } 163 }
164 164
165 DEFINE_NODE_TYPE_CASTS(ShadowRoot, isShadowRoot()); 165 DEFINE_NODE_TYPE_CASTS(ShadowRoot, isShadowRoot());
166 DEFINE_TYPE_CASTS(ShadowRoot, TreeScope, treeScope, treeScope->rootNode().isShad owRoot(), treeScope.rootNode().isShadowRoot()); 166 DEFINE_TYPE_CASTS(ShadowRoot, TreeScope, treeScope, treeScope->rootNode().isShad owRoot(), treeScope.rootNode().isShadowRoot());
167 DEFINE_TYPE_CASTS(TreeScope, ShadowRoot, shadowRoot, true, true); 167 DEFINE_TYPE_CASTS(TreeScope, ShadowRoot, shadowRoot, true, true);
168 168
169 } // namespace blink 169 } // namespace blink
170 170
171 #endif // ShadowRoot_h 171 #endif // ShadowRoot_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698