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

Unified Diff: Source/core/svg/SVGAElement.h

Issue 455223002: Make anchors mouse-focusable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move m_wasFocusedByMouse into subclasses. 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/rendering/RenderTheme.cpp ('k') | Source/core/svg/SVGAElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAElement.h
diff --git a/Source/core/svg/SVGAElement.h b/Source/core/svg/SVGAElement.h
index c2bf92c52c8c8df330b7f608d809800405cd7154..d385575de5894159eec6321148e64231d1a9ea79 100644
--- a/Source/core/svg/SVGAElement.h
+++ b/Source/core/svg/SVGAElement.h
@@ -49,6 +49,9 @@ private:
virtual bool isLiveLink() const OVERRIDE { return isLink(); }
virtual bool supportsFocus() const OVERRIDE;
+ virtual bool shouldHaveFocusAppearance() const OVERRIDE FINAL;
+ virtual bool wasFocusedByMouse() const OVERRIDE FINAL;
+ virtual void setWasFocusedByMouse(bool) OVERRIDE FINAL;
virtual bool isMouseFocusable() const OVERRIDE;
virtual bool isKeyboardFocusable() const OVERRIDE;
virtual bool isURLAttribute(const Attribute&) const OVERRIDE;
@@ -58,6 +61,7 @@ private:
virtual bool willRespondToMouseClickEvents() OVERRIDE;
RefPtr<SVGAnimatedString> m_svgTarget;
+ bool m_wasFocusedByMouse;
};
} // namespace blink
« no previous file with comments | « Source/core/rendering/RenderTheme.cpp ('k') | Source/core/svg/SVGAElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698