Home
last modified time | relevance | path

Searched refs:is_folder (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium/chrome/browser/extensions/
Dextension_bookmark_helpers.cc29 if (!node->is_folder()) { in GetNodeDictionary()
48 if (recurse && node->is_folder()) { in GetNodeDictionary()
53 if (!only_folders || child->is_folder()) { in GetNodeDictionary()
99 if (node->is_folder() && node->child_count() > 0 && !recursive) { in RemoveNode()
/external/chromium/chrome/browser/sync/glue/
Dbookmark_model_associator.cc56 if (node1->is_folder() != node2->is_folder()) in operator ()()
57 return node1->is_folder(); in operator ()()
147 if (!node->is_folder()) in AddAll()
267 if (bookmark->is_folder() != sync_node->GetIsFolder()) in NodesMatch()
374 DCHECK(parent_node->is_folder()); in BuildAssociations()
418 if (parent_node->GetChild(i)->is_folder()) in BuildAssociations()
Dbookmark_change_processor.cc53 dst->SetIsFolder(src->is_folder()); in UpdateSyncNodeProperties()
55 if (!src->is_folder()) in UpdateSyncNodeProperties()
211 DCHECK_EQ(sync_node.GetIsFolder(), node->is_folder()); in BookmarkNodeChanged()
467 DCHECK_EQ(src->GetIsFolder(), dst->is_folder()); in CreateOrUpdateBookmarkNode()
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_name_folder_controller_unittest.mm48 EXPECT_TRUE(parent->GetChild(0)->is_folder());
78 EXPECT_TRUE(parent->GetChild(1)->is_folder());
100 EXPECT_TRUE(parent->GetChild(0)->is_folder());
121 EXPECT_TRUE(parent->GetChild(0)->is_folder());
144 EXPECT_TRUE(parent->GetChild(0)->is_folder());
Dbookmark_folder_target.mm56 DCHECK([sender bookmarkNode]->is_folder());
86 if (node->is_folder()) {
Dbookmark_editor_base_controller.mm97 if (!importing_ && new_parent->GetChild(new_index)->is_folder())
104 if (!importing_ && parent->GetChild(index)->is_folder())
113 if (node->is_folder())
119 if (!importing_ && node->is_folder())
436 if (node->is_folder()) {
/external/chromium/chrome/browser/importer/
Dfirefox_importer_unittest.cc210 EXPECT_TRUE(entry.is_folder); in TEST()
221 EXPECT_FALSE(entry.is_folder); in TEST()
233 EXPECT_FALSE(entry.is_folder); in TEST()
255 EXPECT_TRUE(entry.is_folder); in TEST()
266 EXPECT_FALSE(entry.is_folder); in TEST()
Dprofile_writer.cc21 is_folder(false) {} in BookmarkEntry()
84 if (!it->is_folder && !it->url.is_valid()) in AddBookmarkEntry()
120 if (it->is_folder) { in AddBookmarkEntry()
299 if (node->is_folder()) in GenerateUniqueFolderName()
Dprofile_writer.h54 bool is_folder; member
Dprofile_import_process_messages.h134 WriteParam(m, p.is_folder);
143 (ReadParam(m, iter, &p->is_folder)) &&
153 LogParam(p.is_folder, l);
/external/chromium/chrome/browser/sync/engine/
Dprocess_commit_response_command_unittest.cc88 bool is_folder, in CreateUnsyncedItem() argument
101 entry.Put(syncable::IS_DIR, is_folder); in CreateUnsyncedItem()
110 entry.Put(syncable::SERVER_IS_DIR, is_folder); in CreateUnsyncedItem()
127 bool is_folder = true; in CreateUnprocessedCommitResult() local
129 CreateUnsyncedItem(item_id, parent_id, name, is_folder, model_type, in CreateUnprocessedCommitResult()
152 entity->set_folder(is_folder); in CreateUnprocessedCommitResult()
Dapply_updates_command_unittest.cc100 bool is_folder, in CreateUnsyncedItem() argument
113 entry.Put(syncable::IS_DIR, is_folder); in CreateUnsyncedItem()
122 entry.Put(syncable::SERVER_IS_DIR, is_folder); in CreateUnsyncedItem()
/external/chromium/chrome/browser/sync/
Dprofile_sync_service_bookmark_unittest.cc138 bool is_folder, in Add() argument
155 node.SetIsFolder(is_folder); in Add()
157 if (!is_folder) in Add()
369 EXPECT_EQ(bnode->is_folder(), gnode.GetIsFolder()); in ExpectSyncerNodeMatching()
1007 DCHECK(node->is_folder()); in PopulateFromTestData()
1022 DCHECK(node->is_folder()); in CompareWithTestData()
1029 EXPECT_FALSE(child_node->is_folder()); in CompareWithTestData()
1033 EXPECT_TRUE(child_node->is_folder()); in CompareWithTestData()
1222 ASSERT_TRUE(child_node->is_folder()); in TEST_F()
1229 ASSERT_TRUE(f3_node->is_folder()); in TEST_F()
[all …]
/external/chromium/chrome/browser/ui/gtk/bookmarks/
Dbookmark_tree_model.cc65 if (node->is_folder() && node->id() == id) { in RecursiveResolve()
145 if (!node->is_folder()) in AddToTreeStoreAt()
188 if (node->is_folder() && node->id() == id) { in CommitTreeStoreDifferencesBetween()
Dbookmark_menu_controller_gtk.cc171 } else if (node->is_folder()) { in BuildMenu()
195 if (node->is_folder()) { in BuildMenu()
249 if (event->button == 2 && node && node->is_folder()) { in OnMenuButtonPressedOrReleased()
Dbookmark_bar_gtk.cc448 if (node->is_folder()) in BookmarkNodeAdded()
469 if (node->is_folder()) in BookmarkNodeRemoved()
518 if (node->is_folder()) in CreateAllBookmarkButtons()
613 model_->GetBookmarkBarNode()->GetChild(rv)->is_folder()) { in GetFirstHiddenBookmark()
874 int target_mask = bookmark_utils::GetCodeMask(node->is_folder()); in CreateBookmarkButton()
/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_menu_controller_views.cc195 DCHECK(drop_node->is_folder()); in OnPerformDrop()
264 if (!node || !node->is_folder()) in GetSiblingMenu()
348 } else if (node->is_folder()) { in BuildMenu()
Dbookmark_editor_view.cc498 if (child_bb_node->is_folder()) { in CreateNodes()
578 if (node->is_folder() && node->id() == child_b_node->value) { in ApplyNameChangesAndCreateNewFolders()
Dbookmark_context_menu_controller_views.cc64 if (selection_.size() == 1 && selection_[0]->is_folder()) { in BuildMenu()
/external/chromium/chrome/browser/ui/cocoa/applescript/
Dbookmark_folder_applescript.mm25 if (!node->is_folder())
185 if (bookmarkNode_->GetChild(++count)->is_folder())
/external/chromium/chrome/browser/bookmarks/
Dbookmark_pasteboard_helper_mac.mm58 BOOL is_folder = [[pboardBookmark objectForKey:kWebBookmarkType]
60 if (is_folder) {
74 if(is_folder)
Dbookmark_utils.cc284 if (!drop_parent->is_folder()) { in IsValidDropLocation()
317 if (!parent->is_folder() || !model) { in CloneBookmarkNode()
454 if (parent->is_folder() && parent->date_folder_modified() > base::Time()) { in GetMostRecentlyModifiedFolders()
653 if (selection.size() == 1 && selection[0]->is_folder()) in GetParentForNewNodes()
Dbookmark_model.cc111 return n1->is_folder(); in operator ()()
287 if (node->is_folder()) { in SetURL()
430 if (!parent || !parent->is_folder() || is_root(parent) || in SortChildren()
705 return (parent && parent->is_folder() && in IsValidIndex()
Dbookmark_context_menu_controller.cc67 if (selection_.size() == 1 && selection_[0]->is_folder()) { in BuildMenu()
Dbookmark_model_unittest.cc829 ASSERT_TRUE(child->is_folder()); in VerifyExpectedState()
840 ASSERT_TRUE(child->is_folder()); in VerifyExpectedState()
854 ASSERT_TRUE(child->is_folder()); in VerifyExpectedState()

12