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) |