/external/chromium/chrome/browser/bookmarks/ |
D | bookmark_context_menu_controller_unittest.cc | 90 model_->AddURL(model_->GetBookmarkBarNode(), 0, ASCIIToUTF16("a"), in AddTestData() 93 model_->AddFolder(model_->GetBookmarkBarNode(), 1, ASCIIToUTF16("F1")); in AddTestData() 97 model_->AddFolder(model_->GetBookmarkBarNode(), 2, ASCIIToUTF16("F2")); in AddTestData() 98 model_->AddFolder(model_->GetBookmarkBarNode(), 3, ASCIIToUTF16("F3")); in AddTestData() 100 model_->AddFolder(model_->GetBookmarkBarNode(), 4, ASCIIToUTF16("F4")); in AddTestData() 108 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(0)); in TEST_F() 111 GURL url = model_->GetBookmarkBarNode()->GetChild(0)->GetURL(); in TEST_F() 121 const BookmarkNode* folder = model_->GetBookmarkBarNode()->GetChild(1); in TEST_F() 151 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(0)); in TEST_F() 170 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(0)); in TEST_F() [all …]
|
D | bookmark_model_unittest.cc | 171 const BookmarkNode* bb_node = model.GetBookmarkBarNode(); in TEST_F() 185 const BookmarkNode* root = model.GetBookmarkBarNode(); in TEST_F() 204 const BookmarkNode* root = model.GetBookmarkBarNode(); in TEST_F() 226 const BookmarkNode* root = model.GetBookmarkBarNode(); in TEST_F() 242 const BookmarkNode* root = model.GetBookmarkBarNode(); in TEST_F() 265 const BookmarkNode* root = model.GetBookmarkBarNode(); in TEST_F() 280 const BookmarkNode* root = model.GetBookmarkBarNode(); in TEST_F() 295 const BookmarkNode* root = model.GetBookmarkBarNode(); in TEST_F() 322 const BookmarkNode* root = model.GetBookmarkBarNode(); in TEST_F() 377 ASSERT_EQ(model.GetBookmarkBarNode(), model.GetParentForNewNodes()); in TEST_F() [all …]
|
D | bookmark_codec_unittest.cc | 40 const BookmarkNode* bookmark_bar = model->GetBookmarkBarNode(); in CreateTestModel1() 46 const BookmarkNode* bookmark_bar = model->GetBookmarkBarNode(); in CreateTestModel2() 53 const BookmarkNode* bookmark_bar = model->GetBookmarkBarNode(); in CreateTestModel3() 112 bool result = codec->Decode(AsMutable(model->GetBookmarkBarNode()), in Decode() 162 CheckIDs(model->GetBookmarkBarNode(), &assigned_ids); in ExpectIDsUnique() 224 int bb_child_count = model_to_encode->GetBookmarkBarNode()->child_count(); in TEST_F() 248 const BookmarkNode* bb_node = decoded_model->GetBookmarkBarNode(); in TEST_F() 271 const BookmarkNode* bookmark_bar = decoded_model.GetBookmarkBarNode(); in TEST_F()
|
D | recently_used_folders_combo_model.cc | 28 RemoveNode(model->GetBookmarkBarNode()); in RecentlyUsedFoldersComboModel() 33 if (node->parent() != model->GetBookmarkBarNode() && in RecentlyUsedFoldersComboModel() 43 nodes_.push_back(model->GetBookmarkBarNode()); in RecentlyUsedFoldersComboModel()
|
D | bookmark_model_test_utils.cc | 36 AssertNodesEqual(expected->GetBookmarkBarNode(), in AssertModelsEqual() 37 actual->GetBookmarkBarNode(), in AssertModelsEqual()
|
D | bookmark_node_data_unittest.cc | 79 const BookmarkNode* root = model->GetBookmarkBarNode(); in TEST_F() 122 const BookmarkNode* root = model->GetBookmarkBarNode(); in TEST_F() 161 const BookmarkNode* root = model->GetBookmarkBarNode(); in TEST_F() 200 const BookmarkNode* root = model->GetBookmarkBarNode(); in TEST_F()
|
D | bookmark_utils_unittest.cc | 121 bookmark_utils::CanPasteFromClipboard(model.GetBookmarkBarNode())); in TEST_F() 131 bookmark_utils::CanPasteFromClipboard(model.GetBookmarkBarNode())); in TEST_F()
|
D | bookmark_html_writer_unittest.cc | 192 model->GetBookmarkBarNode(), 0, f1_title); in TEST_F() 201 model->AddURLWithCreationTime(model->GetBookmarkBarNode(), in TEST_F() 209 model->AddURLWithCreationTime(model->GetBookmarkBarNode(), 2, url4_title, in TEST_F()
|
/external/chromium/chrome/browser/ui/views/bookmarks/ |
D | bookmark_context_menu_test.cc | 95 model_->AddURL(model_->GetBookmarkBarNode(), 0, ASCIIToUTF16("a"), in AddTestData() 98 model_->AddFolder(model_->GetBookmarkBarNode(), 1, ASCIIToUTF16("F1")); in AddTestData() 102 model_->AddFolder(model_->GetBookmarkBarNode(), 2, ASCIIToUTF16("F2")); in AddTestData() 103 model_->AddFolder(model_->GetBookmarkBarNode(), 3, ASCIIToUTF16("F3")); in AddTestData() 105 model_->AddFolder(model_->GetBookmarkBarNode(), 4, ASCIIToUTF16("F4")); in AddTestData() 113 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(0)); in TEST_F() 116 GURL url = model_->GetBookmarkBarNode()->GetChild(0)->GetURL(); in TEST_F() 126 const BookmarkNode* folder = model_->GetBookmarkBarNode()->GetChild(1); in TEST_F() 156 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(0)); in TEST_F() 174 nodes.push_back(model_->GetBookmarkBarNode()->GetChild(0)); in TEST_F() [all …]
|
D | bookmark_editor_view_unittest.cc | 110 model_->AddURL(model_->GetBookmarkBarNode(), 0, ASCIIToUTF16("a"), in AddTestData() 113 model_->AddFolder(model_->GetBookmarkBarNode(), 1, ASCIIToUTF16("F1")); in AddTestData() 117 model_->AddFolder(model_->GetBookmarkBarNode(), 2, ASCIIToUTF16("F2")); in AddTestData() 164 profile_->GetBookmarkModel()->GetBookmarkBarNode(); in TEST_F() 182 profile_->GetBookmarkModel()->GetBookmarkBarNode(); in TEST_F() 235 profile_->GetBookmarkModel()->GetBookmarkBarNode(); in TEST_F() 262 profile_->GetBookmarkModel()->GetBookmarkBarNode(); in TEST_F() 315 CreateEditor(profile_.get(), model_->GetBookmarkBarNode(), in TEST_F() 325 ASSERT_EQ(4, model_->GetBookmarkBarNode()->child_count()); in TEST_F() 327 model_->GetBookmarkBarNode()->GetChild(3); in TEST_F() [all …]
|
D | bookmark_bar_view.cc | 609 node = model_->GetBookmarkBarNode(); in OnDragUpdated() 611 node = model_->GetBookmarkBarNode()->GetChild(drop_index); in OnDragUpdated() 644 model_->GetBookmarkBarNode(); in OnPerformDrop() 800 return model_->GetBookmarkBarNode()->GetChild(i); in GetNodeForButtonAt() 807 return model_->GetBookmarkBarNode(); in GetNodeForButtonAt() 823 if (node == model_->GetBookmarkBarNode()) in GetMenuButtonForNode() 825 int index = model_->GetBookmarkBarNode()->GetIndexOf(node); in GetMenuButtonForNode() 933 const BookmarkNode* node = model_->GetBookmarkBarNode(); in Loaded() 985 if (parent != model_->GetBookmarkBarNode()) { in BookmarkNodeAddedImpl() 1017 if (parent != model_->GetBookmarkBarNode()) { in BookmarkNodeRemovedImpl() [all …]
|
D | bookmark_bar_view_test.cc | 234 model_->GetBookmarkBarNode(), 0, ASCIIToUTF16("F1")); in AddTestData() 244 model_->AddURL(model_->GetBookmarkBarNode(), 1, ASCIIToUTF16("a"), in AddTestData() 246 model_->AddURL(model_->GetBookmarkBarNode(), 2, ASCIIToUTF16("b"), in AddTestData() 248 model_->AddURL(model_->GetBookmarkBarNode(), 3, ASCIIToUTF16("c"), in AddTestData() 250 model_->AddURL(model_->GetBookmarkBarNode(), 4, ASCIIToUTF16("d"), in AddTestData() 308 model_->GetBookmarkBarNode()->GetChild(0)->GetChild(0)-> in Step3() 540 model_->GetBookmarkBarNode()->GetChild(0)->GetChild(0)->GetURL(); in DoTestOnMessageLoop() 595 GURL url = model_->GetBookmarkBarNode()->GetChild(0)->GetChild(1)->GetURL(); in Step5() 634 model_->GetBookmarkBarNode()->GetChild(4)->GetURL()); in Step3() 648 model_->GetBookmarkBarNode()->GetChild(0)->GetChild(0)->GetURL(); in DoTestOnMessageLoop() [all …]
|
D | bookmark_bar_view_unittest.cc | 19 profile()->GetBookmarkModel()->GetBookmarkBarNode(), in TEST_F()
|
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_bubble_controller_unittest.mm | 107 const BookmarkNode* node = model->AddURL(model->GetBookmarkBarNode(), 122 const BookmarkNode* node = model->AddURL(model->GetBookmarkBarNode(), 140 const BookmarkNode* bookmarkBarNode = model->GetBookmarkBarNode(); 181 const BookmarkNode* bookmarkBarNode = model->GetBookmarkBarNode(); 218 const BookmarkNode* node = model->AddURL(model->GetBookmarkBarNode(), 237 model->GetBookmarkBarNode(), 0, ASCIIToUTF16("Bookie markie title"), 258 const BookmarkNode* bookmarkBarNode = model->GetBookmarkBarNode(); 287 const BookmarkNode* bookmarkBarNode = model->GetBookmarkBarNode(); 318 const BookmarkNode* bookmarkBarNode = model->GetBookmarkBarNode(); 344 const BookmarkNode* node = model->AddURL(model->GetBookmarkBarNode(), [all …]
|
D | bookmark_name_folder_controller_unittest.mm | 25 const BookmarkNode* parent = model->GetBookmarkBarNode(); 55 const BookmarkNode* parent = model->GetBookmarkBarNode(); 85 const BookmarkNode* parent = model->GetBookmarkBarNode(); 106 const BookmarkNode* parent = model->GetBookmarkBarNode(); 126 const BookmarkNode* parent = model->GetBookmarkBarNode(); 150 const BookmarkNode* parent = model->GetBookmarkBarNode();
|
D | bookmark_editor_base_controller_unittest.mm | 42 const BookmarkNode* root = model.GetBookmarkBarNode(); 91 const BookmarkNode& root(*model.GetBookmarkBarNode()); 169 const BookmarkNode* bar = model->GetBookmarkBarNode(); 195 const BookmarkNode* root = model.GetBookmarkBarNode(); 208 const BookmarkNode* root = model.GetBookmarkBarNode();
|
D | bookmark_menu_bridge_unittest.mm | 101 const BookmarkNode* parent = model->GetBookmarkBarNode(); 153 const BookmarkNode* parent = model->GetBookmarkBarNode(); 169 const BookmarkNode* root = model->GetBookmarkBarNode(); 246 const BookmarkNode* root = model->GetBookmarkBarNode(); 312 const BookmarkNode* bookmark_bar = model->GetBookmarkBarNode(); 362 const BookmarkNode* root = model->GetBookmarkBarNode(); 379 const BookmarkNode* root = model->GetBookmarkBarNode();
|
D | bookmark_bar_controller_unittest.mm | 335 const BookmarkNode* parent = model->GetBookmarkBarNode(); 523 const BookmarkNode* bar = model->GetBookmarkBarNode(); 567 const BookmarkNode* parent = model->GetBookmarkBarNode(); 610 const BookmarkNode* parent = model->GetBookmarkBarNode(); 699 NSMenu* menu = [bar_ menuForFolderNode:model->GetBookmarkBarNode()]; 707 menu = [bar_ menuForFolderNode:model->GetBookmarkBarNode()]; 721 const BookmarkNode* parent = model->GetBookmarkBarNode(); 729 menu = [bar_ menuForFolderNode:model->GetBookmarkBarNode()]; 835 const BookmarkNode* parent = model->GetBookmarkBarNode(); 924 const BookmarkNode* parent = model->GetBookmarkBarNode(); [all …]
|
D | bookmark_button_cell_unittest.mm | 98 const BookmarkNode* node = model->GetBookmarkBarNode(); 114 const BookmarkNode* node = model.GetBookmarkBarNode(); 160 const BookmarkNode* bar = model->GetBookmarkBarNode();
|
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
D | bookmark_editor_gtk_unittest.cc | 77 model_->AddURL(model_->GetBookmarkBarNode(), 0, ASCIIToUTF16("a"), in AddTestData() 80 model_->AddFolder(model_->GetBookmarkBarNode(), 1, ASCIIToUTF16("F1")); in AddTestData() 84 model_->AddFolder(model_->GetBookmarkBarNode(), 2, ASCIIToUTF16("F2")); in AddTestData() 148 profile_->GetBookmarkModel()->GetBookmarkBarNode(); in TEST_F() 169 profile_->GetBookmarkModel()->GetBookmarkBarNode(); in TEST_F() 248 profile_->GetBookmarkModel()->GetBookmarkBarNode(); in TEST_F() 280 profile_->GetBookmarkModel()->GetBookmarkBarNode(); in TEST_F()
|
D | bookmark_bar_gtk.cc | 439 if (parent != model_->GetBookmarkBarNode()) { in BookmarkNodeAdded() 461 if (parent != model_->GetBookmarkBarNode()) { in BookmarkNodeRemoved() 480 if (node->parent() != model_->GetBookmarkBarNode()) { in BookmarkNodeChanged() 484 int index = model_->GetBookmarkBarNode()->GetIndexOf(node); in BookmarkNodeChanged() 501 if (node != model_->GetBookmarkBarNode()) in BookmarkNodeChildrenReordered() 510 const BookmarkNode* bar = model_->GetBookmarkBarNode(); in CreateAllBookmarkButtons() 530 show_instructions_ = (model_->GetBookmarkBarNode()->child_count() == 0); in SetInstructionState() 613 model_->GetBookmarkBarNode()->GetChild(rv)->is_folder()) { in GetFirstHiddenBookmark() 730 if (parent->parent() == model_->GetBookmarkBarNode()) { in StartThrobbing() 743 int idx = model_->GetBookmarkBarNode()->GetIndexOf(parent_on_bb); in StartThrobbing() [all …]
|
D | bookmark_bar_gtk_unittest.cc | 74 const BookmarkNode* parent = model->GetBookmarkBarNode(); in TEST_F() 85 const BookmarkNode* parent = model->GetBookmarkBarNode(); in TEST_F()
|
/external/chromium/chrome/browser/ui/cocoa/applescript/ |
D | bookmark_applescript_utils_unittest.mm | 54 const BookmarkNode* root = model().GetBookmarkBarNode(); 58 initWithBookmarkNode:model().GetBookmarkBarNode()]);
|
/external/chromium/chrome/browser/sync/ |
D | profile_sync_service_bookmark_unittest.cc | 362 if (bnode != model_->GetBookmarkBarNode() && in ExpectSyncerNodeMatching() 460 EXPECT_EQ(root->GetIndexOf(model_->GetBookmarkBarNode()), 0); in ExpectModelMatch() 491 model_->GetBookmarkBarNode()->id()); in bookmark_bar_id() 549 model_->Move(folder2, model_->GetBookmarkBarNode(), 0); in TEST_F() 557 model_->Copy(url2, model_->GetBookmarkBarNode(), 0); in TEST_F() 1042 const BookmarkNode* bookmarks_bar_node = model_->GetBookmarkBarNode(); in WriteTestDataToBookmarkModel() 1073 const BookmarkNode* bookmark_bar_node = model_->GetBookmarkBarNode(); in ExpectBookmarkModelMatchesTestData() 1162 EXPECT_EQ(model_->GetBookmarkBarNode()->child_count(), 0); in TEST_F() 1195 const BookmarkNode* bookmark_bar = model_->GetBookmarkBarNode(); in TEST_F() 1212 const BookmarkNode* bookmark_bar_node = model_->GetBookmarkBarNode(); in TEST_F() [all …]
|
/external/chromium/chrome/browser/sync/glue/ |
D | bookmark_model_associator.cc | 343 if (!AssociateTaggedPermanentNode(bookmark_model_->GetBookmarkBarNode(), in BuildAssociations() 350 bookmark_model_->GetBookmarkBarNode()->id()); in BuildAssociations() 493 id_index.AddAll(bookmark_model_->GetBookmarkBarNode()); in LoadAssociations() 524 if (node != bookmark_model_->GetBookmarkBarNode() && in LoadAssociations()
|