Home
last modified time | relevance | path

Searched refs:can_edit (Results 1 – 3 of 3) sorted by relevance

/external/chromium/chrome/browser/bookmarks/
Dbookmark_context_menu_controller.cc246 bool can_edit = in IsCommandIdEnabled() local
263 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()
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_context_menu_controller_views.cc232 bool can_edit = in IsCommandEnabled() local
249 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()
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_controller.mm1062 bool can_edit = [self canEditBookmarks];
1069 if (action != @selector(copyBookmark:) && !can_edit)
1074 (!bookmark_utils::CanPasteFromClipboard(node) || !can_edit)) {
1078 if ((!can_edit) &&