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

Side by Side Diff: Source/core/html/shadow/InsertionPoint.h

Issue 20123003: [oilpan] The Node hierarchy should have correct accept method chains (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 5 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 90
91 protected: 91 protected:
92 InsertionPoint(const QualifiedName&, Handle<Document>); 92 InsertionPoint(const QualifiedName&, Handle<Document>);
93 virtual bool rendererIsNeeded(const NodeRenderingContext&) OVERRIDE; 93 virtual bool rendererIsNeeded(const NodeRenderingContext&) OVERRIDE;
94 virtual void childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta) OVERRIDE; 94 virtual void childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta) OVERRIDE;
95 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 95 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
96 virtual void removedFrom(ContainerNode*) OVERRIDE; 96 virtual void removedFrom(ContainerNode*) OVERRIDE;
97 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 97 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
98 virtual bool isInsertionPointNode() const OVERRIDE { return true; } 98 virtual bool isInsertionPointNode() const OVERRIDE { return true; }
99 99
100 virtual void acceptHeapVisitor(Visitor*) const OVERRIDE;
101
100 private: 102 private:
101 103
102 ContentDistribution m_distribution; 104 ContentDistribution m_distribution;
103 bool m_registeredWithShadowRoot; 105 bool m_registeredWithShadowRoot;
104 }; 106 };
105 107
106 inline InsertionPoint* toInsertionPoint(Node* node) 108 inline InsertionPoint* toInsertionPoint(Node* node)
107 { 109 {
108 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isInsertionPoint()); 110 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->isInsertionPoint());
109 return static_cast<InsertionPoint*>(node); 111 return static_cast<InsertionPoint*>(node);
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 return 0; 161 return 0;
160 } 162 }
161 163
162 InsertionPoint* resolveReprojection(const Node*); 164 InsertionPoint* resolveReprojection(const Node*);
163 165
164 void collectInsertionPointsWhereNodeIsDistributed(const Node*, Vector<InsertionP oint*, 8>& results); 166 void collectInsertionPointsWhereNodeIsDistributed(const Node*, Vector<InsertionP oint*, 8>& results);
165 167
166 } // namespace WebCore 168 } // namespace WebCore
167 169
168 #endif // InsertionPoint_h 170 #endif // InsertionPoint_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698