diff options
Diffstat (limited to 'chrome/views/tree_model.h')
-rw-r--r-- | chrome/views/tree_model.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/views/tree_model.h b/chrome/views/tree_model.h index 68a3ff7..3608fbc 100644 --- a/chrome/views/tree_model.h +++ b/chrome/views/tree_model.h @@ -39,6 +39,12 @@ class TreeModelObserver { int start, int count) = 0; + // Notification the children of |parent| have been reordered. Note, only + // the direct children of |parent| have been reordered, not descendants. + // TODO(sky): make this pure virtual after all sites have been updated. + virtual void TreeNodeChildrenReordered(TreeModel* model, + TreeModelNode* parent) {} + // Notification that the contents of a node has changed. virtual void TreeNodeChanged(TreeModel* model, TreeModelNode* node) = 0; }; |