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

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

Issue 12703032: Revert 146744 "Refactoring: Pull Node::disabled() and Node::isIn..." (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1453/
Patch Set: Created 7 years, 9 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/WebCore/dom/MouseEvent.cpp ('k') | Source/WebCore/dom/Node.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/dom/Node.h
===================================================================
--- Source/WebCore/dom/Node.h (revision 146891)
+++ Source/WebCore/dom/Node.h (working copy)
@@ -416,6 +416,10 @@
virtual bool isMouseFocusable() const;
virtual Node* focusDelegate();
+#if ENABLE(DIALOG_ELEMENT)
+ bool isInert() const;
+#endif
+
enum UserSelectAllTreatment {
UserSelectAllDoesNotAffectEditability,
UserSelectAllIsAlwaysNonEditable
@@ -661,6 +665,10 @@
// Perform the default action for an event.
virtual void defaultEventHandler(Event*);
+ // Used for disabled form elements; if true, prevents mouse events from being dispatched
+ // to event listeners, and prevents DOMActivate events from being sent at all.
+ virtual bool disabled() const;
+
using TreeShared<Node>::ref;
using TreeShared<Node>::deref;
« no previous file with comments | « Source/WebCore/dom/MouseEvent.cpp ('k') | Source/WebCore/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698