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

Unified Diff: sky/engine/core/dom/Element.h

Issue 790673006: Delete focused by mouse code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 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 | « no previous file | sky/engine/core/dom/Element.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Element.h
diff --git a/sky/engine/core/dom/Element.h b/sky/engine/core/dom/Element.h
index 2042f4b6531427b3bdd8decb2348cd3c61bfe239..dfd8c3f0a238ca467c2bbee57f7219560083b283 100644
--- a/sky/engine/core/dom/Element.h
+++ b/sky/engine/core/dom/Element.h
@@ -243,7 +243,6 @@ public:
bool isFocusable() const;
bool isKeyboardFocusable() const;
bool isMouseFocusable() const;
- virtual void willCallDefaultEventHandler(const Event&) override final;
void dispatchFocusEvent(Element* oldFocusedElement, FocusType);
void dispatchBlurEvent(Element* newFocusedElement);
void dispatchFocusInEvent(const AtomicString& eventType, Element* oldFocusedElement);
@@ -319,10 +318,6 @@ protected:
// e.g., HTMLOptionElement.
virtual bool rendererIsFocusable() const;
- // These methods are overridden by subclasses whose default focus appearance should not remain hidden on mouse focus.
- virtual bool wasFocusedByMouse() const { return false; }
- virtual void setWasFocusedByMouse(bool) { }
-
// classAttributeChanged() exists to share code between
// parseAttribute (called via setAttribute()) and
// svgAttributeChanged (called when element.className.baseValue is set)
« no previous file with comments | « no previous file | sky/engine/core/dom/Element.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698