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

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

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/EventDispatcher.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index cae01afe416ace4c707e7a7b8b6e53f8098d3dad..985a9dda74509ac610e4bb470b0f6e3f925c4521 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -416,6 +416,8 @@ public:
virtual bool isKeyboardFocusable(KeyboardEvent*) const;
virtual bool isMouseFocusable() const;
virtual Node* focusDelegate();
+ // This is called only when the node is focused.
+ virtual bool shouldHaveFocusAppearance() const;
enum UserSelectAllTreatment {
UserSelectAllDoesNotAffectEditability,
@@ -669,6 +671,7 @@ public:
// Perform the default action for an event.
virtual void defaultEventHandler(Event*);
+ virtual void willCallDefaultEventHandler(const Event&);
using TreeShared<Node>::ref;
using TreeShared<Node>::deref;
« no previous file with comments | « Source/core/dom/EventDispatcher.cpp ('k') | Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698