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

Unified Diff: Source/core/html/HTMLFormControlElement.h

Issue 455223002: Make anchors mouse-focusable (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: from scratch: put focus logic in Element 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/HTMLFormControlElement.h
diff --git a/Source/core/html/HTMLFormControlElement.h b/Source/core/html/HTMLFormControlElement.h
index 055bcd14f17a3a3d0305993c7a63263f902ab510..3185317dac296ce7f0443bf33068153060df0c51 100644
--- a/Source/core/html/HTMLFormControlElement.h
+++ b/Source/core/html/HTMLFormControlElement.h
@@ -128,11 +128,8 @@ protected:
virtual bool supportsFocus() const OVERRIDE;
virtual bool isKeyboardFocusable() const OVERRIDE;
- virtual bool shouldShowFocusRingOnMouseFocus() const;
- virtual bool shouldHaveFocusAppearance() const OVERRIDE FINAL;
- virtual void dispatchFocusEvent(Element* oldFocusedElement, FocusType) OVERRIDE;
+ virtual bool shouldShowFocusRingOnMouseFocus() const OVERRIDE;
virtual void dispatchBlurEvent(Element* newFocusedElement) OVERRIDE;
- virtual void willCallDefaultEventHandler(const Event&) OVERRIDE FINAL;
virtual void didRecalcStyle(StyleRecalcChange) OVERRIDE FINAL;
@@ -183,7 +180,6 @@ private:
bool m_isValid : 1;
bool m_wasChangedSinceLastFormControlChangeEvent : 1;
- bool m_wasFocusedByMouse : 1;
};
inline bool isHTMLFormControlElement(const Element& element)

Powered by Google App Engine
This is Rietveld 408576698