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