Index: Source/core/dom/Node.h |
diff --git a/Source/core/dom/Node.h b/Source/core/dom/Node.h |
index cae01afe416ace4c707e7a7b8b6e53f8098d3dad..985a9dda74509ac610e4bb470b0f6e3f925c4521 100644 |
--- a/Source/core/dom/Node.h |
+++ b/Source/core/dom/Node.h |
@@ -416,6 +416,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, |
@@ -669,6 +671,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; |