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

Side by Side Diff: third_party/WebKit/Source/core/dom/shadow/InsertionPoint.h

Issue 2164493002: Renamed Node::attach to Node::attachLayoutTree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 bool isActive() const; 49 bool isActive() const;
50 bool canBeActive() const; 50 bool canBeActive() const;
51 51
52 bool isShadowInsertionPoint() const; 52 bool isShadowInsertionPoint() const;
53 bool isContentInsertionPoint() const; 53 bool isContentInsertionPoint() const;
54 54
55 StaticNodeList* getDistributedNodes(); 55 StaticNodeList* getDistributedNodes();
56 56
57 virtual bool canAffectSelector() const { return false; } 57 virtual bool canAffectSelector() const { return false; }
58 58
59 void attach(const AttachContext& = AttachContext()) override; 59 void attachLayoutTree(const AttachContext& = AttachContext()) override;
60 void detach(const AttachContext& = AttachContext()) override; 60 void detach(const AttachContext& = AttachContext()) override;
61 61
62 size_t distributedNodesSize() const { return m_distributedNodes.size(); } 62 size_t distributedNodesSize() const { return m_distributedNodes.size(); }
63 Node* distributedNodeAt(size_t index) const { return m_distributedNodes.at( index); } 63 Node* distributedNodeAt(size_t index) const { return m_distributedNodes.at( index); }
64 Node* firstDistributedNode() const { return m_distributedNodes.isEmpty() ? 0 : m_distributedNodes.first(); } 64 Node* firstDistributedNode() const { return m_distributedNodes.isEmpty() ? 0 : m_distributedNodes.first(); }
65 Node* lastDistributedNode() const { return m_distributedNodes.isEmpty() ? 0 : m_distributedNodes.last(); } 65 Node* lastDistributedNode() const { return m_distributedNodes.isEmpty() ? 0 : m_distributedNodes.last(); }
66 Node* distributedNodeNextTo(const Node* node) const { return m_distributedNo des.nextTo(node); } 66 Node* distributedNodeNextTo(const Node* node) const { return m_distributedNo des.nextTo(node); }
67 Node* distributedNodePreviousTo(const Node* node) const { return m_distribut edNodes.previousTo(node); } 67 Node* distributedNodePreviousTo(const Node* node) const { return m_distribut edNodes.previousTo(node); }
68 68
69 DECLARE_VIRTUAL_TRACE(); 69 DECLARE_VIRTUAL_TRACE();
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 return 0; 112 return 0;
113 } 113 }
114 114
115 const InsertionPoint* resolveReprojection(const Node*); 115 const InsertionPoint* resolveReprojection(const Node*);
116 116
117 void collectDestinationInsertionPoints(const Node&, HeapVector<Member<InsertionP oint>, 8>& results); 117 void collectDestinationInsertionPoints(const Node&, HeapVector<Member<InsertionP oint>, 8>& results);
118 118
119 } // namespace blink 119 } // namespace blink
120 120
121 #endif // InsertionPoint_h 121 #endif // InsertionPoint_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698