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

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

Issue 1046853002: Implement 'tabstop' as an HTML attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Guard tabstop attribute to be enabled via about:flags Created 5 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index e954a5aa8f69c3283df35534ebf330324bfd49d5..985ce6272159c6a96237c93262e0e27a712048d2 100644
--- a/Source/core/dom/Element.h
+++ b/Source/core/dom/Element.h
@@ -79,8 +79,9 @@ enum ElementFlags {
ContainsFullScreenElement = 1 << 3,
IsInTopLayer = 1 << 4,
HasPendingResources = 1 << 5,
+ TabStopWasSetExplicitly = 1 << 6,
- NumberOfElementFlags = 6, // Required size of bitfield used to store the flags.
+ NumberOfElementFlags = 7, // Required size of bitfield used to store the flags.
};
class CORE_EXPORT Element : public ContainerNode {
@@ -377,6 +378,7 @@ public:
bool isFocusable() const;
bool tabStop() const;
void setTabStop(bool);
+ void setTabStopInternal(bool);
virtual bool isKeyboardFocusable() const;
virtual bool isMouseFocusable() const;
virtual void dispatchFocusEvent(Element* oldFocusedElement, WebFocusType);

Powered by Google App Engine
This is Rietveld 408576698