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

Unified Diff: third_party/WebKit/Source/core/dom/Element.h

Issue 2532983004: Re-work <dialog>#show*() focus algorithm (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Element.h
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
index aa41e1dba60254cceaefc0a5dfb2ba5b30c429da..5ad34016578bfb4e48b60e9a3937f2f259e0786f 100644
--- a/third_party/WebKit/Source/core/dom/Element.h
+++ b/third_party/WebKit/Source/core/dom/Element.h
@@ -773,6 +773,8 @@ class CORE_EXPORT Element : public ContainerNode {
// TODO(tkent): Rename this to isFocusableStyle.
virtual bool layoutObjectIsFocusable() const;
+ bool hasTabIndex() const { return hasElementFlag(TabIndexWasSetExplicitly); }
+
// classAttributeChanged() exists to share code between
// parseAttribute (called via setAttribute()) and
// svgAttributeChanged (called when element.className.baseValue is set)

Powered by Google App Engine
This is Rietveld 408576698