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

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

Issue 754043004: Remove autofocus. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/Document.h
diff --git a/sky/engine/core/dom/Document.h b/sky/engine/core/dom/Document.h
index 4094819603ff244bbf6130e8f6f8dfe7cf92252d..1eb38c68532186fc87aa045d8f90b8c7e74d29ff 100644
--- a/sky/engine/core/dom/Document.h
+++ b/sky/engine/core/dom/Document.h
@@ -360,8 +360,6 @@ public:
UserActionElementSet& userActionElements() { return m_userActionElements; }
const UserActionElementSet& userActionElements() const { return m_userActionElements; }
void setNeedsFocusedElementCheck();
- void setAutofocusElement(Element*);
- Element* autofocusElement() const { return m_autofocusElement.get(); }
void setActiveHoverElement(PassRefPtr<Element>);
Element* activeHoverElement() const { return m_activeHoverElement.get(); }
@@ -675,7 +673,6 @@ private:
void clearFocusedElementSoon();
void clearFocusedElementTimerFired(Timer<Document>*);
- void focusAutofocusElementTimerFired(Timer<Document>*);
void setHoverNode(PassRefPtr<Node>);
Node* hoverNode() const { return m_hoverNode.get(); }
@@ -717,10 +714,7 @@ private:
Timer<Document> m_executeScriptsWaitingForResourcesTimer;
- bool m_hasAutofocused;
Timer<Document> m_clearFocusedElementTimer;
- Timer<Document> m_focusAutofocusElementTimer;
- RefPtr<Element> m_autofocusElement;
RefPtr<Element> m_focusedElement;
RefPtr<Node> m_hoverNode;
RefPtr<Element> m_activeHoverElement;
« no previous file with comments | « no previous file | sky/engine/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698