Home
last modified time | relevance | path

Searched refs:TreeModelNode (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/ui/base/models/
Dtree_model.h24 class TreeModelNode {
30 virtual ~TreeModelNode() {} in ~TreeModelNode()
38 TreeModelNode* parent,
44 TreeModelNode* parent,
49 virtual void TreeNodeChanged(TreeModel* model, TreeModelNode* node) = 0;
62 virtual TreeModelNode* GetRoot() = 0;
65 virtual int GetChildCount(TreeModelNode* parent) = 0;
68 virtual TreeModelNode* GetChild(TreeModelNode* parent, int index) = 0;
71 virtual int GetIndexOf(TreeModelNode* parent, TreeModelNode* child) = 0;
74 virtual TreeModelNode* GetParent(TreeModelNode* node) = 0;
[all …]
Dtree_node_model.h64 class TreeNode : public TreeModelNode {
217 NodeType* AsNode(TreeModelNode* model_node) { in AsNode()
247 void NotifyObserverTreeNodeChanged(TreeModelNode* node) { in NotifyObserverTreeNodeChanged()
258 virtual int GetChildCount(TreeModelNode* parent) OVERRIDE { in GetChildCount()
263 virtual NodeType* GetChild(TreeModelNode* parent, int index) OVERRIDE { in GetChild()
268 virtual int GetIndexOf(TreeModelNode* parent, TreeModelNode* child) OVERRIDE { in GetIndexOf()
273 virtual TreeModelNode* GetParent(TreeModelNode* node) OVERRIDE { in GetParent()
286 virtual void SetTitle(TreeModelNode* node, in SetTitle()
Dtree_model.cc11 void TreeModel::SetTitle(TreeModelNode* node, in SetTitle()
16 int TreeModel::GetIconIndex(TreeModelNode* node) { in GetIconIndex()
Dtree_node_model_unittest.cc38 TreeModelNode* parent, in TreeNodesAdded()
44 TreeModelNode* parent, in TreeNodesRemoved()
49 virtual void TreeNodeChanged(TreeModel* model, TreeModelNode* node) OVERRIDE { in TreeNodeChanged()
/external/chromium_org/ui/views/controls/tree/
Dtree_view.h71 void StartEditing(ui::TreeModelNode* node);
81 ui::TreeModelNode* GetEditingNode();
84 void SetSelectedNode(ui::TreeModelNode* model_node);
87 ui::TreeModelNode* GetSelectedNode();
91 void Collapse(ui::TreeModelNode* model_node);
94 void Expand(ui::TreeModelNode* node);
98 void ExpandAll(ui::TreeModelNode* node);
101 bool IsExpanded(ui::TreeModelNode* model_node);
115 ui::TreeModelNode* GetNodeForRow(int row);
118 int GetRowForNode(ui::TreeModelNode* node);
[all …]
Dtree_view.cc29 using ui::TreeModelNode;
143 void TreeView::StartEditing(TreeModelNode* node) { in StartEditing()
212 TreeModelNode* TreeView::GetEditingNode() { in GetEditingNode()
216 void TreeView::SetSelectedNode(TreeModelNode* model_node) { in SetSelectedNode()
252 TreeModelNode* TreeView::GetSelectedNode() { in GetSelectedNode()
256 void TreeView::Collapse(ui::TreeModelNode* model_node) { in Collapse()
275 void TreeView::Expand(TreeModelNode* node) { in Expand()
281 void TreeView::ExpandAll(TreeModelNode* node) { in ExpandAll()
287 TreeModelNode* child = model_->GetChild(node, i); in ExpandAll()
295 bool TreeView::IsExpanded(TreeModelNode* model_node) { in IsExpanded()
[all …]
Dtree_view_controller.h12 class TreeModelNode; variable
30 virtual bool CanEdit(TreeView* tree_view, ui::TreeModelNode* node);
Dtree_view_controller.cc12 bool TreeViewController::CanEdit(TreeView* tree_view, ui::TreeModelNode* node) { in CanEdit()
Dtree_view_unittest.cc17 using ui::TreeModelNode;
92 TreeModelNode* model_node = tree_.GetSelectedNode(); in GetSelectedNodeTitle()
98 TreeModelNode* model_node = tree_.GetEditingNode(); in GetEditingNodeTitle()
/external/chromium_org/chrome/browser/ui/cocoa/content_settings/
Dcookies_tree_controller_bridge.h21 ui::TreeModelNode* parent,
25 ui::TreeModelNode* parent,
29 ui::TreeModelNode* node) OVERRIDE;
36 CocoaCookieTreeNode* CocoaNodeFromTreeNode(ui::TreeModelNode* node);
41 CocoaCookieTreeNode* FindCocoaNode(ui::TreeModelNode* node,
Dcookies_tree_controller_bridge.mm20 ui::TreeModelNode* parent,
38 ui::TreeModelNode* parent,
52 ui::TreeModelNode* node) {
60 ui::TreeModelNode* node) {
69 ui::TreeModelNode* target, CocoaCookieTreeNode* start) {
Dcookie_tree_node.h27 - (ui::TreeModelNode*)treeNode;
Dcookie_tree_node.mm36 - (ui::TreeModelNode*)treeNode {
/external/chromium_org/chrome/browser/ui/webui/options/
Dcookies_view_handler.h30 ui::TreeModelNode* parent,
34 ui::TreeModelNode* parent,
38 ui::TreeModelNode* node) OVERRIDE {} in TreeNodeChanged()
Dcookies_view_handler.cc132 ui::TreeModelNode* parent, in TreeNodesAdded()
155 ui::TreeModelNode* parent, in TreeNodesRemoved()
/external/chromium_org/ui/views/examples/
Dtree_view_example.cc112 ui::TreeModelNode* node = tree_view_->GetSelectedNode(); in OnTreeViewSelectionChanged()
123 ui::TreeModelNode* node) { in CanEdit()
Dtree_view_example.h55 virtual bool CanEdit(TreeView* tree_view, ui::TreeModelNode* node) OVERRIDE;
/external/chromium_org/chrome/browser/ui/views/bookmarks/
Dbookmark_editor_view.h66 virtual void SetTitle(ui::TreeModelNode* node,
97 ui::TreeModelNode* node) OVERRIDE;
Dbookmark_editor_view.cc154 ui::TreeModelNode* node) { in CanEdit()
645 ui::TreeModelNode* node, in SetTitle()
/external/chromium_org/chrome/browser/ui/views/
Dcollected_cookies_views.cc476 ui::TreeModelNode* node = allowed_cookies_tree_->GetSelectedNode(); in EnableControls()
503 ui::TreeModelNode* node = allowed_cookies_tree_->GetSelectedNode(); in ShowCookieInfo()
/external/chromium_org/chrome/browser/ui/views/accessibility/
Daccessibility_event_router_views.cc366 ui::TreeModelNode* selected_node = tree->GetSelectedNode(); in SendTreeItemNotification()
378 ui::TreeModelNode* parent_node = model->GetParent(selected_node); in SendTreeItemNotification()
/external/chromium_org/chrome/browser/browsing_data/
Dcookies_tree_model.h675 virtual int GetIconIndex(ui::TreeModelNode* node) OVERRIDE;
Dcookies_tree_model.cc966 int CookiesTreeModel::GetIconIndex(ui::TreeModelNode* node) { in GetIconIndex()