Home
last modified time | relevance | path

Searched refs:tree_model_ (Results 1 – 5 of 5) sorted by relevance

/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_editor_view.cc180 EditorNode* bb_node = tree_model_->AsNode(node); in CanEdit()
250 (tree_model_->GetParent(tree_view_->GetSelectedNode()) == in ShowContextMenuForView()
251 tree_model_->GetRoot()); in ShowContextMenuForView()
419 tree_model_.reset(new EditorTreeModel(root_node)); in Reset()
421 tree_view_->SetModel(tree_model_.get()); in Reset()
449 EditorNode* parent = tree_model_->AsNode(tree_view_->GetSelectedNode()); in NewFolder()
465 tree_model_->Add(parent, new_node, parent->child_count()); in AddNewFolder()
477 FindNodeWithID(tree_model_->GetRoot(), folder_id_to_select); in ExpandAndSelect()
479 b_node = tree_model_->GetRoot()->GetChild(0); // Bookmark bar node. in ExpandAndSelect()
525 tree_model_->AsNode(tree_view_->GetSelectedNode()) : NULL; in ApplyEdits()
[all …]
Dbookmark_editor_view.h225 scoped_ptr<EditorTreeModel> tree_model_; variable
Dbookmark_editor_view_unittest.cc55 return editor_->tree_model_.get(); in editor_tree_model()
/external/chromium/chrome/browser/ui/gtk/
Dgtk_tree.cc346 tree_model_(tree_model) { in TreeAdapter()
368 Fill(NULL, tree_model_->GetRoot()); in Init()
382 int icon_index = tree_model_->GetIconIndex(node); in FillRow()
399 int child_count = tree_model_->GetChildCount(parent_node); in Fill()
401 ui::TreeModelNode* node = tree_model_->GetChild(parent_node, i); in Fill()
411 parent = tree_model_->GetParent(parent); in GetTreePath()
413 int idx = tree_model_->GetIndexOf(parent, node); in GetTreePath()
445 Fill(&iter, tree_model_->GetChild(parent, start + i)); in TreeNodesAdded()
Dgtk_tree.h202 ui::TreeModel* tree_model_; variable