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

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

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (Closed)
Patch Set: Created 3 years, 8 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef SlotAssignment_h 5 #ifndef SlotAssignment_h
6 #define SlotAssignment_h 6 #define SlotAssignment_h
7 7
8 // #include "core/dom/DocumentOrderedList.h" 8 // #include "core/dom/DocumentOrderedList.h"
9 #include "core/dom/DocumentOrderedMap.h" 9 #include "core/dom/DocumentOrderedMap.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
11 #include "wtf/HashMap.h" 11 #include "platform/wtf/HashMap.h"
12 #include "wtf/text/AtomicString.h" 12 #include "platform/wtf/text/AtomicString.h"
13 #include "wtf/text/AtomicStringHash.h" 13 #include "platform/wtf/text/AtomicStringHash.h"
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class HTMLSlotElement; 17 class HTMLSlotElement;
18 class Node; 18 class Node;
19 class ShadowRoot; 19 class ShadowRoot;
20 20
21 // TODO(hayato): Support SlotAssignment for non-shadow trees, e.g. a document 21 // TODO(hayato): Support SlotAssignment for non-shadow trees, e.g. a document
22 // tree. 22 // tree.
23 class SlotAssignment final : public GarbageCollected<SlotAssignment> { 23 class SlotAssignment final : public GarbageCollected<SlotAssignment> {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 HeapVector<Member<HTMLSlotElement>> slots_; 63 HeapVector<Member<HTMLSlotElement>> slots_;
64 Member<DocumentOrderedMap> slot_map_; 64 Member<DocumentOrderedMap> slot_map_;
65 WeakMember<ShadowRoot> owner_; 65 WeakMember<ShadowRoot> owner_;
66 unsigned needs_collect_slots_ : 1; 66 unsigned needs_collect_slots_ : 1;
67 unsigned slot_count_ : 31; 67 unsigned slot_count_ : 31;
68 }; 68 };
69 69
70 } // namespace blink 70 } // namespace blink
71 71
72 #endif // HTMLSlotAssignment_h 72 #endif // HTMLSlotAssignment_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698