Searched refs:other_node (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium/chrome/browser/extensions/
H A Dextension_bookmarks_unittest.cc18 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("Digg"),
20 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("News"),
23 model_->other_node(), 0, ASCIIToUTF16("outer folder"));
35 model_->other_node(),
45 model_->other_node(),
H A Dextension_bookmark_helpers.cc94 node == model->other_node() ||
/external/chromium/chrome/browser/ui/views/bookmarks/
H A Dbookmark_editor_view_unittest.cc120 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"),
123 model_->AddFolder(model_->other_node(), 1, ASCIIToUTF16("OF1"));
149 BookmarkEditorView::EditorNode* other_node = editor_root->GetChild(1); local
151 ASSERT_EQ(1, other_node->child_count());
152 ASSERT_EQ(ASCIIToUTF16("OF1"), other_node->GetChild(0)->GetTitle());
196 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node(); local
197 ASSERT_EQ(ASCIIToUTF16("a"), other_node->GetChild(2)->GetTitle());
198 ASSERT_TRUE(GURL(base_path() + "a") == other_node->GetChild(2)->GetURL());
212 const BookmarkNode* other_node local
282 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node(); local
301 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node(); local
[all...]
H A Dbookmark_context_menu.cc69 controller_->profile()->GetBookmarkModel()->other_node() &&
H A Dbookmark_context_menu_test.cc138 NULL, profile_.get(), NULL, model_->other_node(),
262 nodes.push_back(model_->other_node());
H A Dbookmark_bar_view.cc607 node = model_->other_node();
643 drop_info_->is_over_other ? model_->other_node() :
813 return model_->other_node();
821 if (node == model_->other_node())
934 DCHECK(node && model_->other_node());
1159 node = model_->other_node();
1187 node = model_->other_node();
1221 parent = model_->other_node();
1471 *is_over_other ? model_->other_node() :
1622 bool has_other_children = model_->other_node()
[all...]
H A Dbookmark_bar_view_test.cc252 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"),
254 const BookmarkNode* of = model_->AddFolder(model_->other_node(), 1,
258 const BookmarkNode* of2 = model_->AddFolder(model_->other_node(), 2,
525 model_->other_node()->GetChild(0)->GetURL());
706 ASSERT_TRUE(model_->other_node()->GetChild(0)->GetURL() == url_dragging_);
/external/chromium/chrome/browser/ui/gtk/bookmarks/
H A Dbookmark_editor_gtk_unittest.cc87 model_->AddURL(model_->other_node(), 0, ASCIIToUTF16("oa"),
90 model_->AddFolder(model_->other_node(), 1, ASCIIToUTF16("OF1"));
108 GtkTreeIter other_node = toplevel; local
129 ASSERT_EQ(1, gtk_tree_model_iter_n_children(store, &other_node));
130 ASSERT_TRUE(gtk_tree_model_iter_children(store, &child, &other_node));
188 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node(); local
189 ASSERT_EQ(ASCIIToUTF16("a"), other_node->GetChild(2)->GetTitle());
190 ASSERT_TRUE(GURL(base_path() + "a") == other_node->GetChild(2)->GetURL());
210 const BookmarkNode* other_node local
301 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node(); local
320 const BookmarkNode* other_node = profile_->GetBookmarkModel()->other_node(); local
[all...]
/external/chromium/chrome/browser/bookmarks/
H A Drecently_used_folders_combo_model.cc29 RemoveNode(model->other_node());
34 node->parent() != model->other_node()) {
44 nodes_.push_back(model->other_node());
H A Dbookmark_utils_unittest.cc24 model.AddURL(model.other_node(), 0, ASCIIToUTF16("foo bar"),
27 model.AddURL(model.other_node(), 0, ASCIIToUTF16("baz buz"),
30 model.AddFolder(model.other_node(), 0, ASCIIToUTF16("foo"));
60 const BookmarkNode* node = model.AddURL(model.other_node(), 0,
75 node = model.AddURL(model.other_node(), 0, ASCIIToUTF16("foo bar"),
88 node = model.AddURL(model.other_node(), 0, ASCIIToUTF16("FOO bar"),
110 const BookmarkNode* node = model.AddURL(model.other_node(), 0,
H A Dbookmark_model_test_utils.cc39 AssertNodesEqual(expected->other_node(),
40 actual->other_node(),
H A Dbookmark_index_unittest.cc38 model_->AddURL(model_->other_node(), static_cast<int>(i),
183 model_->Remove(model_->other_node(), 0);
194 model_->SetTitle(model_->other_node()->GetChild(0), ASCIIToUTF16("blah"));
211 const BookmarkNode* n1 = model_->AddURL(model_->other_node(), 0,
260 model->AddURL(model->other_node(), i, UTF8ToUTF16(data[i].title),
H A Dbookmark_model_unittest.cc176 const BookmarkNode* other_node = model.other_node(); local
177 ASSERT_TRUE(other_node != NULL);
178 EXPECT_EQ(0, other_node->child_count());
179 EXPECT_EQ(BookmarkNode::OTHER_NODE, other_node->type());
181 EXPECT_TRUE(bb_node->id() != other_node->id());
200 new_node->id() != model.other_node()->id());
216 new_node->id() != model.other_node()->id());
382 model.AddURL(model.other_node(), 0, title, url);
383 ASSERT_EQ(model.other_node(), mode
[all...]
H A Dbookmark_codec.h108 void ReassignIDs(BookmarkNode* bb_node, BookmarkNode* other_node);
H A Dbookmark_codec.cc46 return Encode(model->GetBookmarkBarNode(), model->other_node());
292 BookmarkNode* other_node) {
295 ReassignIDsHelper(other_node);
291 ReassignIDs(BookmarkNode* bb_node, BookmarkNode* other_node) argument
H A Dbookmark_html_writer_unittest.cc204 model->AddURLWithCreationTime(model->other_node(), 0, url1_title, url1, t1);
205 model->AddURLWithCreationTime(model->other_node(), 1, url2_title, url2, t2);
206 const BookmarkNode* f3 = model->AddFolder(model->other_node(), 2, f3_title);
H A Dbookmark_codec_unittest.cc113 AsMutable(model->other_node()),
163 CheckIDs(model->other_node(), &assigned_ids);
H A Dbookmark_context_menu_controller_unittest.cc133 NULL, NULL, profile_.get(), NULL, model_->other_node(),
260 nodes.push_back(model_->other_node());
H A Dbookmark_model.h194 const BookmarkNode* other_node() { return other_node_; } function in class:BookmarkModel
H A Dbookmark_html_writer.cc385 ExtractUrls(profile_->GetBookmarkModel()->other_node());
/external/chromium/chrome/browser/sync/
H A Dprofile_sync_service_bookmark_unittest.cc363 bnode != model_->other_node()) {
461 EXPECT_EQ(root->GetIndexOf(model_->other_node()), 1);
486 model_associator_->GetSyncIdFromChromeId(model_->other_node()->id());
527 model_->AddFolder(model_->other_node(), 0, ASCIIToUTF16("foobar"));
665 // Stress the immediate children of other_node because that's where
669 int64 f0 = other_bookmarks_id(); // + other_node
721 EXPECT_TRUE(model_->other_node()->child_count() == 1);
731 EXPECT_TRUE(model_->other_node()->child_count() == 1);
755 child_count = model_->other_node()->child_count();
766 EXPECT_EQ(model_->other_node()
1225 const BookmarkNode* other_node = model_->other_node(); local
[all...]
/external/chromium/chrome/browser/history/
H A Dstarred_url_database.cc440 StarredNode* other_node = GetNodeByType(*roots, StarredEntry::OTHER); local
441 if (!other_node) {
457 StarredNode* other_node = new StarredNode(entry); local
458 roots->insert(other_node);
547 BookmarkNode other_node(0, GURL());
548 other_node.Reset(entry);
574 id_to_node_map[other_folder_id] = &other_node;
620 encoder.Encode(&bookmark_bar_node, &other_node));
/external/chromium/chrome/browser/importer/
H A Dprofile_writer.cc99 (it->in_toolbar ? model->GetBookmarkBarNode() : model->other_node());
295 const BookmarkNode* other = model->other_node();
354 parent != model->other_node()))) {
/external/chromium/chrome/browser/sync/glue/
H A Dbookmark_model_associator.cc337 if (!AssociateTaggedPermanentNode(bookmark_model_->other_node(),
353 bookmark_model_->other_node()->id());
494 id_index.AddAll(bookmark_model_->other_node());
525 node != bookmark_model_->other_node() &&
H A Dbookmark_change_processor.cc194 if (node == model->GetBookmarkBarNode() || node == model->other_node()) {
228 if (child == model->GetBookmarkBarNode() || child == model->other_node()) {
387 if ((dst == model->GetBookmarkBarNode()) || (dst == model->other_node()))
401 foster_parent = model->AddFolder(model->other_node(),
402 model->other_node()->child_count(),

Completed in 238 milliseconds

12