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

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

Issue 1840333002: Support slots' fallback contents in focus navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 SlotScopedTraversal_h 5 #ifndef SlotScopedTraversal_h
6 #define SlotScopedTraversal_h 6 #define SlotScopedTraversal_h
7 7
8 namespace blink { 8 namespace blink {
9 9
10 class Element; 10 class Element;
11 class HTMLSlotElement; 11 class HTMLSlotElement;
12 12
13 class SlotScopedTraversal { 13 class SlotScopedTraversal {
14 public: 14 public:
15 static HTMLSlotElement* findScopeOwnerSlot(const Element&); 15 static HTMLSlotElement* findScopeOwnerSlot(const Element&);
16 static Element* nearestAncestorAssignedToSlot(const Element&); 16 static Element* nearestAncestorAssignedToSlot(const Element&);
17 static Element* next(const Element&); 17 static Element* next(const Element&);
18 static Element* previous(const Element&); 18 static Element* previous(const Element&);
19 static bool isSlotScoped(const Element&); 19 static bool isSlotScoped(const Element&);
20 static HTMLSlotElement* findFallbackScopeOwnerSlot(const Element& current);
21 static bool isSlotFallbackScoped(const Element&);
20 }; 22 };
21 23
22 } // namespace blink 24 } // namespace blink
23 25
24 #endif 26 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698