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

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

Issue 2432293002: Fix focus navigation for nested slot case (Closed)
Patch Set: More references Created 4 years, 1 month 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 #include "core/CoreExport.h"
9
8 namespace blink { 10 namespace blink {
9 11
10 class Element; 12 class Element;
11 class HTMLSlotElement; 13 class HTMLSlotElement;
12 14
13 class SlotScopedTraversal { 15 class CORE_EXPORT SlotScopedTraversal {
14 public: 16 public:
15 static HTMLSlotElement* findScopeOwnerSlot(const Element&); 17 static HTMLSlotElement* findScopeOwnerSlot(const Element&);
16 static Element* nearestAncestorAssignedToSlot(const Element&); 18 static Element* nearestInclusiveAncestorAssignedToSlot(const Element&);
17 static Element* next(const Element&); 19 static Element* next(const Element&);
18 static Element* previous(const Element&); 20 static Element* previous(const Element&);
21 static Element* firstAssignedToSlot(HTMLSlotElement&);
22 static Element* lastAssignedToSlot(HTMLSlotElement&);
23
19 static bool isSlotScoped(const Element&); 24 static bool isSlotScoped(const Element&);
20 }; 25 };
21 26
22 } // namespace blink 27 } // namespace blink
23 28
24 #endif 29 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | third_party/WebKit/Source/core/dom/shadow/SlotScopedTraversal.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698