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

Unified Diff: Source/core/dom/Node.cpp

Issue 16194013: Mouse press should focus on any types of form controls. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 years, 6 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 | « Source/core/dom/Node.h ('k') | Source/core/html/BaseChooserOnlyDateAndTimeInputType.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.cpp
diff --git a/Source/core/dom/Node.cpp b/Source/core/dom/Node.cpp
index d3983d6372fe74ca00ec774613ecb1b39ca094cb..a16f6e6b38ed784f8adb7092e3f4387674b75e1f 100644
--- a/Source/core/dom/Node.cpp
+++ b/Source/core/dom/Node.cpp
@@ -899,6 +899,12 @@ Node* Node::focusDelegate()
return this;
}
+bool Node::shouldHaveFocusAppearance() const
+{
+ ASSERT(focused());
+ return true;
+}
+
unsigned Node::nodeIndex() const
{
Node *_tempNode = previousSibling();
@@ -2529,6 +2535,10 @@ void Node::defaultEventHandler(Event* event)
}
}
+void Node::willCallDefaultEventHandler(const Event&)
+{
+}
+
bool Node::willRespondToMouseMoveEvents()
{
if (isDisabledFormControl(this))
« no previous file with comments | « Source/core/dom/Node.h ('k') | Source/core/html/BaseChooserOnlyDateAndTimeInputType.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698