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; |