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 750f24249cce3a8f99f382c4896e140eb54f9ebd..7e9e0f1f3fe221109850e5f3b13fdda0a3b808c4 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) |