diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-07 04:31:35 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-07 04:31:35 +0000 |
commit | b504899244b4264994d4daae2bee660706dba652 (patch) | |
tree | eda190cb35dfff7f700a4c636730ff2487cb35d8 /chrome/views/tree_view.h | |
parent | e562de106eeab2667eeb6922ddf2d771a0efa55d (diff) | |
download | chromium_src-b504899244b4264994d4daae2bee660706dba652.zip chromium_src-b504899244b4264994d4daae2bee660706dba652.tar.gz chromium_src-b504899244b4264994d4daae2bee660706dba652.tar.bz2 |
Adds import/export of bookmarks to bookmarks.html file.
BUG=1649
TEST=bring up bookmark manager and try out import/export from the
tools menu. Note that import ALWAYS creates a new folder under
the 'Other bookmarks folder' with the name of Imported (x). This
is by design.
Review URL: http://codereview.chromium.org/9471
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4968 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/views/tree_view.h')
-rw-r--r-- | chrome/views/tree_view.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chrome/views/tree_view.h b/chrome/views/tree_view.h index fb3f50e..d0d083e 100644 --- a/chrome/views/tree_view.h +++ b/chrome/views/tree_view.h @@ -147,6 +147,10 @@ class TreeView : public NativeControl, TreeModelObserver { // Convenience to expand ALL nodes in the tree. void ExpandAll(); + // Invoked from ExpandAll(). Expands the supplied node and recursively + // invokes itself with all children. + void ExpandAll(TreeModelNode* node); + // Returns true if the specified node is expanded. bool IsExpanded(TreeModelNode* node); @@ -253,10 +257,6 @@ class TreeView : public NativeControl, TreeModelObserver { bool loaded_children; }; - // Invoked from ExpandAll(). Expands the supplied node and recursively - // invokes itself with all children. - void ExpandAll(TreeModelNode* node); - // Deletes the root items from the treeview. This is used when the model // changes. void DeleteRootItems(); |