Home
last modified time | relevance | path

Searched refs:bookmark_bar (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_view_unittest.cc109 BookmarkBarView* bookmark_bar = browser_view()->GetBookmarkBarView(); in TEST_F() local
110 EXPECT_FALSE(bookmark_bar->visible()); in TEST_F()
111 EXPECT_FALSE(bookmark_bar->IsDetached()); in TEST_F()
113 EXPECT_TRUE(bookmark_bar->visible()); in TEST_F()
114 EXPECT_FALSE(bookmark_bar->IsDetached()); in TEST_F()
116 EXPECT_FALSE(bookmark_bar->visible()); in TEST_F()
117 EXPECT_FALSE(bookmark_bar->IsDetached()); in TEST_F()
123 EXPECT_TRUE(bookmark_bar->visible()); in TEST_F()
124 EXPECT_TRUE(bookmark_bar->IsDetached()); in TEST_F()
125 EXPECT_EQ(browser_view(), bookmark_bar->parent()); in TEST_F()
[all …]
Dbrowser_view_browsertest.cc205 ASSERT_TRUE(browser_view()->bookmark_bar()); in IN_PROC_BROWSER_TEST_F()
207 BookmarkBarView* bookmark_bar = browser_view()->bookmark_bar(); in IN_PROC_BROWSER_TEST_F() local
208 bookmark_bar->AddObserver(&observer); in IN_PROC_BROWSER_TEST_F()
209 EXPECT_TRUE(bookmark_bar->visible()); in IN_PROC_BROWSER_TEST_F()
213 EXPECT_FALSE(bookmark_bar->visible()); in IN_PROC_BROWSER_TEST_F()
219 EXPECT_TRUE(bookmark_bar->visible()); in IN_PROC_BROWSER_TEST_F()
227 EXPECT_TRUE(bookmark_bar->visible()); in IN_PROC_BROWSER_TEST_F()
231 EXPECT_TRUE(bookmark_bar->visible()); in IN_PROC_BROWSER_TEST_F()
236 EXPECT_TRUE(bookmark_bar->visible()); in IN_PROC_BROWSER_TEST_F()
240 browser_view()->bookmark_bar()->RemoveObserver(&observer); in IN_PROC_BROWSER_TEST_F()
Dbrowser_view_layout.h64 void set_bookmark_bar(BookmarkBarView* bookmark_bar) { in set_bookmark_bar() argument
65 bookmark_bar_ = bookmark_bar; in set_bookmark_bar()
Dbrowser_view.h170 BookmarkBarView* bookmark_bar() { return bookmark_bar_view_.get(); } in bookmark_bar() function
/external/chromium_org/chrome/browser/importer/
Dprofile_writer.cc48 const BookmarkNode* bookmark_bar = model->bookmark_bar_node(); in GenerateUniqueFolderName() local
49 for (int i = 0; i < bookmark_bar->child_count(); ++i) { in GenerateUniqueFolderName()
50 const BookmarkNode* node = bookmark_bar->GetChild(i); in GenerateUniqueFolderName()
128 const BookmarkNode* bookmark_bar = model->bookmark_bar_node(); in AddBookmarks() local
129 bool import_to_top_level = bookmark_bar->empty(); in AddBookmarks()
166 parent = bookmark_bar; in AddBookmarks()
173 top_level_folder = model->AddFolder(bookmark_bar, in AddBookmarks()
174 bookmark_bar->child_count(), in AddBookmarks()
186 if (bookmark->in_toolbar && parent == bookmark_bar && in AddBookmarks()
/external/chromium_org/components/bookmarks/browser/
Dbookmark_codec_unittest.cc89 const BookmarkNode* bookmark_bar = model->bookmark_bar_node(); in CreateTestModel1() local
90 model->AddURL(bookmark_bar, 0, ASCIIToUTF16(kUrl1Title), GURL(kUrl1Url)); in CreateTestModel1()
95 const BookmarkNode* bookmark_bar = model->bookmark_bar_node(); in CreateTestModel2() local
96 model->AddURL(bookmark_bar, 0, ASCIIToUTF16(kUrl1Title), GURL(kUrl1Url)); in CreateTestModel2()
97 model->AddURL(bookmark_bar, 1, ASCIIToUTF16(kUrl2Title), GURL(kUrl2Url)); in CreateTestModel2()
102 const BookmarkNode* bookmark_bar = model->bookmark_bar_node(); in CreateTestModel3() local
103 model->AddURL(bookmark_bar, 0, ASCIIToUTF16(kUrl1Title), GURL(kUrl1Url)); in CreateTestModel3()
105 model->AddFolder(bookmark_bar, 1, ASCIIToUTF16(kFolder1Title)); in CreateTestModel3()
336 const BookmarkNode* bookmark_bar = decoded_model->bookmark_bar_node(); in TEST_F() local
337 decoded_model->AddURL(bookmark_bar, in TEST_F()
[all …]
/external/chromium_org/sync/internal_api/
Dsync_rollback_manager_base_unittest.cc71 ReadNode bookmark_bar(&trans); in TEST_F() local
73 bookmark_bar.InitByTagLookupForBookmarks("bookmark_bar")); in TEST_F()
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_menu_cocoa_controller_unittest.mm33 const BookmarkNode* bookmark_bar = model->bookmark_bar_node();
34 nodes_[0] = model->AddURL(bookmark_bar, 0, empty, GURL("http://0.com"));
35 nodes_[1] = model->AddURL(bookmark_bar, 1, empty, GURL("http://1.com"));
Dbookmark_menu_bridge_unittest.mm320 const BookmarkNode* bookmark_bar = model->bookmark_bar_node();
321 const BookmarkNode* root = model->AddFolder(bookmark_bar, 0, empty);
/external/chromium_org/chrome/browser/ui/views/bookmarks/
Dbookmark_menu_controller_views.cc48 void BookmarkMenuController::RunMenuAt(BookmarkBarView* bookmark_bar) { in RunMenuAt() argument
49 bookmark_bar_ = bookmark_bar; in RunMenuAt()
Dbookmark_menu_controller_views.h52 void RunMenuAt(BookmarkBarView* bookmark_bar);
/external/chromium_org/chrome/browser/sync/
Dprofile_sync_service_bookmark_unittest.cc355 syncer::ReadNode bookmark_bar(trans); in AddFolderToShare() local
357 bookmark_bar.InitByTagLookupForBookmarks("bookmark_bar")); in AddFolderToShare()
360 EXPECT_TRUE(node.InitBookmarkByCreation(bookmark_bar, NULL)); in AddFolderToShare()
1709 const BookmarkNode* bookmark_bar = model_->bookmark_bar_node(); in TEST_F() local
1710 ASSERT_TRUE(bookmark_bar); in TEST_F()
1711 ASSERT_GT(bookmark_bar->child_count(), 1); in TEST_F()
1712 model_->Move(bookmark_bar->GetChild(0), bookmark_bar, 1); in TEST_F()
2095 const BookmarkNode* bookmark_bar = model_->bookmark_bar_node(); in TEST_F() local
2096 model_->Remove(bookmark_bar, 0); in TEST_F()
/external/chromium_org/chrome/
Dchrome_browser_ui.gypi118 'browser/ui/bookmarks/bookmark_bar.h',