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

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, common->default, etc. 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
Index: Source/core/dom/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index b6524c8631b741a0afccb277e9eef1b5e79cd555..3fa4c8207aadb01d5e5611e87f21b75f06ee902e 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -412,6 +412,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,
@@ -660,6 +662,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;

Powered by Google App Engine
This is Rietveld 408576698