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

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

Issue 22043003: [oilpan] Handlify childrenChanged. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 4 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 Node* nextTo(const Node* node) const { return m_distribution.nextTo(node); } 87 Node* nextTo(const Node* node) const { return m_distribution.nextTo(node); }
88 Node* previousTo(const Node* node) const { return m_distribution.previousTo( node); } 88 Node* previousTo(const Node* node) const { return m_distribution.previousTo( node); }
89 89
90 static const CSSSelectorList& emptySelectorList(); 90 static const CSSSelectorList& emptySelectorList();
91 91
92 virtual void accept(Visitor*) const OVERRIDE; 92 virtual void accept(Visitor*) const OVERRIDE;
93 93
94 protected: 94 protected:
95 InsertionPoint(const QualifiedName&, Handle<Document>); 95 InsertionPoint(const QualifiedName&, Handle<Document>);
96 virtual bool rendererIsNeeded(const NodeRenderingContext&) OVERRIDE; 96 virtual bool rendererIsNeeded(const NodeRenderingContext&) OVERRIDE;
97 virtual void childrenChanged(bool changedByParser, Node* beforeChange, Node* afterChange, int childCountDelta) OVERRIDE; 97 virtual void childrenChanged(bool changedByParser, const Handle<Node>& befor eChange, const Handle<Node>& afterChange, int childCountDelta) OVERRIDE;
98 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode >&) OVERRIDE; 98 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode >&) OVERRIDE;
99 virtual void removedFrom(const Handle<ContainerNode>&) OVERRIDE; 99 virtual void removedFrom(const Handle<ContainerNode>&) OVERRIDE;
100 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 100 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
101 virtual bool isInsertionPointNode() const OVERRIDE { return true; } 101 virtual bool isInsertionPointNode() const OVERRIDE { return true; }
102 102
103 private: 103 private:
104 104
105 ContentDistribution m_distribution; 105 ContentDistribution m_distribution;
106 bool m_registeredWithShadowRoot; 106 bool m_registeredWithShadowRoot;
107 }; 107 };
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 return 0; 162 return 0;
163 } 163 }
164 164
165 Result<InsertionPoint> resolveReprojection(const Node*); 165 Result<InsertionPoint> resolveReprojection(const Node*);
166 166
167 void collectInsertionPointsWhereNodeIsDistributed(const Node*, Vector<Member<Ins ertionPoint>, 8>& results); 167 void collectInsertionPointsWhereNodeIsDistributed(const Node*, Vector<Member<Ins ertionPoint>, 8>& results);
168 168
169 } // namespace WebCore 169 } // namespace WebCore
170 170
171 #endif // InsertionPoint_h 171 #endif // InsertionPoint_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698