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

Unified Diff: Source/core/dom/Document.h

Issue 14248006: A focused element should lose focus when it becomes unfocusable. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add a FIXME comment Created 7 years, 7 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/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 1abc65062ed94bbb913cd8f38391244f1e4d061a..b643c2e17e6c0be32d2c200b366688ee45d78d06 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -636,7 +636,7 @@ public:
Node* focusedNode() const { return m_focusedNode.get(); }
UserActionElementSet& userActionElements() { return m_userActionElements; }
const UserActionElementSet& userActionElements() const { return m_userActionElements; }
-
+ void didRunCheckFocusedNodeTask() { m_didPostCheckFocusedNodeTask = false; }
void getFocusableNodes(Vector<RefPtr<Node> >&);
// The m_ignoreAutofocus flag specifies whether or not the document has been changed by the user enough
@@ -1239,6 +1239,7 @@ private:
Color m_textColor;
+ bool m_didPostCheckFocusedNodeTask;
RefPtr<Node> m_focusedNode;
RefPtr<Node> m_hoverNode;
RefPtr<Element> m_activeElement;
« no previous file with comments | « LayoutTests/fast/dom/HTMLDocument/active-element-gets-unforcusable-expected.txt ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698