/external/chromium/chrome/browser/ui/views/bookmarks/ |
D | bookmark_editor_view_unittest.cc | 120 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"), in AddTestData() 123 model_->AddFolder(model_->other_node(), 1, ASCIIToUTF16("OF1")); in AddTestData() 149 BookmarkEditorView::EditorNode* other_node = editor_root->GetChild(1); in TEST_F() local 151 ASSERT_EQ(1, other_node->child_count()); in TEST_F() 152 ASSERT_EQ(ASCIIToUTF16("OF1"), other_node->GetChild(0)->GetTitle()); in TEST_F() 196 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node(); in TEST_F() local 197 ASSERT_EQ(ASCIIToUTF16("a"), other_node->GetChild(2)->GetTitle()); in TEST_F() 198 ASSERT_TRUE(GURL(base_path() + "a") == other_node->GetChild(2)->GetURL()); in TEST_F() 212 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node(); in TEST_F() local 213 ASSERT_EQ(ASCIIToUTF16("a"), other_node->GetChild(2)->GetTitle()); in TEST_F() [all …]
|
D | bookmark_bar_view.cc | 607 node = model_->other_node(); in OnDragUpdated() 643 drop_info_->is_over_other ? model_->other_node() : in OnPerformDrop() 813 return model_->other_node(); in GetNodeForButtonAt() 821 if (node == model_->other_node()) in GetMenuButtonForNode() 934 DCHECK(node && model_->other_node()); in Loaded() 1159 node = model_->other_node(); in RunMenu() 1187 node = model_->other_node(); in ButtonPressed() 1221 parent = model_->other_node(); in ShowContextMenuForView() 1471 *is_over_other ? model_->other_node() : in CalculateDropOperation() 1622 bool has_other_children = model_->other_node()->child_count() > 0; in UpdateOtherBookmarksVisibility()
|
D | bookmark_context_menu.cc | 69 controller_->profile()->GetBookmarkModel()->other_node() && in ShouldCloseAllMenusOnExecute()
|
D | bookmark_context_menu_test.cc | 138 NULL, profile_.get(), NULL, model_->other_node(), in TEST_F() 262 nodes.push_back(model_->other_node()); in TEST_F()
|
D | bookmark_bar_view_test.cc | 252 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"), in AddTestData() 254 const BookmarkNode* of = model_->AddFolder(model_->other_node(), 1, in AddTestData() 258 const BookmarkNode* of2 = model_->AddFolder(model_->other_node(), 2, in AddTestData() 525 model_->other_node()->GetChild(0)->GetURL()); in Step4() 706 ASSERT_TRUE(model_->other_node()->GetChild(0)->GetURL() == url_dragging_); in Step5()
|
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
D | bookmark_editor_gtk_unittest.cc | 87 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"), in AddTestData() 90 model_->AddFolder(model_->other_node(), 1, ASCIIToUTF16("OF1")); in AddTestData() 108 GtkTreeIter other_node = toplevel; in TEST_F() local 129 ASSERT_EQ(1, gtk_tree_model_iter_n_children(store, &other_node)); in TEST_F() 130 ASSERT_TRUE(gtk_tree_model_iter_children(store, &child, &other_node)); in TEST_F() 188 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node(); in TEST_F() local 189 ASSERT_EQ(ASCIIToUTF16("a"), other_node->GetChild(2)->GetTitle()); in TEST_F() 190 ASSERT_TRUE(GURL(base_path() + "a") == other_node->GetChild(2)->GetURL()); in TEST_F() 210 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node(); in TEST_F() local 211 ASSERT_EQ(ASCIIToUTF16("a"), other_node->GetChild(2)->GetTitle()); in TEST_F() [all …]
|
/external/chromium/chrome/browser/bookmarks/ |
D | bookmark_utils_unittest.cc | 24 model.AddURL(model.other_node(), 0, ASCIIToUTF16("foo bar"), in TEST_F() 27 model.AddURL(model.other_node(), 0, ASCIIToUTF16("baz buz"), in TEST_F() 30 model.AddFolder(model.other_node(), 0, ASCIIToUTF16("foo")); in TEST_F() 60 const BookmarkNode* node = model.AddURL(model.other_node(), 0, in TEST_F() 75 node = model.AddURL(model.other_node(), 0, ASCIIToUTF16("foo bar"), in TEST_F() 88 node = model.AddURL(model.other_node(), 0, ASCIIToUTF16("FOO bar"), in TEST_F() 110 const BookmarkNode* node = model.AddURL(model.other_node(), 0, in TEST_F()
|
D | recently_used_folders_combo_model.cc | 29 RemoveNode(model->other_node()); in RecentlyUsedFoldersComboModel() 34 node->parent() != model->other_node()) { in RecentlyUsedFoldersComboModel() 44 nodes_.push_back(model->other_node()); in RecentlyUsedFoldersComboModel()
|
D | bookmark_model_unittest.cc | 176 const BookmarkNode* other_node = model.other_node(); in TEST_F() local 177 ASSERT_TRUE(other_node != NULL); in TEST_F() 178 EXPECT_EQ(0, other_node->child_count()); in TEST_F() 179 EXPECT_EQ(BookmarkNode::OTHER_NODE, other_node->type()); in TEST_F() 181 EXPECT_TRUE(bb_node->id() != other_node->id()); in TEST_F() 200 new_node->id() != model.other_node()->id()); in TEST_F() 216 new_node->id() != model.other_node()->id()); in TEST_F() 382 model.AddURL(model.other_node(), 0, title, url); in TEST_F() 383 ASSERT_EQ(model.other_node(), model.GetParentForNewNodes()); in TEST_F() 389 const BookmarkNode* folder = model.AddFolder(model.other_node(), 0, in TEST_F() [all …]
|
D | bookmark_model_test_utils.cc | 39 AssertNodesEqual(expected->other_node(), in AssertModelsEqual() 40 actual->other_node(), in AssertModelsEqual()
|
D | bookmark_index_unittest.cc | 38 model_->AddURL(model_->other_node(), static_cast<int>(i), in AddBookmarksWithTitles() 183 model_->Remove(model_->other_node(), 0); in TEST_F() 194 model_->SetTitle(model_->other_node()->GetChild(0), ASCIIToUTF16("blah")); in TEST_F() 211 const BookmarkNode* n1 = model_->AddURL(model_->other_node(), 0, in TEST_F() 260 model->AddURL(model->other_node(), i, UTF8ToUTF16(data[i].title), in TEST_F()
|
D | bookmark_html_writer_unittest.cc | 204 model->AddURLWithCreationTime(model->other_node(), 0, url1_title, url1, t1); in TEST_F() 205 model->AddURLWithCreationTime(model->other_node(), 1, url2_title, url2, t2); in TEST_F() 206 const BookmarkNode* f3 = model->AddFolder(model->other_node(), 2, f3_title); in TEST_F()
|
D | bookmark_codec.cc | 46 return Encode(model->GetBookmarkBarNode(), model->other_node()); in Encode() 292 BookmarkNode* other_node) { in ReassignIDs() argument 295 ReassignIDsHelper(other_node); in ReassignIDs()
|
D | bookmark_codec.h | 108 void ReassignIDs(BookmarkNode* bb_node, BookmarkNode* other_node);
|
D | bookmark_codec_unittest.cc | 113 AsMutable(model->other_node()), in Decode() 163 CheckIDs(model->other_node(), &assigned_ids); in ExpectIDsUnique()
|
D | bookmark_context_menu_controller_unittest.cc | 133 NULL, NULL, profile_.get(), NULL, model_->other_node(), in TEST_F() 260 nodes.push_back(model_->other_node()); in TEST_F()
|
/external/chromium/chrome/browser/sync/ |
D | profile_sync_service_bookmark_unittest.cc | 363 bnode != model_->other_node()) { in ExpectSyncerNodeMatching() 461 EXPECT_EQ(root->GetIndexOf(model_->other_node()), 1); in ExpectModelMatch() 486 model_associator_->GetSyncIdFromChromeId(model_->other_node()->id()); in other_bookmarks_id() 527 model_->AddFolder(model_->other_node(), 0, ASCIIToUTF16("foobar")); in TEST_F() 721 EXPECT_TRUE(model_->other_node()->child_count() == 1); in TEST_F() 731 EXPECT_TRUE(model_->other_node()->child_count() == 1); in TEST_F() 755 child_count = model_->other_node()->child_count(); in TEST_F() 766 EXPECT_EQ(model_->other_node()->child_count(), child_count); in TEST_F() 797 model_->AddFolder(model_->other_node(), 0, ASCIIToUTF16(names[i])); in TEST_F() 798 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16(names[i]), url); in TEST_F() [all …]
|
/external/chromium/chrome/browser/extensions/ |
D | extension_bookmarks_unittest.cc | 18 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("Digg"), in SetUp() 20 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("News"), in SetUp() 23 model_->other_node(), 0, ASCIIToUTF16("outer folder")); in SetUp() 35 model_->other_node(), in TEST_F() 45 model_->other_node(), in TEST_F()
|
D | extension_bookmark_helpers.cc | 94 node == model->other_node() || in RemoveNode()
|
/external/chromium/chrome/browser/history/ |
D | starred_url_database.cc | 440 StarredNode* other_node = GetNodeByType(*roots, StarredEntry::OTHER); in EnsureStarredIntegrityImpl() local 441 if (!other_node) { in EnsureStarredIntegrityImpl() 457 StarredNode* other_node = new StarredNode(entry); in EnsureStarredIntegrityImpl() local 458 roots->insert(other_node); in EnsureStarredIntegrityImpl() 547 BookmarkNode other_node(0, GURL()); in MigrateBookmarksToFileImpl() local 548 other_node.Reset(entry); in MigrateBookmarksToFileImpl() 574 id_to_node_map[other_folder_id] = &other_node; in MigrateBookmarksToFileImpl() 620 encoder.Encode(&bookmark_bar_node, &other_node)); in MigrateBookmarksToFileImpl()
|
/external/chromium/chrome/browser/sync/glue/ |
D | bookmark_change_processor.cc | 194 if (node == model->GetBookmarkBarNode() || node == model->other_node()) { in BookmarkNodeChanged() 228 if (child == model->GetBookmarkBarNode() || child == model->other_node()) { in BookmarkNodeMoved() 387 if ((dst == model->GetBookmarkBarNode()) || (dst == model->other_node())) in ApplyChangesFromSyncModel() 401 foster_parent = model->AddFolder(model->other_node(), in ApplyChangesFromSyncModel() 402 model->other_node()->child_count(), in ApplyChangesFromSyncModel()
|
D | bookmark_model_associator.cc | 337 if (!AssociateTaggedPermanentNode(bookmark_model_->other_node(), in BuildAssociations() 353 bookmark_model_->other_node()->id()); in BuildAssociations() 494 id_index.AddAll(bookmark_model_->other_node()); in LoadAssociations() 525 node != bookmark_model_->other_node() && in LoadAssociations()
|
/external/chromium/chrome/browser/importer/ |
D | profile_writer.cc | 99 (it->in_toolbar ? model->GetBookmarkBarNode() : model->other_node()); in AddBookmarkEntry() 295 const BookmarkNode* other = model->other_node(); in GenerateUniqueFolderName() 354 parent != model->other_node()))) { in DoesBookmarkExist()
|
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_model_observer_for_cocoa_unittest.mm | 61 model->Move(node, model->other_node(), 0);
|
/external/chromium/chrome/browser/ui/cocoa/applescript/ |
D | browsercrapplication+applescript.mm | 86 initWithBookmarkNode:model->other_node()] autorelease];
|