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

Unified Diff: Source/core/html/HTMLAnchorElement.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
Index: Source/core/html/HTMLAnchorElement.h
diff --git a/Source/core/html/HTMLAnchorElement.h b/Source/core/html/HTMLAnchorElement.h
index 701470bdfc6258f1c8b9a5a2c33cdbe002481d9e..1faf586a7cd4948cb150c0c2939f7a9eaa607202 100644
--- a/Source/core/html/HTMLAnchorElement.h
+++ b/Source/core/html/HTMLAnchorElement.h
@@ -92,6 +92,7 @@ protected:
virtual bool supportsFocus() const OVERRIDE;
private:
+ virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE FINAL;
virtual bool isMouseFocusable() const OVERRIDE;
virtual bool isKeyboardFocusable() const OVERRIDE;
virtual void defaultEventHandler(Event*) OVERRIDE FINAL;

Powered by Google App Engine
This is Rietveld 408576698