Home
last modified time | relevance | path

Searched refs:other_node (Results 1 – 25 of 39) sorted by relevance

12

/external/chromium/chrome/browser/ui/views/bookmarks/
Dbookmark_editor_view_unittest.cc120 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 …]
Dbookmark_bar_view.cc607 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()
Dbookmark_context_menu.cc69 controller_->profile()->GetBookmarkModel()->other_node() && in ShouldCloseAllMenusOnExecute()
Dbookmark_context_menu_test.cc138 NULL, profile_.get(), NULL, model_->other_node(), in TEST_F()
262 nodes.push_back(model_->other_node()); in TEST_F()
Dbookmark_bar_view_test.cc252 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/
Dbookmark_editor_gtk_unittest.cc87 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/
Dbookmark_utils_unittest.cc24 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()
Drecently_used_folders_combo_model.cc29 RemoveNode(model->other_node()); in RecentlyUsedFoldersComboModel()
34 node->parent() != model->other_node()) { in RecentlyUsedFoldersComboModel()
44 nodes_.push_back(model->other_node()); in RecentlyUsedFoldersComboModel()
Dbookmark_model_unittest.cc176 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 …]
Dbookmark_model_test_utils.cc39 AssertNodesEqual(expected->other_node(), in AssertModelsEqual()
40 actual->other_node(), in AssertModelsEqual()
Dbookmark_index_unittest.cc38 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()
Dbookmark_html_writer_unittest.cc204 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()
Dbookmark_codec.cc46 return Encode(model->GetBookmarkBarNode(), model->other_node()); in Encode()
292 BookmarkNode* other_node) { in ReassignIDs() argument
295 ReassignIDsHelper(other_node); in ReassignIDs()
Dbookmark_codec.h108 void ReassignIDs(BookmarkNode* bb_node, BookmarkNode* other_node);
Dbookmark_codec_unittest.cc113 AsMutable(model->other_node()), in Decode()
163 CheckIDs(model->other_node(), &assigned_ids); in ExpectIDsUnique()
Dbookmark_context_menu_controller_unittest.cc133 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/
Dprofile_sync_service_bookmark_unittest.cc363 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/
Dextension_bookmarks_unittest.cc18 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()
Dextension_bookmark_helpers.cc94 node == model->other_node() || in RemoveNode()
/external/chromium/chrome/browser/history/
Dstarred_url_database.cc440 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/
Dbookmark_change_processor.cc194 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()
Dbookmark_model_associator.cc337 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/
Dprofile_writer.cc99 (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/
Dbookmark_model_observer_for_cocoa_unittest.mm61 model->Move(node, model->other_node(), 0);
/external/chromium/chrome/browser/ui/cocoa/applescript/
Dbrowsercrapplication+applescript.mm86 initWithBookmarkNode:model->other_node()] autorelease];

12