/external/chromium/chrome/browser/importer/ |
D | toolbar_importer_unittest.cc | 318 std::vector<ProfileWriter::BookmarkEntry> bookmarks; in TEST() local 329 bookmarks.clear(); in TEST() 332 EXPECT_TRUE(Toolbar5Importer::ParseBookmarksFromReader(&reader1, &bookmarks, in TEST() 335 ASSERT_EQ(1U, bookmarks.size()); in TEST() 336 EXPECT_FALSE(bookmarks[0].in_toolbar); in TEST() 337 EXPECT_EQ(kTitle, bookmarks[0].title); in TEST() 338 EXPECT_EQ(url, bookmarks[0].url); in TEST() 339 ASSERT_EQ(2U, bookmarks[0].path.size()); in TEST() 340 EXPECT_EQ(kFolder, bookmarks[0].path[1]); in TEST() 344 bookmarks.clear(); in TEST() [all …]
|
D | firefox_importer_unittest.cc | 198 std::vector<ProfileWriter::BookmarkEntry> bookmarks; in TEST() local 200 first_folder_name, importer, &bookmarks, in TEST() 202 EXPECT_EQ(3, static_cast<int>(bookmarks.size())); in TEST() 206 if (bookmarks.size() == 3) { in TEST() 207 it = bookmarks.begin(); in TEST() 245 bookmarks.clear(); in TEST() 248 first_folder_name, importer, &bookmarks, in TEST() 250 EXPECT_EQ(2, static_cast<int>(bookmarks.size())); in TEST() 251 if (bookmarks.size() == 2) { in TEST() 252 it = bookmarks.begin(); in TEST() [all …]
|
D | toolbar_importer.cc | 258 std::vector<ProfileWriter::BookmarkEntry> bookmarks; in GetBookmarksFromServerDataResponse() local 259 if (ParseBookmarksFromReader(&reader, &bookmarks, in GetBookmarksFromServerDataResponse() 261 AddBookmarksToChrome(bookmarks); in GetBookmarksFromServerDataResponse() 288 std::vector<ProfileWriter::BookmarkEntry>* bookmarks, in ParseBookmarksFromReader() argument 291 DCHECK(bookmarks); in ParseBookmarksFromReader() 319 bookmarks->push_back(bookmark_entry); in ParseBookmarksFromReader() 324 if (0 == bookmarks->size()) in ParseBookmarksFromReader() 552 const std::vector<ProfileWriter::BookmarkEntry>& bookmarks) { in AddBookmarksToChrome() argument 553 if (!bookmarks.empty() && !cancelled()) { in AddBookmarksToChrome() 558 bridge_->AddBookmarkEntries(bookmarks, first_folder_name, options); in AddBookmarksToChrome()
|
D | safari_importer.mm | 57 // bookmarks import: existence of ~/Library/Safari/Bookmarks.plist file. 100 std::vector<ProfileWriter::BookmarkEntry> bookmarks; 101 ParseBookmarks(&bookmarks); 103 // Write bookmarks into profile. 104 if (!bookmarks.empty() && !cancelled()) { 110 bridge_->AddBookmarkEntries(bookmarks, first_folder_name, options); 202 // Are we the dictionary that contains all other bookmarks? 207 // We're expecting a list of bookmarks here, if that isn't what we got, fail. 226 // top level container for normal bookmarks. 238 // Iterate over individual bookmarks. [all …]
|
D | firefox2_importer.cc | 154 std::vector<ProfileWriter::BookmarkEntry>* bookmarks, in ImportBookmarksFile() argument 226 bookmarks->push_back(entry); in ImportBookmarksFile() 279 bookmarks->push_back(entry); in ImportBookmarksFile() 291 bookmarks->insert(bookmarks->begin(), toolbar_bookmarks.begin(), in ImportBookmarksFile() 302 std::vector<ProfileWriter::BookmarkEntry> bookmarks, toolbar_bookmarks; in ImportBookmarks() local 313 first_folder_name, this, &bookmarks, &template_urls, in ImportBookmarks() 317 if (!bookmarks.empty() && !cancelled()) { in ImportBookmarks() 323 bridge_->AddBookmarkEntries(bookmarks, first_folder_name, options); in ImportBookmarks()
|
D | ie_importer.cc | 134 BookmarkVector bookmarks; in ImportFavorites() local 135 ParseFavoritesFolder(info, &bookmarks); in ImportFavorites() 137 if (!bookmarks.empty() && !cancelled()) { in ImportFavorites() 143 bridge_->AddBookmarkEntries(bookmarks, first_folder_name, options); in ImportFavorites() 531 BookmarkVector* bookmarks) { in ParseFavoritesFolder() argument 590 bookmarks->push_back(entry); in ParseFavoritesFolder() 593 bookmarks->insert(bookmarks->begin(), toolbar_bookmarks.begin(), in ParseFavoritesFolder()
|
/external/chromium/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_bar_state.h | 11 namespace bookmarks { 36 - (BOOL)isInState:(bookmarks::VisualState)state; 40 - (BOOL)isAnimatingToState:(bookmarks::VisualState)state; 44 - (BOOL)isAnimatingFromState:(bookmarks::VisualState)state; 48 - (BOOL)isAnimatingFromState:(bookmarks::VisualState)fromState 49 toState:(bookmarks::VisualState)toState; 53 - (BOOL)isAnimatingBetweenState:(bookmarks::VisualState)fromState 54 andState:(bookmarks::VisualState)toState;
|
D | bookmark_bar_toolbar_view_unittest.mm | 9 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h" 10 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.h" 62 bookmarks::VisualState visualState_; 66 @property (nonatomic, assign) bookmarks::VisualState visualState; 71 - (BOOL)isInState:(bookmarks::VisualState)state; 72 - (BOOL)isAnimatingToState:(bookmarks::VisualState)state; 73 - (BOOL)isAnimatingFromState:(bookmarks::VisualState)state; 74 - (BOOL)isAnimatingFromState:(bookmarks::VisualState)fromState 75 toState:(bookmarks::VisualState)toState; 76 - (BOOL)isAnimatingBetweenState:(bookmarks::VisualState)fromState [all …]
|
D | bookmark_bar_toolbar_view.mm | 5 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.h" 9 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h" 10 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h" 26 return [controller_ isInState:bookmarks::kDetachedState]; 36 if ([controller_ isInState:bookmarks::kDetachedState] || 37 [controller_ isAnimatingToState:bookmarks::kDetachedState] || 38 [controller_ isAnimatingFromState:bookmarks::kDetachedState]) { 85 morph * bookmarks::kNTPBookmarkBarPadding, 86 morph * bookmarks::kNTPBookmarkBarPadding, 87 NSWidth(bounds) - 2 * morph * bookmarks::kNTPBookmarkBarPadding, [all …]
|
D | bookmark_bar_controller.h | 35 namespace bookmarks { 135 didChangeFromState:(bookmarks::VisualState)oldState 136 toState:(bookmarks::VisualState)newState; 140 willAnimateFromState:(bookmarks::VisualState)oldState 141 toState:(bookmarks::VisualState)newState; 159 bookmarks::VisualState visualState_; 163 bookmarks::VisualState lastVisualState_; 268 @property(readonly, nonatomic) bookmarks::VisualState visualState; 269 @property(readonly, nonatomic) bookmarks::VisualState lastVisualState;
|
D | bookmark_bar_controller.mm | 5 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h" 11 #include "chrome/browser/bookmarks/bookmark_editor.h" 12 #include "chrome/browser/bookmarks/bookmark_model.h" 13 #include "chrome/browser/bookmarks/bookmark_utils.h" 23 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h" 24 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.h" 25 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.h" 26 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_toolbar_view.h" 27 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_view.h" 28 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_button.h" [all …]
|
D | bookmark_bar_folder_hover_state_unittest.mm | 8 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h" 9 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_hover_state.h" 51 bookmarks::kDragHoverOpenDelay * 1000.0 * 1.5); 71 bookmarks::kDragHoverCloseDelay * 1000.0 * 1.5);
|
D | bookmark_bar_folder_window.mm | 5 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.h" 9 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h" 10 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.h" 15 using bookmarks::kBookmarkBarMenuCornerRadius;
|
D | bookmark_folder_target_unittest.mm | 5 #include "chrome/browser/bookmarks/bookmark_model.h" 6 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h" 7 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.h" 8 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_folder_target.h" 9 #include "chrome/browser/ui/cocoa/bookmarks/bookmark_button.h"
|
D | bookmark_bar_folder_controller.mm | 5 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_controller.h" 9 #include "chrome/browser/bookmarks/bookmark_model.h" 10 #include "chrome/browser/bookmarks/bookmark_utils.h" 11 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_constants.h" 12 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h" 13 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_button_cell.h" 14 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_hover_state.h" 15 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_view.h" 16 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_folder_window.h" 17 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_folder_target.h" [all …]
|
D | bookmark_tree_browser_cell.mm | 5 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_tree_browser_cell.h" 7 #include "chrome/browser/bookmarks/bookmark_model.h"
|
D | bookmark_bar_bridge.mm | 5 #include "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_bridge.h" 7 #include "chrome/browser/bookmarks/bookmark_model.h" 8 #include "chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller.h"
|
D | bookmark_menu_bridge.mm | 11 #include "chrome/browser/bookmarks/bookmark_model.h" 15 #include "chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h" 16 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.h" 71 // Create a submenu for "other bookmarks", and fill it in. 155 // Convention: items in the bookmark list which are bookmarks have 157 // with submenus are submenus of bookmarks. 188 // TODO(jrg): limit the number of bookmarks in the menubar?
|
D | bookmark_menu_cocoa_controller.mm | 5 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.h" 11 #include "chrome/browser/bookmarks/bookmark_model.h" 12 #include "chrome/browser/bookmarks/bookmark_utils.h" 15 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_menu_bridge.h"
|
D | bookmark_menu_cocoa_controller_unittest.mm | 6 #include "chrome/browser/bookmarks/bookmark_model.h" 7 #include "chrome/browser/bookmarks/bookmark_utils.h" 9 #import "chrome/browser/ui/cocoa/bookmarks/bookmark_menu_cocoa_controller.h"
|
/external/chromium/chrome/browser/resources/bookmark_manager/js/ |
D | main.js | 17 if (!chrome.bookmarks) 80 chrome.bookmarks.getChildren(id, function(children) { 175 chrome.bookmarks.get(id, function(items) { 292 chrome.bookmarks.onCreated.removeListener(handleCreated); 293 chrome.bookmarks.onChanged.removeListener(handleBookmarkChanged); 302 chrome.bookmarks.onCreated.addListener(handleCreated); 303 chrome.bookmarks.onChanged.addListener(handleBookmarkChanged); 323 chrome.bookmarks.onChanged.addListener(handleBookmarkChanged); 324 chrome.bookmarks.onChildrenReordered.addListener(handleChildrenReordered); 325 chrome.bookmarks.onCreated.addListener(handleCreated); [all …]
|
/external/chromium/chrome/browser/sync/ |
D | backend_migrator_unittest.cc | 142 syncable::ModelTypeSet to_migrate1, to_migrate2, bookmarks; in TEST_F() local 145 bookmarks.insert(syncable::BOOKMARKS); in TEST_F() 163 EXPECT_CALL(*manager(), Configure(bookmarks)); in TEST_F() 167 SendConfigureDone(DataTypeManager::OK, bookmarks); in TEST_F() 222 syncable::ModelTypeSet bookmarks; in TEST_F() local 223 bookmarks.insert(syncable::BOOKMARKS); in TEST_F() 224 ReturnNonEmptyProgressMarkersInSnapshot(bookmarks); in TEST_F()
|
/external/chromium/chrome/browser/ui/views/bookmarks/ |
D | bookmark_menu_controller_views.cc | 306 const std::vector<const BookmarkNode*>& bookmarks) { in WillRemoveBookmarks() argument 309 WillRemoveBookmarksImpl(bookmarks, &removed_menus); in WillRemoveBookmarks() 380 const std::vector<const BookmarkNode*>& bookmarks, in WillRemoveBookmarksImpl() argument 388 for (std::vector<const BookmarkNode*>::const_iterator i = bookmarks.begin(); in WillRemoveBookmarksImpl() 389 i != bookmarks.end(); ++i) { in WillRemoveBookmarksImpl() 417 for (std::vector<const BookmarkNode*>::const_iterator j = bookmarks.begin(); in WillRemoveBookmarksImpl() 418 j != bookmarks.end(); ++j) { in WillRemoveBookmarksImpl()
|
D | bookmark_context_menu.h | 17 const std::vector<const BookmarkNode*>& bookmarks) = 0; 58 const std::vector<const BookmarkNode*>& bookmarks);
|
/external/chromium/chrome/browser/bookmarks/ |
D | bookmark_pasteboard_helper_mac.mm | 5 #include "chrome/browser/bookmarks/bookmark_pasteboard_helper_mac.h" 10 #include "chrome/browser/bookmarks/bookmark_model.h" 11 #include "chrome/browser/ui/cocoa/bookmarks/bookmark_drag_source.h" 25 // a set of bookmarks came from. 83 NSArray* bookmarks = 85 if (!bookmarks) return false; 86 ConvertPlistToElements(bookmarks, elements);
|