/external/chromium_org/chrome/browser/undo/ |
D | bookmark_undo_service_test.cc | 62 const BookmarkNode* parent = model->other_node(); in TEST_F() 67 EXPECT_EQ(0, model->other_node()->child_count()); in TEST_F() 82 const BookmarkNode* parent = model->other_node(); in TEST_F() 91 EXPECT_EQ(1, model->other_node()->child_count()); in TEST_F() 101 EXPECT_EQ(0, model->other_node()->child_count()); in TEST_F() 114 const BookmarkNode* n1 = model->AddURL(model->other_node(), in TEST_F() 128 EXPECT_EQ(1, model->other_node()->child_count()); in TEST_F() 129 const BookmarkNode* node = model->other_node()->GetChild(0); in TEST_F() 135 EXPECT_EQ(1, model->other_node()->child_count()); in TEST_F() 136 node = model->other_node()->GetChild(0); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
D | bookmark_editor_view_unittest.cc | 142 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"), in AddTestData() 145 model_->AddFolder(model_->other_node(), 1, ASCIIToUTF16("OF1")); in AddTestData() 177 BookmarkEditorView::EditorNode* other_node = editor_root->GetChild(1); in TEST_F() local 179 ASSERT_EQ(1, other_node->child_count()); in TEST_F() 180 ASSERT_EQ(ASCIIToUTF16("OF1"), other_node->GetChild(0)->GetTitle()); in TEST_F() 227 const BookmarkNode* other_node = in TEST_F() local 228 BookmarkModelFactory::GetForProfile(profile_.get())->other_node(); in TEST_F() 229 ASSERT_EQ(ASCIIToUTF16("a"), other_node->GetChild(2)->GetTitle()); in TEST_F() 230 ASSERT_TRUE(GURL(base_path() + "a") == other_node->GetChild(2)->url()); in TEST_F() 245 const BookmarkNode* other_node = in TEST_F() local [all …]
|
D | bookmark_bar_view.cc | 588 return model_->other_node(); in GetNodeForButtonAtModelIndex() 598 if (node == model_->other_node()) in GetMenuButtonForNode() 911 node = model_->other_node(); in OnDragUpdated() 948 model_->other_node() : model_->bookmark_bar_node(); in OnPerformDrop() 1045 DCHECK(model->other_node()); in BookmarkModelLoaded() 1046 other_bookmarked_button_->SetAccessibleName(model->other_node()->GetTitle()); in BookmarkModelLoaded() 1047 other_bookmarked_button_->SetText(model->other_node()->GetTitle()); in BookmarkModelLoaded() 1228 node = model_->other_node(); in OnMenuButtonClicked() 1265 node = model_->other_node(); in ButtonPressed() 1300 parent = model_->other_node(); in ShowContextMenuForView() [all …]
|
D | bookmark_menu_delegate.cc | 228 if (node == model->other_node() || node == model->mobile_node()) { in GetDropOperation() 278 if (drop_node == model->other_node() || in OnPerformDrop() 303 (nodes[0]->parent() == GetBookmarkModel()->other_node() && in ShowContextMenu() 444 BuildMenuForPermanentNode(model->other_node(), IDR_BOOKMARK_BAR_FOLDER, menu, in BuildMenusForPermanentNodes()
|
D | bookmark_menu_delegate_unittest.cc | 96 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"), in AddTestData() 99 model_->AddFolder(model_->other_node(), 1, ASCIIToUTF16("OF1")); in AddTestData()
|
D | bookmark_context_menu_unittest.cc | 161 NULL, NULL, profile_.get(), NULL, model_->other_node(), in TEST_F() 288 nodes.push_back(model_->other_node()); in TEST_F()
|
/external/chromium_org/components/bookmarks/browser/ |
D | bookmark_utils_unittest.cc | 79 const BookmarkNode* node1 = model->AddURL(model->other_node(), in TEST_F() 83 const BookmarkNode* node2 = model->AddURL(model->other_node(), in TEST_F() 88 model->AddFolder(model->other_node(), 0, ASCIIToUTF16("foo")); in TEST_F() 137 const BookmarkNode* node1 = model->AddURL(model->other_node(), in TEST_F() 141 model->AddURL(model->other_node(), in TEST_F() 146 model->AddFolder(model->other_node(), 0, ASCIIToUTF16("Folder")); in TEST_F() 173 const BookmarkNode* node1 = model->AddURL(model->other_node(), in TEST_F() 177 model->AddURL(model->other_node(), in TEST_F() 183 model->AddFolder(model->other_node(), 0, ASCIIToUTF16("Folder")); in TEST_F() 211 const BookmarkNode* node1 = model->AddURL(model->other_node(), in TEST_F() [all …]
|
D | bookmark_model_unittest.cc | 324 const BookmarkNode* other_node = model_->other_node(); in TEST_F() local 325 ASSERT_TRUE(other_node != NULL); in TEST_F() 326 EXPECT_EQ(0, other_node->child_count()); in TEST_F() 327 EXPECT_EQ(BookmarkNode::OTHER_NODE, other_node->type()); in TEST_F() 334 EXPECT_TRUE(bb_node->id() != other_node->id()); in TEST_F() 336 EXPECT_TRUE(other_node->id() != mobile_node->id()); in TEST_F() 355 new_node->id() != model_->other_node()->id() && in TEST_F() 376 new_node->id() != model_->other_node()->id() && in TEST_F() 420 new_node->id() != model_->other_node()->id() && in TEST_F() 440 new_node->id() != model_->other_node()->id() && in TEST_F() [all …]
|
D | bookmark_index_unittest.cc | 74 model_->AddURL(model_->other_node(), static_cast<int>(i), in AddBookmarks() 274 model_->AddURL(model_->other_node(), 0, UTF8ToUTF16(data[i].title), url); in TEST_F() 375 model_->Remove(model_->other_node(), 0); in TEST_F() 387 model_->SetTitle(model_->other_node()->GetChild(0), ASCIIToUTF16("blah")); in TEST_F() 405 const BookmarkNode* n1 = model_->AddURL(model_->other_node(), 0, in TEST_F() 438 model->other_node(), i, UTF8ToUTF16(data[i].title), data[i].url); in TEST_F()
|
D | bookmark_codec_unittest.cc | 77 AssertNodesEqual(expected->other_node(), actual->other_node())); in AssertModelsEqual() 167 AsMutable(model->other_node()), in Decode() 223 CheckIDs(model->other_node(), &assigned_ids); in ExpectIDsUnique() 382 const BookmarkNode* other = decoded_model->other_node(); in TEST_F()
|
D | bookmark_codec.cc | 56 model->other_node(), in Encode() 439 BookmarkNode* other_node, in ReassignIDs() argument 443 ReassignIDsHelper(other_node); in ReassignIDs()
|
D | bookmark_codec.h | 129 BookmarkNode* other_node,
|
/external/chromium_org/chrome/browser/extensions/api/bookmarks/ |
D | bookmark_api_helpers_unittest.cc | 39 node_ = model_->AddURL(model_->other_node(), 0, base::ASCIIToUTF16("Digg"), in SetUp() 41 model_->AddURL(model_->other_node(), 0, base::ASCIIToUTF16("News"), in SetUp() 44 model_->other_node(), 0, base::ASCIIToUTF16("outer folder")); in SetUp() 64 model_->other_node(), in TEST_F() 73 model_->other_node(), in TEST_F() 141 RemoveNode(model_, client_, model_->other_node()->id(), true, &error)); in TEST_F() 164 EXPECT_EQ(3, model_->other_node()->child_count()); in TEST_F() 167 EXPECT_EQ(2, model_->other_node()->child_count()); in TEST_F()
|
/external/chromium_org/chrome/browser/sync/ |
D | profile_sync_service_bookmark_unittest.cc | 692 EXPECT_EQ(root->GetIndexOf(model_->other_node()), 1); in ExpectModelMatch() 724 model_associator_->GetSyncIdFromChromeId(model_->other_node()->id()); in other_bookmarks_id() 798 model_->AddFolder(model_->other_node(), 0, base::ASCIIToUTF16("foobar")); in TEST_F() 1010 EXPECT_EQ(1, model_->other_node()->child_count()); in TEST_F() 1020 EXPECT_EQ(1, model_->other_node()->child_count()); in TEST_F() 1044 child_count = model_->other_node()->child_count(); in TEST_F() 1055 EXPECT_EQ(model_->other_node()->child_count(), child_count); in TEST_F() 1092 model_->AddFolder(model_->other_node(), 0, base::ASCIIToUTF16(names[i])); in TEST_F() 1093 model_->AddURL(model_->other_node(), 0, base::ASCIIToUTF16(names[i]), url); in TEST_F() 1097 EXPECT_EQ(static_cast<size_t>(model_->other_node()->child_count()), in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/history/android/ |
D | bookmark_model_sql_handler_unittest.cc | 105 row.set_parent_id(bookmark_model_->other_node()->id()); in TEST_F() 165 row.set_parent_id(bookmark_model_->other_node()->id()); in TEST_F() 222 row.set_parent_id(bookmark_model_->other_node()->id()); in TEST_F() 230 EXPECT_EQ(2, bookmark_model_->other_node()->child_count()); in TEST_F() 242 EXPECT_EQ(1, bookmark_model_->other_node()->child_count()); in TEST_F()
|
/external/chromium_org/components/enhanced_bookmarks/ |
D | metadata_accessor_unittest.cc | 32 return model->AddURL(model->other_node(), in AddBookmark() 208 bookmark_model->AddURL(bookmark_model->other_node(), in TEST_F() 232 bookmark_model->AddURL(bookmark_model->other_node(), in TEST_F() 261 bookmark_model->AddURL(bookmark_model->other_node(), in TEST_F()
|
/external/chromium_org/chrome/browser/autocomplete/ |
D | bookmark_provider_unittest.cc | 98 const BookmarkNode* other_node = model_->other_node(); in SetUp() local 102 model_->AddURL(other_node, other_node->child_count(), in SetUp()
|
/external/chromium_org/chrome/browser/bookmarks/ |
D | chrome_bookmark_client_unittest.cc | 154 EXPECT_TRUE(model_->other_node()->empty()); in TEST_F() 232 EXPECT_FALSE(client_->IsDescendantOfManagedNode(model_->other_node())); in TEST_F() 271 const BookmarkNode* user_node = model_->AddURL(model_->other_node(), in TEST_F()
|
D | bookmark_html_writer_unittest.cc | 216 model->other_node(), 0, url1_title, url1, t1, NULL); in TEST_F() 218 model->other_node(), 1, url2_title, url2, t2, NULL); in TEST_F() 219 const BookmarkNode* f3 = model->AddFolder(model->other_node(), 2, f3_title); in TEST_F()
|
/external/chromium_org/components/policy/core/browser/ |
D | managed_bookmarks_tracker_unittest.cc | 174 EXPECT_TRUE(model_->other_node()->empty()); in TEST_F() 184 EXPECT_TRUE(model_->other_node()->empty()); in TEST_F() 278 EXPECT_FALSE(IsManaged(model_->other_node())); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/bookmarks/ |
D | recently_used_folders_combo_model.cc | 67 RemoveNode(model->other_node()); in RecentlyUsedFoldersComboModel() 81 items_.push_back(Item(model->other_node(), Item::TYPE_NODE)); in RecentlyUsedFoldersComboModel()
|
D | bookmark_context_menu_controller_unittest.cc | 130 NULL, NULL, NULL, profile_.get(), NULL, model_->other_node(), in TEST_F() 270 nodes.push_back(model_->other_node()); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_model_observer_for_cocoa_unittest.mm | 52 model->Move(node, model->other_node(), 0);
|
D | bookmark_menu_bridge.mm | 98 if (!model->other_node()->empty()) { 101 model->other_node(), 111 if (model->other_node()->empty())
|
/external/chromium_org/chrome/browser/sync/glue/ |
D | bookmark_model_associator.cc | 452 if (!AssociateTaggedPermanentNode(bookmark_model_->other_node(), in BuildAssociations() 476 bookmark_model_->other_node()->id()); in BuildAssociations() 621 dfs_stack.push(bookmark_model_->other_node()); in ApplyDeletesFromSyncJournal()
|