/external/chromium_org/chrome/browser/ui/bookmarks/ |
bookmark_context_menu_controller_unittest.cc | 80 const BookmarkNode* bb_node = model->bookmark_bar_node(); local 82 model->AddURL(bb_node, 0, ASCIIToUTF16("a"), GURL(test_base + "a")); 83 const BookmarkNode* f1 = model->AddFolder(bb_node, 1, ASCIIToUTF16("F1")); 87 model->AddFolder(bb_node, 2, ASCIIToUTF16("F2")); 88 model->AddFolder(bb_node, 3, ASCIIToUTF16("F3")); 89 const BookmarkNode* f4 = model->AddFolder(bb_node, 4, ASCIIToUTF16("F4")); 308 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local 310 nodes.push_back(bb_node->GetChild(0)); 322 int old_count = bb_node->child_count(); 325 ASSERT_TRUE(bb_node->GetChild(1)->is_url()) [all...] |
/external/chromium_org/chrome/browser/ui/views/bookmarks/ |
bookmark_context_menu_unittest.cc | 108 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local 110 model_->AddURL(bb_node, 0, ASCIIToUTF16("a"), GURL(test_base + "a")); 111 const BookmarkNode* f1 = model_->AddFolder(bb_node, 1, ASCIIToUTF16("F1")); 116 model_->AddFolder(bb_node, 2, ASCIIToUTF16("F2")); 117 model_->AddFolder(bb_node, 3, ASCIIToUTF16("F3")); 118 const BookmarkNode* f4 = model_->AddFolder(bb_node, 4, ASCIIToUTF16("F4")); 310 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local 312 nodes.push_back(bb_node->GetChild(0)); 323 int old_count = bb_node->child_count(); 326 ASSERT_TRUE(bb_node->GetChild(1)->is_url()) 343 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local [all...] |
bookmark_menu_delegate_unittest.cc | 86 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local 88 model_->AddURL(bb_node, 0, ASCIIToUTF16("a"), GURL(test_base + "a")); 89 const BookmarkNode* f1 = model_->AddFolder(bb_node, 1, ASCIIToUTF16("F1")); 93 model_->AddFolder(bb_node, 2, ASCIIToUTF16("F2"));
|
bookmark_editor_view_unittest.cc | 133 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local 135 model_->AddURL(bb_node, 0, ASCIIToUTF16("a"), GURL(test_base + "a")); 136 const BookmarkNode* f1 = model_->AddFolder(bb_node, 1, ASCIIToUTF16("F1")); 140 model_->AddFolder(bb_node, 2, ASCIIToUTF16("F2")); 168 BookmarkEditorView::EditorNode* bb_node = editor_root->GetChild(0); local 170 ASSERT_EQ(2, bb_node->child_count()); 171 ASSERT_EQ(ASCIIToUTF16("F1"), bb_node->GetChild(0)->GetTitle()); 172 ASSERT_EQ(ASCIIToUTF16("F2"), bb_node->GetChild(1)->GetTitle()); 175 ASSERT_EQ(1, bb_node->GetChild(0)->child_count()); 176 ASSERT_EQ(ASCIIToUTF16("F11"), bb_node->GetChild(0)->GetChild(0)->GetTitle()) 193 const BookmarkNode* bb_node = local 212 const BookmarkNode* bb_node = local 270 const BookmarkNode* bb_node = local 289 const BookmarkNode* bb_node = local 354 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local [all...] |
bookmark_editor_view.cc | 156 EditorNode* bb_node = tree_model_->AsNode(node); local 157 return (bb_node->parent() && bb_node->parent()->parent()); 507 void BookmarkEditorView::CreateNodes(const BookmarkNode* bb_node, 509 for (int i = 0; i < bb_node->child_count(); ++i) { 510 const BookmarkNode* child_bb_node = bb_node->GetChild(i); 584 const BookmarkNode* bb_node, 589 *parent_bb_node = bb_node; 595 child_bb_node = bb_model_->AddFolder(bb_node, 596 bb_node->child_count(), child_b_node->GetTitle()) [all...] |
bookmark_bar_view_test.cc | 356 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local 358 const BookmarkNode* f1 = model_->AddFolder(bb_node, 0, ASCIIToUTF16("F1")); 368 model_->AddURL(bb_node, 1, ASCIIToUTF16("a"), GURL(test_base + "a")); 369 model_->AddURL(bb_node, 2, ASCIIToUTF16("b"), GURL(test_base + "b")); 370 model_->AddURL(bb_node, 3, ASCIIToUTF16("c"), GURL(test_base + "c")); 371 model_->AddURL(bb_node, 4, ASCIIToUTF16("d"), GURL(test_base + "d")); 372 model_->AddFolder(bb_node, 5, ASCIIToUTF16("F2")); 373 model_->AddURL(bb_node, 6, ASCIIToUTF16("d"), GURL(test_base + "d")); [all...] |
/external/chromium_org/components/enhanced_bookmarks/ |
enhanced_bookmark_utils.cc | 94 const BookmarkNode* bb_node = model->bookmark_bar_node(); local 95 if (bb_node->child_count() > 0) 96 root_level_folders.push_back(bb_node);
|
/external/chromium_org/components/bookmarks/browser/ |
bookmark_storage.h | 45 BookmarkLoadDetails(BookmarkPermanentNode* bb_node, 55 BookmarkPermanentNode* bb_node() { return bb_node_.get(); } function in class:bookmarks::BookmarkLoadDetails
|
bookmark_codec.cc | 92 bool BookmarkCodec::Decode(BookmarkNode* bb_node, 103 bool success = DecodeHelper(bb_node, other_folder_node, mobile_folder_node, 109 ReassignIDs(bb_node, other_folder_node, mobile_folder_node); 160 bool BookmarkCodec::DecodeHelper(BookmarkNode* bb_node, 201 NULL, bb_node); local 237 bb_node->set_type(BookmarkNode::BOOKMARK_BAR); 240 bb_node->SetTitle(l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_FOLDER_NAME)); 438 void BookmarkCodec::ReassignIDs(BookmarkNode* bb_node, 442 ReassignIDsHelper(bb_node);
|
bookmark_codec_unittest.cc | 314 const BookmarkNode* bb_node = decoded_model->bookmark_bar_node(); local 316 bb_node, 0, ASCIIToUTF16("new url1"), GURL("http://newurl1.com")); 318 bb_node, 0, ASCIIToUTF16("new url2"), GURL("http://newurl2.com"));
|
bookmark_model.cc | 1000 BookmarkPermanentNode* bb_node = local 1007 bb_node,
|
bookmark_model_unittest.cc | 311 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local 312 ASSERT_TRUE(bb_node != NULL); 313 EXPECT_EQ(0, bb_node->child_count()); 314 EXPECT_EQ(BookmarkNode::BOOKMARK_BAR, bb_node->type()); 326 EXPECT_TRUE(bb_node->id() != other_node->id()); 327 EXPECT_TRUE(bb_node->id() != mobile_node->id()); [all...] |