Home
last modified time | relevance | path

Searched refs:new_parent (Results 1 – 25 of 40) sorted by relevance

12

/external/chromium/chrome/browser/bookmarks/
Dbookmark_model.cc180 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
[all …]
Dbase_bookmark_model_observer.cc19 const BookmarkNode* new_parent, in BookmarkNodeMoved() argument
Dbase_bookmark_model_observer.h27 const BookmarkNode* new_parent,
Dbookmark_model_observer.h25 const BookmarkNode* new_parent,
Dbookmark_utils.cc589 const BookmarkNode* new_parent, const BookmarkEditor::EditDetails& details, in ApplyEditsWithPossibleFolderChange() argument
593 return CreateNewNode(model, new_parent, details, new_title, new_url); in ApplyEditsWithPossibleFolderChange()
599 if (new_parent != node->parent()) in ApplyEditsWithPossibleFolderChange()
600 model->Move(node, new_parent, new_parent->child_count()); in ApplyEditsWithPossibleFolderChange()
Dbookmark_model.h219 const BookmarkNode* new_parent,
224 const BookmarkNode* new_parent,
Dbookmark_utils.h179 const BookmarkNode* new_parent,
/external/kernel-headers/original/linux/
Dptrace.h96 struct task_struct *new_parent);
102 struct task_struct *new_parent) in ptrace_link() argument
105 __ptrace_link(child, new_parent); in ptrace_link()
/external/chromium/chrome/browser/extensions/
Dextension_menu_manager.cc186 ExtensionMenuItem* new_parent = parent_id ? GetItemById(*parent_id) : NULL; in ChangeParent() local
188 (!new_parent && parent_id != NULL) || in ChangeParent()
189 (new_parent && (DescendantOf(new_parent, child_id) || in ChangeParent()
190 child->extension_id() != new_parent->extension_id()))) in ChangeParent()
221 if (new_parent) { in ChangeParent()
222 new_parent->AddChild(child); in ChangeParent()
/external/chromium/chrome/browser/ui/gtk/bookmarks/
Dbookmark_bubble_gtk.cc289 const BookmarkNode* new_parent = folder_combo_model_->GetNodeAt(index); in ApplyEdits() local
290 if (new_parent != node->parent()) { in ApplyEdits()
293 model->Move(node, new_parent, new_parent->child_count()); in ApplyEdits()
Dbookmark_editor_gtk.cc389 const BookmarkNode* new_parent, in BookmarkNodeMoved() argument
467 const BookmarkNode* new_parent = in ApplyEdits() local
471 if (!new_parent) { in ApplyEdits()
478 bb_model_, new_parent, details_, new_title, new_url); in ApplyEdits()
Dbookmark_editor_gtk.h68 const BookmarkNode* new_parent,
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_bubble_view.cc436 const BookmarkNode* new_parent = in ApplyEdits() local
438 if (new_parent != node->parent()) { in ApplyEdits()
441 model->Move(node, new_parent, new_parent->child_count()); in ApplyEdits()
Dbookmark_editor_view.cc375 const BookmarkNode* new_parent, in BookmarkNodeMoved() argument
551 const BookmarkNode* new_parent = NULL; in ApplyEdits() local
553 bb_model_->root_node(), tree_model_->GetRoot(), parent, &new_parent); in ApplyEdits()
556 bb_model_, new_parent, details_, new_title, new_url); in ApplyEdits()
Dbookmark_editor_view.h144 const BookmarkNode* new_parent,
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_bridge.mm38 const BookmarkNode* new_parent,
42 newParent:new_parent newIndex:new_index];
Dbookmark_bar_bridge.h33 const BookmarkNode* new_parent,
Dbookmark_model_observer_for_cocoa.h51 const BookmarkNode* new_parent,
Dbookmark_menu_bridge.h47 const BookmarkNode* new_parent,
Dbookmark_model_observer_for_cocoa.mm33 const BookmarkNode* new_parent,
/external/chromium/chrome/browser/history/
Dstarred_url_database.cc522 bool StarredURLDatabase::Move(StarredNode* source, StarredNode* new_parent) { in Move() argument
524 entry.visual_order = new_parent->child_count(); in Move()
525 entry.parent_folder_id = new_parent->value.folder_id; in Move()
532 new_parent->Add(source, new_parent->child_count()); in Move()
Dstarred_url_database.h175 bool Move(StarredNode* source, StarredNode* new_parent);
/external/chromium/chrome/browser/sync/glue/
Dbookmark_change_processor.cc224 const BookmarkNode* new_parent, int new_index) { in BookmarkNodeMoved() argument
226 const BookmarkNode* child = new_parent->GetChild(new_index); in BookmarkNodeMoved()
243 if (!PlaceSyncNode(MOVE, new_parent, new_index, &trans, &sync_node, in BookmarkNodeMoved()
Dbookmark_change_processor.h37 const BookmarkNode* new_parent,
/external/chromium/chrome/browser/sync/engine/
Dsyncer_util.cc261 syncable::Id new_parent = entry->Get(SERVER_PARENT_ID); in AttemptToUpdateEntry() local
262 Entry parent(trans, GET_BY_ID, new_parent); in AttemptToUpdateEntry()
272 if (entry->Get(PARENT_ID) != new_parent) { in AttemptToUpdateEntry()
273 if (!entry->Get(IS_DEL) && !IsLegalNewParent(trans, id, new_parent)) { in AttemptToUpdateEntry()

12