Chromium Code Reviews| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 100 | 100 |
| 101 DECLARE_VIRTUAL_TRACE(); | 101 DECLARE_VIRTUAL_TRACE(); |
| 102 | 102 |
| 103 private: | 103 private: |
| 104 HTMLSlotElement(Document&); | 104 HTMLSlotElement(Document&); |
| 105 | 105 |
| 106 InsertionNotificationRequest InsertedInto(ContainerNode*) final; | 106 InsertionNotificationRequest InsertedInto(ContainerNode*) final; |
| 107 void RemovedFrom(ContainerNode*) final; | 107 void RemovedFrom(ContainerNode*) final; |
| 108 void WillRecalcStyle(StyleRecalcChange) final; | 108 void WillRecalcStyle(StyleRecalcChange) final; |
| 109 | 109 |
| 110 const HeapVector<Member<Node>> GetDistributedNodesOfSlotInDocument() const; | |
|
hayato
2017/05/12 03:19:09
InDocument is not correct. It should be inNonShado
| |
| 111 | |
| 110 void EnqueueSlotChangeEvent(); | 112 void EnqueueSlotChangeEvent(); |
| 111 | 113 |
| 112 HeapVector<Member<Node>> assigned_nodes_; | 114 HeapVector<Member<Node>> assigned_nodes_; |
| 113 HeapVector<Member<Node>> distributed_nodes_; | 115 HeapVector<Member<Node>> distributed_nodes_; |
| 114 HeapVector<Member<Node>> old_distributed_nodes_; | 116 HeapVector<Member<Node>> old_distributed_nodes_; |
| 115 HeapHashMap<Member<const Node>, size_t> distributed_indices_; | 117 HeapHashMap<Member<const Node>, size_t> distributed_indices_; |
| 116 bool slotchange_event_enqueued_ = false; | 118 bool slotchange_event_enqueued_ = false; |
| 117 }; | 119 }; |
| 118 | 120 |
| 119 } // namespace blink | 121 } // namespace blink |
| 120 | 122 |
| 121 #endif // HTMLSlotElement_h | 123 #endif // HTMLSlotElement_h |
| OLD | NEW |