Searched refs:can_edit (Results 1 – 3 of 3) sorted by relevance
246 bool can_edit = in IsCommandIdEnabled() local263 return selection_.size() == 1 && !is_root_node && can_edit; in IsCommandIdEnabled()266 return !selection_.empty() && !is_root_node && can_edit; in IsCommandIdEnabled()270 return can_edit && bookmark_utils::GetParentForNewNodes( in IsCommandIdEnabled()280 (command_id == IDC_COPY || can_edit); in IsCommandIdEnabled()284 return can_edit && in IsCommandIdEnabled()
232 bool can_edit = in IsCommandEnabled() local249 return selection_.size() == 1 && !is_root_node && can_edit; in IsCommandEnabled()252 return !selection_.empty() && !is_root_node && can_edit; in IsCommandEnabled()256 return can_edit && bookmark_utils::GetParentForNewNodes( in IsCommandEnabled()266 (id == IDC_COPY || can_edit); in IsCommandEnabled()270 return can_edit && in IsCommandEnabled()
1062 bool can_edit = [self canEditBookmarks];1069 if (action != @selector(copyBookmark:) && !can_edit)1074 (!bookmark_utils::CanPasteFromClipboard(node) || !can_edit)) {1078 if ((!can_edit) &&