Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
|
kochi
2016/03/01 12:55:40
2016?
yuzuchan
2016/03/02 09:02:14
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef AssignedElementTraversal_h | |
| 6 #define AssignedElementTraversal_h | |
| 7 | |
| 8 #include "core/dom/Element.h" | |
| 9 #include "core/html/HTMLSlotElement.h" | |
| 10 | |
| 11 namespace blink { | |
|
kochi
2016/03/01 12:55:40
It would be enough to insert forward declarations
yuzuchan
2016/03/02 09:02:14
Done.
| |
| 12 class AssignedElementTraversal { | |
| 13 public: | |
| 14 static HTMLSlotElement* slot(const Element& current); | |
| 15 static Element* assignedAncestor(const Element& current); | |
| 16 static Element* next(const Element& current); | |
| 17 static Element* previous(const Element& current); | |
| 18 static bool isInAssignedScope(const Element& current); | |
| 19 }; | |
| 20 } // namespace blink | |
| 21 | |
| 22 #endif | |
| OLD | NEW |