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

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: 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/Node.h
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h
index 234e8ba0121af0c80d11064e179ec060cfb69527..cbe6043cb4efa5ee934f2b8b2729feb8b0d0efef 100644
--- a/Source/core/dom/Node.h
+++ b/Source/core/dom/Node.h
@@ -409,6 +409,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,

Powered by Google App Engine
This is Rietveld 408576698