| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2015 Google Inc. All rights reserved. | 2 * Copyright (C) 2015 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 | 101 |
| 102 DECLARE_VIRTUAL_TRACE(); | 102 DECLARE_VIRTUAL_TRACE(); |
| 103 | 103 |
| 104 private: | 104 private: |
| 105 HTMLSlotElement(Document&); | 105 HTMLSlotElement(Document&); |
| 106 | 106 |
| 107 InsertionNotificationRequest InsertedInto(ContainerNode*) final; | 107 InsertionNotificationRequest InsertedInto(ContainerNode*) final; |
| 108 void RemovedFrom(ContainerNode*) final; | 108 void RemovedFrom(ContainerNode*) final; |
| 109 void WillRecalcStyle(StyleRecalcChange) final; | 109 void WillRecalcStyle(StyleRecalcChange) final; |
| 110 | 110 |
| 111 const HeapVector<Member<Node>> GetDistributedNodesWithFallback() const; |
| 112 |
| 111 void EnqueueSlotChangeEvent(); | 113 void EnqueueSlotChangeEvent(); |
| 112 | 114 |
| 113 HeapVector<Member<Node>> assigned_nodes_; | 115 HeapVector<Member<Node>> assigned_nodes_; |
| 114 HeapVector<Member<Node>> distributed_nodes_; | 116 HeapVector<Member<Node>> distributed_nodes_; |
| 115 HeapVector<Member<Node>> old_distributed_nodes_; | 117 HeapVector<Member<Node>> old_distributed_nodes_; |
| 116 HeapHashMap<Member<const Node>, size_t> distributed_indices_; | 118 HeapHashMap<Member<const Node>, size_t> distributed_indices_; |
| 117 bool slotchange_event_enqueued_ = false; | 119 bool slotchange_event_enqueued_ = false; |
| 118 }; | 120 }; |
| 119 | 121 |
| 120 } // namespace blink | 122 } // namespace blink |
| 121 | 123 |
| 122 #endif // HTMLSlotElement_h | 124 #endif // HTMLSlotElement_h |
| OLD | NEW |