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

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

Issue 1707443003: Consider slots as a focus scope (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implementing new traversal inside FocusController Created 4 years, 9 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
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698