Lines Matching refs:new_parent
180 const BookmarkNode* new_parent, in Move() argument
182 if (!loaded_ || !node || !IsValidIndex(new_parent, index, true) || in Move()
183 is_root(new_parent) || is_permanent_node(node)) { in Move()
188 if (new_parent->HasAncestor(node)) { in Move()
194 SetDateFolderModified(new_parent, Time::Now()); in Move()
199 if (old_parent == new_parent && in Move()
205 if (old_parent == new_parent && index > old_index) in Move()
207 BookmarkNode* mutable_new_parent = AsMutable(new_parent); in Move()
215 new_parent, index)); in Move()
219 const BookmarkNode* new_parent, in Copy() argument
221 if (!loaded_ || !node || !IsValidIndex(new_parent, index, true) || in Copy()
222 is_root(new_parent) || is_permanent_node(node)) { in Copy()
227 if (new_parent->HasAncestor(node)) { in Copy()
233 SetDateFolderModified(new_parent, Time::Now()); in Copy()
238 bookmark_utils::CloneBookmarkNode(this, elements, new_parent, index); in Copy()