HomeSort by relevance Sort by last modified time
    Searched refs:bb_node (Results 1 - 25 of 28) sorted by null

1 2

  /external/chromium_org/chrome/browser/ui/views/bookmarks/
bookmark_editor_view_unittest.cc 131 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local
133 model_->AddURL(bb_node, 0, ASCIIToUTF16("a"), GURL(test_base + "a"));
134 const BookmarkNode* f1 = model_->AddFolder(bb_node, 1, ASCIIToUTF16("F1"));
138 model_->AddFolder(bb_node, 2, ASCIIToUTF16("F2"));
166 BookmarkEditorView::EditorNode* bb_node = editor_root->GetChild(0); local
168 ASSERT_EQ(2, bb_node->child_count());
169 ASSERT_EQ(ASCIIToUTF16("F1"), bb_node->GetChild(0)->GetTitle());
170 ASSERT_EQ(ASCIIToUTF16("F2"), bb_node->GetChild(1)->GetTitle());
173 ASSERT_EQ(1, bb_node->GetChild(0)->child_count());
174 ASSERT_EQ(ASCIIToUTF16("F11"), bb_node->GetChild(0)->GetChild(0)->GetTitle())
191 const BookmarkNode* bb_node = local
210 const BookmarkNode* bb_node = local
268 const BookmarkNode* bb_node = local
287 const BookmarkNode* bb_node = local
352 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local
    [all...]
bookmark_context_menu_test.cc 98 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local
100 model_->AddURL(bb_node, 0, ASCIIToUTF16("a"), GURL(test_base + "a"));
101 const BookmarkNode* f1 = model_->AddFolder(bb_node, 1, ASCIIToUTF16("F1"));
106 model_->AddFolder(bb_node, 2, ASCIIToUTF16("F2"));
107 model_->AddFolder(bb_node, 3, ASCIIToUTF16("F3"));
108 const BookmarkNode* f4 = model_->AddFolder(bb_node, 4, ASCIIToUTF16("F4"));
303 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local
305 nodes.push_back(bb_node->GetChild(0));
316 int old_count = bb_node->child_count();
319 ASSERT_TRUE(bb_node->GetChild(1)->is_url())
    [all...]
bookmark_editor_view.cc 153 EditorNode* bb_node = tree_model_->AsNode(node); local
154 return (bb_node->parent() && bb_node->parent()->parent());
496 void BookmarkEditorView::CreateNodes(const BookmarkNode* bb_node,
498 for (int i = 0; i < bb_node->child_count(); ++i) {
499 const BookmarkNode* child_bb_node = bb_node->GetChild(i);
572 const BookmarkNode* bb_node,
577 *parent_bb_node = bb_node;
583 child_bb_node = bb_model_->AddFolder(bb_node,
584 bb_node->child_count(), child_b_node->GetTitle())
    [all...]
bookmark_menu_delegate_unittest.cc 83 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local
85 model_->AddURL(bb_node, 0, ASCIIToUTF16("a"), GURL(test_base + "a"));
86 const BookmarkNode* f1 = model_->AddFolder(bb_node, 1, ASCIIToUTF16("F1"));
90 model_->AddFolder(bb_node, 2, ASCIIToUTF16("F2"));
bookmark_editor_view.h 168 // Adds and creates a child node in b_node for all children of bb_node that
170 void CreateNodes(const BookmarkNode* bb_node, EditorNode* b_node);
185 // bb_node gives the BookmarkNode the edits are to be applied to, with b_node
188 // If b_node == parent_b_node, parent_bb_node is set to bb_node. This is
192 const BookmarkNode* bb_node,
  /external/chromium/chrome/browser/ui/views/bookmarks/
bookmark_editor_view_unittest.cc 139 BookmarkEditorView::EditorNode* bb_node = editor_root->GetChild(0); local
141 ASSERT_EQ(2, bb_node->child_count());
142 ASSERT_EQ(ASCIIToUTF16("F1"), bb_node->GetChild(0)->GetTitle());
143 ASSERT_EQ(ASCIIToUTF16("F2"), bb_node->GetChild(1)->GetTitle());
146 ASSERT_EQ(1, bb_node->GetChild(0)->child_count());
147 ASSERT_EQ(ASCIIToUTF16("F11"), bb_node->GetChild(0)->GetChild(0)->GetTitle());
163 const BookmarkNode* bb_node = local
165 ASSERT_EQ(ASCIIToUTF16("new_a"), bb_node->GetChild(0)->GetTitle());
167 ASSERT_TRUE(GURL(base_path() + "a") == bb_node->GetChild(0)->GetURL());
181 const BookmarkNode* bb_node local
234 const BookmarkNode* bb_node = local
261 const BookmarkNode* bb_node = local
    [all...]
bookmark_editor_view.cc 180 EditorNode* bb_node = tree_model_->AsNode(node); local
181 return (bb_node->parent() && bb_node->parent()->parent());
494 void BookmarkEditorView::CreateNodes(const BookmarkNode* bb_node,
496 for (int i = 0; i < bb_node->child_count(); ++i) {
497 const BookmarkNode* child_bb_node = bb_node->GetChild(i);
560 const BookmarkNode* bb_node,
565 *parent_bb_node = bb_node;
571 child_bb_node = bb_model_->AddFolder(bb_node,
572 bb_node->child_count(), child_b_node->GetTitle())
    [all...]
bookmark_editor_view.h 172 // Adds and creates a child node in b_node for all children of bb_node that
174 void CreateNodes(const BookmarkNode* bb_node, EditorNode* b_node);
189 // bb_node gives the BookmarkNode the edits are to be applied to, with b_node
192 // If b_node == parent_b_node, parent_bb_node is set to bb_node. This is
196 const BookmarkNode* bb_node,
  /external/chromium/chrome/browser/bookmarks/
bookmark_codec.h 56 bool Decode(BookmarkNode* bb_node,
99 bool DecodeHelper(BookmarkNode* bb_node,
108 void ReassignIDs(BookmarkNode* bb_node, BookmarkNode* other_node);
bookmark_codec.cc 68 bool BookmarkCodec::Decode(BookmarkNode* bb_node,
78 bool success = DecodeHelper(bb_node, other_folder_node, value);
83 ReassignIDs(bb_node, other_folder_node);
116 bool BookmarkCodec::DecodeHelper(BookmarkNode* bb_node,
154 bb_node);
160 bb_node->set_type(BookmarkNode::BOOKMARK_BAR);
162 bb_node->set_title(l10n_util::GetStringUTF16(IDS_BOOMARK_BAR_FOLDER_NAME));
291 void BookmarkCodec::ReassignIDs(BookmarkNode* bb_node,
294 ReassignIDsHelper(bb_node);
bookmark_storage.h 31 BookmarkLoadDetails(BookmarkNode* bb_node,
37 BookmarkNode* bb_node() { return bb_node_.get(); } function in class:BookmarkLoadDetails
bookmark_storage.cc 71 codec.Decode(details_->bb_node(), details_->other_folder_node(),
81 AddBookmarksToIndex(details_->bb_node());
116 BookmarkLoadDetails::BookmarkLoadDetails(BookmarkNode* bb_node,
120 : bb_node_(bb_node),
bookmark_codec_unittest.cc 248 const BookmarkNode* bb_node = decoded_model->GetBookmarkBarNode(); local
249 decoded_model->AddURL(bb_node, 0, ASCIIToUTF16("new url1"),
251 decoded_model->AddURL(bb_node, 0, ASCIIToUTF16("new url2"),
bookmark_model_unittest.cc 171 const BookmarkNode* bb_node = model.GetBookmarkBarNode(); local
172 ASSERT_TRUE(bb_node != NULL);
173 EXPECT_EQ(0, bb_node->child_count());
174 EXPECT_EQ(BookmarkNode::BOOKMARK_BAR, bb_node->type());
181 EXPECT_TRUE(bb_node->id() != other_node->id());
636 const BookmarkNode* bb_node) {
641 model->AddFolder(bb_node, i, child->GetTitle());
644 model->AddURL(bb_node, i, child->GetTitle(),
    [all...]
  /external/chromium_org/chrome/browser/ui/bookmarks/
bookmark_context_menu_controller_unittest.cc 92 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local
94 model_->AddURL(bb_node, 0, ASCIIToUTF16("a"), GURL(test_base + "a"));
95 const BookmarkNode* f1 = model_->AddFolder(bb_node, 1, ASCIIToUTF16("F1"));
99 model_->AddFolder(bb_node, 2, ASCIIToUTF16("F2"));
100 model_->AddFolder(bb_node, 3, ASCIIToUTF16("F3"));
101 const BookmarkNode* f4 = model_->AddFolder(bb_node, 4, ASCIIToUTF16("F4"));
306 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local
308 nodes.push_back(bb_node->GetChild(0));
320 int old_count = bb_node->child_count();
323 ASSERT_TRUE(bb_node->GetChild(1)->is_url())
    [all...]
  /external/chromium/chrome/browser/ui/gtk/bookmarks/
bookmark_editor_gtk_unittest.cc 147 const BookmarkNode* bb_node = local
149 ASSERT_EQ(ASCIIToUTF16("new_a"), bb_node->GetChild(0)->GetTitle());
151 ASSERT_TRUE(GURL(base_path() + "a") == bb_node->GetChild(0)->GetURL());
168 const BookmarkNode* bb_node = local
170 ASSERT_EQ(ASCIIToUTF16("a"), bb_node->GetChild(0)->GetTitle());
172 ASSERT_TRUE(GURL(base_path() + "new_a") == bb_node->GetChild(0)->GetURL());
173 ASSERT_TRUE(node_time == bb_node->GetChild(0)->date_added());
247 const BookmarkNode* bb_node = local
249 const BookmarkNode* mf2 = bb_node->GetChild(1);
279 const BookmarkNode* bb_node local
    [all...]
bookmark_tree_model.cc 41 void RecursiveResolve(BookmarkModel* bb_model, const BookmarkNode* bb_node,
47 *selected_node = bb_node;
59 bb_node, bb_node->child_count(), title);
63 for (int j = 0; j < bb_node->child_count(); ++j) {
64 const BookmarkNode* node = bb_node->GetChild(j);
  /external/chromium_org/chrome/browser/bookmarks/
bookmark_codec.h 56 bool Decode(BookmarkNode* bb_node,
117 bool DecodeHelper(BookmarkNode* bb_node,
127 void ReassignIDs(BookmarkNode* bb_node,
bookmark_storage.cc 67 codec.Decode(details->bb_node(), details->other_folder_node(),
80 AddBookmarksToIndex(details, details->bb_node());
98 BookmarkPermanentNode* bb_node,
103 : bb_node_(bb_node),
bookmark_storage.h 35 BookmarkLoadDetails(BookmarkPermanentNode* bb_node,
42 BookmarkPermanentNode* bb_node() { return bb_node_.get(); } function in class:BookmarkLoadDetails
bookmark_codec.cc 90 bool BookmarkCodec::Decode(BookmarkNode* bb_node,
101 bool success = DecodeHelper(bb_node, other_folder_node, mobile_folder_node,
107 ReassignIDs(bb_node, other_folder_node, mobile_folder_node);
158 bool BookmarkCodec::DecodeHelper(BookmarkNode* bb_node,
198 bb_node); local
234 bb_node->set_type(BookmarkNode::BOOKMARK_BAR);
237 bb_node->SetTitle(l10n_util::GetStringUTF16(IDS_BOOKMARK_BAR_FOLDER_NAME));
432 void BookmarkCodec::ReassignIDs(BookmarkNode* bb_node,
436 ReassignIDsHelper(bb_node);
bookmark_model_unittest.cc 289 const BookmarkNode* bb_node = model_.bookmark_bar_node(); local
290 ASSERT_TRUE(bb_node != NULL);
291 EXPECT_EQ(0, bb_node->child_count());
292 EXPECT_EQ(BookmarkNode::BOOKMARK_BAR, bb_node->type());
304 EXPECT_TRUE(bb_node->id() != other_node->id());
305 EXPECT_TRUE(bb_node->id() != mobile_node->id());
851 const BookmarkNode* bb_node) {
856 model->AddFolder(bb_node, i, child->GetTitle());
859 model->AddURL(bb_node, i, child->GetTitle(),
    [all...]
bookmark_codec_unittest.cc 290 const BookmarkNode* bb_node = decoded_model->bookmark_bar_node(); local
291 decoded_model->AddURL(bb_node, 0, ASCIIToUTF16("new url1"),
293 decoded_model->AddURL(bb_node, 0, ASCIIToUTF16("new url2"),
  /external/chromium_org/chrome/browser/ui/gtk/bookmarks/
bookmark_editor_gtk_unittest.cc 170 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local
171 ASSERT_EQ(ASCIIToUTF16("new_a"), bb_node->GetChild(0)->GetTitle());
173 ASSERT_TRUE(GURL(base_path() + "a") == bb_node->GetChild(0)->url());
190 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local
191 ASSERT_EQ(ASCIIToUTF16("a"), bb_node->GetChild(0)->GetTitle());
193 ASSERT_TRUE(GURL(base_path() + "new_a") == bb_node->GetChild(0)->url());
194 ASSERT_TRUE(node_time == bb_node->GetChild(0)->date_added());
266 const BookmarkNode* bb_node = model_->bookmark_bar_node(); local
267 const BookmarkNode* mf2 = bb_node->GetChild(1);
301 const BookmarkNode* bb_node = model_->bookmark_bar_node() local
    [all...]
bookmark_tree_model.cc 48 const BookmarkNode* bb_node,
56 *selected_node = bb_node;
69 bb_node, bb_node->child_count(), title);
80 for (int j = 0; j < bb_node->child_count(); ++j) {
81 const BookmarkNode* node = bb_node->GetChild(j);

Completed in 66 milliseconds

1 2