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

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

Issue 455223002: Make anchors mouse-focusable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move m_wasFocusedByMouse to elementData().m_shouldHideFocusRingOnMouseFocus Created 6 years, 4 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 | « Source/core/dom/Element.cpp ('k') | Source/core/dom/ElementData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ElementData.h
diff --git a/Source/core/dom/ElementData.h b/Source/core/dom/ElementData.h
index 8efccea8ed2bd25e90d7f96d3be920808467877f..43ecfa11353c9b374b332af6f15f9e26ed3e3060 100644
--- a/Source/core/dom/ElementData.h
+++ b/Source/core/dom/ElementData.h
@@ -89,10 +89,12 @@ protected:
// Keep the type in a bitfield instead of using virtual destructors to avoid adding a vtable.
unsigned m_isUnique : 1;
- unsigned m_arraySize : 28;
+ unsigned m_arraySize : 19;
pdr. 2014/08/25 22:57:37 You cannot just take 9 bits off m_arraySize :) It
robwu 2014/08/25 23:14:58 Oops, should have removed only one bit. 28 -> 27 i
mutable unsigned m_presentationAttributeStyleIsDirty : 1;
mutable unsigned m_styleAttributeIsDirty : 1;
mutable unsigned m_animatedSVGAttributesAreDirty : 1;
+ // Whether an element whose mouse focus ring is hidden by default should be rendered with a focus ring on mouse focus.
+ bool m_shouldHideFocusRingOnMouseFocus : 1;
mutable RefPtrWillBeMember<StylePropertySet> m_inlineStyle;
mutable SpaceSplitString m_classNames;
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/ElementData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698