Index: public/web/WebViewClient.h |
diff --git a/public/web/WebViewClient.h b/public/web/WebViewClient.h |
index 908bbdb34545988de0589ab7f242653ccc0a4a1f..0309796db0076a9095a907d2a9781d3f508f0ab0 100644 |
--- a/public/web/WebViewClient.h |
+++ b/public/web/WebViewClient.h |
@@ -186,8 +186,11 @@ public: |
virtual void focusNext() { } |
virtual void focusPrevious() { } |
- // Called when a new node gets focused. |
+ // FIXME: remove this function. |
virtual void focusedNodeChanged(const WebNode&) { } |
+ // Called when a new node gets focused. |fromNode| is the previously focused node, |toNode| |
+ // is the newly focused node. Either can be null. |
+ virtual void focusedNodeChanged(const WebNode& fromNode, const WebNode& toNode) { } |
// Indicates two things: |
// 1) This view may have a new layout now. |