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

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: style nit for layout test. 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
« no previous file with comments | « LayoutTests/fast/dom/shadow/tabstop-property-expected.txt ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Element.h
diff --git a/Source/core/dom/Element.h b/Source/core/dom/Element.h
index e8d991a1cc9d27a43b161fc6e3f4c0780a6e11f4..6d042c64391abda3eead423d8d1e51ebdc925490 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);
« no previous file with comments | « LayoutTests/fast/dom/shadow/tabstop-property-expected.txt ('k') | Source/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698