Home
last modified time | relevance | path

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

/external/chromium_org/ui/views/examples/
Dtree_view_example.cc81 NodeType* selected_node = in AddNewNode() local
83 if (!selected_node) in AddNewNode()
84 selected_node = model_.GetRoot(); in AddNewNode()
85 NodeType* new_node = new NodeType(selected_node->GetTitle(), 1); in AddNewNode()
86 model_.Add(selected_node, new_node, selected_node->child_count()); in AddNewNode()
96 NodeType* selected_node = in ButtonPressed() local
101 DCHECK(selected_node); in ButtonPressed()
102 DCHECK_NE(model_.GetRoot(), selected_node); in ButtonPressed()
103 model_.Remove(selected_node->parent(), selected_node); in ButtonPressed()
105 DCHECK(selected_node); in ButtonPressed()
[all …]
/external/chromium_org/content/renderer/
Ddom_utils.cc13 blink::WebNode selected_node = node; in ExtractParentAnchorNode() local
17 while (!selected_node.isNull() && !selected_node.isLink()) in ExtractParentAnchorNode()
18 selected_node = selected_node.parentNode(); in ExtractParentAnchorNode()
19 return selected_node; in ExtractParentAnchorNode()
/external/chromium_org/chrome/browser/ui/views/accessibility/
Daccessibility_event_router_views.cc366 ui::TreeModelNode* selected_node = tree->GetSelectedNode(); in SendTreeItemNotification() local
375 if (selected_node) { in SendTreeItemNotification()
376 children_count = model->GetChildCount(selected_node); in SendTreeItemNotification()
377 is_expanded = tree->IsExpanded(selected_node); in SendTreeItemNotification()
378 ui::TreeModelNode* parent_node = model->GetParent(selected_node); in SendTreeItemNotification()
380 index = model->GetIndexOf(parent_node, selected_node); in SendTreeItemNotification()
/external/chromium_org/tools/deep_memory_profiler/visualizer/static/third_party/jqTree/
Dtree.jquery.js1798 var open_nodes, selected_node, selected_node_id,
1807 selected_node = this.tree_widget.getSelectedNode();
1808 if (selected_node) {
1809 selected_node_id = selected_node.id;
1815 selected_node: selected_node_id
1820 var open_nodes, selected_node, selected_node_id,
1824 selected_node_id = state.selected_node;
1831 selected_node = this.tree_widget.getNodeById(selected_node_id);
1832 if (selected_node) {
1833 return this.tree_widget.select_node_handler.addToSelection(selected_node);
/external/chromium_org/ui/views/controls/tree/
Dtree_view.cc556 TreeModelNode* selected_node = GetSelectedNode(); in OnKeyPressed() local
557 if (selected_node && (!controller_ || in OnKeyPressed()
558 controller_->CanEdit(this, selected_node))) { in OnKeyPressed()
559 StartEditing(selected_node); in OnKeyPressed()