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

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

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
Index: Source/core/dom/ElementData.cpp
diff --git a/Source/core/dom/ElementData.cpp b/Source/core/dom/ElementData.cpp
index c7c8e6cc052d95f3524ad6369da62f81d69e9623..36228d192dedba54996682d3c192b621695e97a9 100644
--- a/Source/core/dom/ElementData.cpp
+++ b/Source/core/dom/ElementData.cpp
@@ -55,6 +55,7 @@ ElementData::ElementData()
, m_presentationAttributeStyleIsDirty(false)
, m_styleAttributeIsDirty(false)
, m_animatedSVGAttributesAreDirty(false)
+ , m_shouldHideFocusRingOnMouseFocus(false)
{
}
@@ -64,6 +65,7 @@ ElementData::ElementData(unsigned arraySize)
, m_presentationAttributeStyleIsDirty(false)
, m_styleAttributeIsDirty(false)
, m_animatedSVGAttributesAreDirty(false)
+ , m_shouldHideFocusRingOnMouseFocus(false)
{
}
@@ -73,6 +75,7 @@ ElementData::ElementData(const ElementData& other, bool isUnique)
, m_presentationAttributeStyleIsDirty(other.m_presentationAttributeStyleIsDirty)
, m_styleAttributeIsDirty(other.m_styleAttributeIsDirty)
, m_animatedSVGAttributesAreDirty(other.m_animatedSVGAttributesAreDirty)
+ , m_shouldHideFocusRingOnMouseFocus(other.m_shouldHideFocusRingOnMouseFocus)
, m_classNames(other.m_classNames)
, m_idForStyleResolution(other.m_idForStyleResolution)
{

Powered by Google App Engine
This is Rietveld 408576698