/external/smack/src/org/jivesoftware/smackx/bookmark/ |
H A D | SharedBookmark.java | 20 package org.jivesoftware.smackx.bookmark; 23 * Interface to indicate if a bookmark is shared across the server. 30 * Returns true if this bookmark is shared. 32 * @return returns true if this bookmark is shared.
|
H A D | BookmarkManager.java | 20 package org.jivesoftware.smackx.bookmark; 110 BookmarkedConference bookmark 113 if(conferences.contains(bookmark)) { 114 BookmarkedConference oldConference = conferences.get(conferences.indexOf(bookmark)); 116 throw new IllegalArgumentException("Cannot modify shared bookmark"); 124 bookmarks.addBookmarkedConference(bookmark); 168 * @param URL the url of the bookmark 169 * @param name the name of the bookmark 176 BookmarkedURL bookmark = new BookmarkedURL(URL, name, isRSS); 178 if(urls.contains(bookmark)) { [all...] |
H A D | BookmarkedURL.java | 20 package org.jivesoftware.smackx.bookmark;
|
H A D | BookmarkedConference.java | 20 package org.jivesoftware.smackx.bookmark;
|
/external/chromium_org/chrome/browser/importer/ |
H A D | profile_writer.cc | 40 // Build a set containing the bookmark bar folder names. 119 // If the bookmark bar is currently empty, we should import directly to it. 139 // If the user currently has no bookmarks in the bookmark bar, make sure that 149 for (std::vector<ImportedBookmarkEntry>::const_iterator bookmark = 151 bookmark != reordered_bookmarks.end(); ++bookmark) { 153 if (!bookmark->is_folder && !bookmark->url.is_valid()) 157 if (import_to_top_level && (add_all_to_top_level || bookmark->in_toolbar)) { 172 // Ensure any enclosing folders are present in the model. The bookmark' [all...] |
/external/chromium/chrome/browser/sync/syncable/ |
H A D | directory_backing_store_unittest.cc | 1004 ASSERT_TRUE(specifics.HasExtension(sync_pb::bookmark)); 1006 specifics.GetExtension(sync_pb::bookmark).url()); 1007 ASSERT_EQ("AASGASGA", specifics.GetExtension(sync_pb::bookmark).favicon()); 1009 ASSERT_TRUE(specifics.HasExtension(sync_pb::bookmark)); 1011 specifics.GetExtension(sync_pb::bookmark).url()); 1012 ASSERT_EQ("ASADGADGADG", specifics.GetExtension(sync_pb::bookmark).favicon()); 1364 EXPECT_TRUE((*it)->ref(SPECIFICS).HasExtension(sync_pb::bookmark)); 1365 EXPECT_TRUE((*it)->ref(SERVER_SPECIFICS).HasExtension(sync_pb::bookmark)); 1367 (*it)->ref(SPECIFICS).GetExtension(sync_pb::bookmark).url()); 1369 (*it)->ref(SPECIFICS).GetExtension(sync_pb::bookmark) [all...] |
/external/chromium/chrome/browser/sync/engine/ |
H A D | build_commit_command.cc | 68 DCHECK(meta_entry->Get(SPECIFICS).HasExtension(sync_pb::bookmark)); 70 // Old-style inlined bookmark data. 71 sync_pb::SyncEntity_BookmarkData* bookmark = local 76 meta_entry->Get(SPECIFICS).GetExtension(sync_pb::bookmark); 77 bookmark->set_bookmark_url(bookmark_specifics.url()); 78 bookmark->set_bookmark_favicon(bookmark_specifics.favicon()); 79 bookmark->set_bookmark_folder(false); 81 bookmark->set_bookmark_folder(true); 174 if (meta_entry.Get(SPECIFICS).HasExtension(sync_pb::bookmark)) {
|
H A D | download_updates_command_unittest.cc | 56 v.ExpectHasExtension(sync_pb::bookmark); 68 v.ExpectHasExtension(sync_pb::bookmark); 79 v.ExpectHasExtension(sync_pb::bookmark);
|
/external/chromium_org/chrome/browser/resources/ntp_android/ |
H A D | bookmarks.css | 61 .bookmark-separator { 70 html[dir='rtl'] .bookmark-separator { 146 .bookmark-border { 221 .bookmark-border { 227 .bookmark-separator { 248 .bookmark-border { 254 .bookmark-separator { 263 .bookmark-border { 269 .bookmark-separator {
|
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
H A D | HTMLFormattingElementList.cpp | 82 void HTMLFormattingElementList::swapTo(Element* oldElement, PassRefPtr<HTMLStackItem> newItem, const Bookmark& bookmark) argument 86 if (!bookmark.hasBeenMoved()) { 87 ASSERT(bookmark.mark()->element() == oldElement); 88 bookmark.mark()->replaceElement(newItem); 91 size_t index = bookmark.mark() - first();
|
/external/chromium_org/ui/base/clipboard/ |
H A D | clipboard_win.cc | 261 std::string bookmark(title_data, title_len); 262 bookmark.append(1, L'\n'); 263 bookmark.append(url_data, url_len); 265 string16 wide_bookmark = UTF8ToWide(bookmark); 631 string16 bookmark(static_cast<const char16*>(::GlobalLock(data))); 634 ParseBookmarkClipboardFormat(bookmark, title, url); 657 void Clipboard::ParseBookmarkClipboardFormat(const string16& bookmark, argument 662 const size_t title_end = bookmark.find_first_of(kDelim); 664 title->assign(bookmark.substr(0, title_end)); 667 const size_t url_start = bookmark [all...] |
/external/chromium/chrome/browser/importer/ |
H A D | profile_writer.h | 36 // Indicates the bookmark should only be added if unique. Uniqueness 38 // AddBookmarkEntry the bookmark is added only if there is no other 42 // Indicates the bookmarks should be added to the bookmark bar. 45 // Indicates the bookmark bar is not shown. 85 // the bookmark bar. If the bitmask does not contain IMPORT_TO_BOOKMARK_BAR 90 // If |options| contains ADD_IF_UNIQUE, then the bookmark is added only 93 virtual void AddBookmarkEntry(const std::vector<BookmarkEntry>& bookmark, 129 // Returns true if a bookmark exists with the same url, title and path
|
H A D | profile_writer.cc | 64 const std::vector<BookmarkEntry>& bookmark, 77 if (bookmark.size() > 1) { 81 for (std::vector<BookmarkEntry>::const_iterator it = bookmark.begin(); 82 it != bookmark.end(); ++it) { 276 // Check whether the bookmark bar is shown in current pref. 63 AddBookmarkEntry( const std::vector<BookmarkEntry>& bookmark, const string16& first_folder_name, int options) argument
|
H A D | importer_unittest.cc | 241 virtual void AddBookmarkEntry(const std::vector<BookmarkEntry>& bookmark, argument 245 for (size_t i = 0; i < bookmark.size(); ++i) { 246 if (FindBookmarkEntry(bookmark[i], kIEBookmarks, 470 "http://on.toolbar/bookmark/folder"}, 473 "http://on.toolbar/bookmark"}, 607 virtual void AddBookmarkEntry(const std::vector<BookmarkEntry>& bookmark, argument 610 for (size_t i = 0; i < bookmark.size(); ++i) { 611 if (FindBookmarkEntry(bookmark[i], kFirefox2Bookmarks, 817 virtual void AddBookmarkEntry(const std::vector<BookmarkEntry>& bookmark, argument 820 for (size_t i = 0; i < bookmark [all...] |
/external/chromium/chrome/browser/sync/glue/ |
H A D | bookmark_model_associator.h | 33 // * Algorithm to associate bookmark model and sync model. 34 // * Methods to get a bookmark node for a given sync node and vice versa. 49 // bookmark model, looking for matched pairs of items. For any pairs it 63 // Returns sync id for the given bookmark node id. 65 // bookmark node id. 68 // Returns the bookmark node for the given sync id. 69 // Returns NULL if no bookmark node is found for the given sync id. 72 // Initializes the given sync node from the given bookmark node id. 73 // Returns false if no sync node was found for the given bookmark node id or 78 // Associates the given bookmark nod [all...] |
H A D | bookmark_model_associator.cc | 45 // Bookmark comparer for map of bookmark nodes. 67 // Provides the following abstraction: given a parent bookmark node, find best 71 // Creates an instance with the given parent bookmark node. 97 // Create a bookmark node from the given sync node. 116 // Helper class to build an index of bookmark nodes by their IDs. 122 // Adds the given bookmark node and all its descendants to the ID index. 126 // Finds the bookmark node with the given ID. 263 bool BookmarkModelAssociator::NodesMatch(const BookmarkNode* bookmark, argument 265 if (bookmark->GetTitle() != WideToUTF16Hack(sync_node->GetTitle())) 267 if (bookmark [all...] |
/external/chromium_org/chrome/browser/sync/test/integration/ |
H A D | single_client_bookmarks_sync_test.cc | 173 const BookmarkNode* bookmark = AddURL(0, L"title", page_url); local 182 SetFavicon(0, bookmark, icon_url, original_favicon, 185 ASSERT_TRUE(GetClient(0)->AwaitFullSyncCompletion("Added bookmark")); 190 gfx::Image final_favicon = GetBookmarkModel(0)->GetFavicon(bookmark);
|
H A D | two_client_bookmarks_sync_test.cc | 146 const BookmarkNode* bookmark = AddURL(0, kGenericURLTitle, page_url); local 148 ASSERT_TRUE(bookmark != NULL); 150 SetFavicon(0, bookmark, icon_url, CreateFavicon(SK_ColorWHITE), 308 const BookmarkNode* bookmark = AddURL(0, title, GURL(kGenericURL)); local 309 ASSERT_TRUE(bookmark != NULL); 314 SetTitle(0, bookmark, new_title); 325 const BookmarkNode* bookmark = AddURL(0, kGenericURLTitle, url); local 326 ASSERT_TRUE(bookmark != NULL); 331 ASSERT_TRUE(SetURL(0, bookmark, new_url) != NULL); 337 // Test Scribe ID - 371818 - Renaming the same bookmark nam 344 const BookmarkNode* bookmark = AddURL(0, title, GURL(kGenericURL)); local 366 const BookmarkNode* bookmark = AddURL(0, kGenericURLTitle, url); local 484 const BookmarkNode* bookmark = AddURL(0, title, url); local [all...] |
/external/chromium_org/sync/syncable/ |
H A D | directory_backing_store_unittest.cc | 2569 ASSERT_EQ("http://www.google.com/", specifics.bookmark().url()); 2570 ASSERT_EQ("AASGASGA", specifics.bookmark().favicon()); 2573 ASSERT_EQ("http://www.google.com/2", specifics.bookmark().url()); 2574 ASSERT_EQ("ASADGADGADG", specifics.bookmark().favicon()); 2993 // Grab a bookmark and examine it. 3004 // Grab a non-bookmark and examine it. 3015 // Make sure we didn't mistake the bookmark root node for a real bookmark. 3277 it->second->ref(SPECIFICS).bookmark().has_url()); 3279 it->second->ref(SERVER_SPECIFICS).bookmark() [all...] |
/external/chromium_org/chrome/browser/sync/glue/ |
H A D | bookmark_model_associator.cc | 61 // Bookmark comparer for map of bookmark nodes. 83 // Provides the following abstraction: given a parent bookmark node, find best 87 // Creates an instance with the given parent bookmark node. 90 // Finds the bookmark node that matches the given url, title and folder 132 // Create a bookmark node from the given bookmark attributes. 151 // Helper class to build an index of bookmark nodes by their IDs. 157 // Adds the given bookmark node and all its descendants to the ID index. 161 // Finds the bookmark node with the given ID. 327 const BookmarkNode* bookmark, 326 NodesMatch( const BookmarkNode* bookmark, const syncer::BaseNode* sync_node) const argument [all...] |
H A D | bookmark_model_associator.h | 33 // * Algorithm to associate bookmark model and sync model. 34 // * Methods to get a bookmark node for a given sync node and vice versa. 57 // bookmark model, looking for matched pairs of items. For any pairs it 73 // Returns sync id for the given bookmark node id. 75 // bookmark node id. 78 // Returns the bookmark node for the given sync id. 79 // Returns NULL if no bookmark node is found for the given sync id. 82 // Initializes the given sync node from the given bookmark node id. 83 // Returns false if no sync node was found for the given bookmark node id or 89 // Associates the given bookmark nod [all...] |
/external/chromium_org/sync/engine/ |
H A D | syncer_util.cc | 309 // In the new-style protocol, the server no longer sends bookmark info for 314 sync_pb::BookmarkSpecifics* bookmark = pb.mutable_bookmark(); local 316 bookmark->set_url(url); 318 bookmark->set_favicon(favicon_bytes); 324 // Update our unique bookmark tag. In many cases this will be identical to 401 // Legacy protocol response for bookmark data. 402 const sync_pb::SyncEntity::BookmarkData& bookmark = update.bookmarkdata(); local 404 bookmark.bookmark_url(), 405 bookmark.bookmark_favicon(),
|
/external/chromium_org/sync/internal_api/ |
H A D | base_node.cc | 86 // we fill the unencrypted_data_ with a copy of the bookmark specifics that 90 !specifics.bookmark().has_title() && 96 DVLOG(1) << "Reading from legacy bookmark, manually returning title " 141 specifics.bookmark(); 283 return GetEntitySpecifics().bookmark();
|
/external/chromium/chrome/browser/sync/protocol/ |
H A D | proto_value_conversions_unittest.cc | 144 SET_EXTENSION(bookmark);
|
/external/chromium_org/chrome/browser/extensions/api/bookmarks/ |
H A D | bookmarks_api.cc | 519 if (!params->bookmark.parent_id.get()) { 523 if (!GetBookmarkIdAsInt64(*params->bookmark.parent_id, &parentId)) 537 if (!params->bookmark.index.get()) { // Optional (defaults to end). 540 index = *params->bookmark.index; 548 if (params->bookmark.title.get()) 549 title = UTF8ToUTF16(*params->bookmark.title.get()); 552 if (params->bookmark.url.get()) 553 url_string = *params->bookmark.url.get(); 806 // Mapper for any bookmark function accepting bookmark ID [all...] |