Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3433)

Unified Diff: chrome/views/tree_model.h

Issue 28175: Adds ability for tree model to reorder its children. I'm going to use... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/views/tree_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/views/tree_model.h
===================================================================
--- chrome/views/tree_model.h (revision 10251)
+++ chrome/views/tree_model.h (working copy)
@@ -39,6 +39,12 @@
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;
};
« no previous file with comments | « no previous file | chrome/views/tree_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698