Searched refs:bookmark (Results 1 - 25 of 48) sorted by relevance

12

/external/smack/src/org/jivesoftware/smackx/bookmark/
H A DSharedBookmark.java20 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 DBookmarkManager.java20 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 DBookmarkedURL.java20 package org.jivesoftware.smackx.bookmark;
H A DBookmarkedConference.java20 package org.jivesoftware.smackx.bookmark;
/external/chromium_org/chrome/browser/importer/
H A Dprofile_writer.cc46 // Build a set containing the bookmark bar folder names.
126 // If the bookmark bar is currently empty, we should import directly to it.
146 // If the user currently has no bookmarks in the bookmark bar, make sure that
156 for (std::vector<ImportedBookmarkEntry>::const_iterator bookmark =
158 bookmark != reordered_bookmarks.end(); ++bookmark) {
160 if (!bookmark->is_folder && !bookmark->url.is_valid())
164 if (import_to_top_level && (add_all_to_top_level || bookmark->in_toolbar)) {
180 // Ensure any enclosing folders are present in the model. The bookmark'
[all...]
/external/pdfium/fpdfsdk/include/
H A Dfpdfdoc.h18 // Find a bookmark in the document, using the bookmark title.
21 // title - The UTF-16LE encoded Unicode string for the bookmark title to be searched. Can't be NULL.
23 // Handle to the found bookmark item. NULL if the title can't be found.
25 // It always returns the first found bookmark if more than one bookmarks have the same title.
30 // Get the destination associated with a bookmark item.
33 // bookmark - Handle to the bookmark.
35 // Handle to the destination data. NULL if no destination is associated with this bookmark.
37 DLLEXPORT FPDF_DEST STDCALL FPDFBookmark_GetDest(FPDF_DOCUMENT document, FPDF_BOOKMARK bookmark);
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/parser/
H A DHTMLFormattingElementList.cpp82 void HTMLFormattingElementList::swapTo(Element* oldElement, PassRefPtrWillBeRawPtr<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/components/enhanced_bookmarks/
H A Dbookmark_image_service.cc127 const BookmarkNode* bookmark = local
131 if (bookmark) {
135 bookmark, &image_url, &width, &height);
159 // url set on a bookmark, and then enqueue the request for the image to
198 const BookmarkNode* bookmark = local
201 if (bookmark) {
204 bookmark, image_url, size.width(), size.height());
H A Dbookmark_server_service.cc59 const BookmarkNode* bookmark) const {
60 return model_->GetRemoteId(bookmark);
H A Dbookmark_server_service.h35 // This abstract class manages the connection to the bookmark servers and
54 // Retrieves a bookmark by using its remote id. Returns null if nothing
58 const std::string RemoteIDForBookmark(const BookmarkNode* bookmark) const;
114 // A map from stars.id to bookmark nodes. With no null entries.
/external/pdfium/fpdfsdk/src/
H A Dfpdfdoc.cpp43 DLLEXPORT FPDF_DEST STDCALL FPDFBookmark_GetDest(FPDF_DOCUMENT document, FPDF_BOOKMARK bookmark) argument
46 if (bookmark == NULL) return NULL;
48 CPDF_Bookmark Bookmark = (CPDF_Dictionary*)bookmark;
53 // If this bookmark is not directly associated with a dest, we try to get action
59 DLLEXPORT FPDF_ACTION STDCALL FPDFBookmark_GetAction(FPDF_BOOKMARK bookmark) argument
61 if (bookmark == NULL) return NULL;
63 CPDF_Bookmark Bookmark = (CPDF_Dictionary*)bookmark;
/external/chromium_org/components/bookmarks/browser/
H A Dbookmark_index_unittest.cc66 TitleAndURL bookmark(titles[i], urls[i]);
67 bookmarks.push_back(bookmark);
181 TitleAndURL bookmark(titles[j], kAboutBlankURL);
182 bookmarks.push_back(bookmark);
301 TitleAndURL bookmark(data[i].title, kAboutBlankURL);
302 bookmarks.push_back(bookmark);
353 TitleAndURL bookmark("123456", data[i].url);
354 bookmarks.push_back(bookmark);
402 // Makes sure if the lower case string of a bookmark title is more characters
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/managed_bookmarks/
H A Dbackground.js63 * Represents a managed bookmark.
105 Node.prototype.matches = function(bookmark) {
106 return this._title === bookmark.title &&
107 this._url === bookmark.url &&
108 typeof this._children === typeof bookmark.children;
165 * Creates new nodes in the bookmark model to represent this Node and its
199 // A bookmark moved is inserted at the new position before it is removed
322 // Observe bookmark modifications and revert any modifications made to managed
333 // Example: moving a non-managed bookmark in front of the managed
/external/chromium_org/chrome/browser/sync/test/integration/
H A Dsingle_client_bookmarks_sync_test.cc37 // Verify that the local bookmark model (for the Profile corresponding to
39 // is being used and each bookmark has a unique title. Folders are not
59 // Verify that all local bookmark titles exist once on the server.
125 // Wait for the bookmark position change to sync.
221 const BookmarkNode* bookmark = AddURL(0, "title", page_url); local
230 SetFavicon(0, bookmark, icon_url, original_favicon,
238 gfx::Image final_favicon = GetBookmarkModel(0)->GetFavicon(bookmark);
H A Dtwo_client_bookmarks_sync_test.cc179 const BookmarkNode* bookmark = AddURL(0, kGenericURLTitle, page_url); local
181 ASSERT_TRUE(bookmark != NULL);
183 SetFavicon(0, bookmark, icon_url, CreateFavicon(SK_ColorWHITE),
341 const BookmarkNode* bookmark = AddURL(0, title, GURL(kGenericURL)); local
342 ASSERT_TRUE(bookmark != NULL);
347 SetTitle(0, bookmark, new_title);
358 const BookmarkNode* bookmark = AddURL(0, kGenericURLTitle, url); local
359 ASSERT_TRUE(bookmark != NULL);
364 ASSERT_TRUE(SetURL(0, bookmark, new_url) != NULL);
370 // Test Scribe ID - 371818 - Renaming the same bookmark nam
377 const BookmarkNode* bookmark = AddURL(0, title, GURL(kGenericURL)); local
399 const BookmarkNode* bookmark = AddURL(0, kGenericURLTitle, url); local
517 const BookmarkNode* bookmark = AddURL(0, title, url); local
2105 base::DictionaryValue* bookmark = new base::DictionaryValue(); local
[all...]
/external/chromium_org/sync/internal_api/
H A Dbase_node.cc67 // we fill the unencrypted_data_ with a copy of the bookmark specifics that
71 !specifics.bookmark().has_title() &&
77 DVLOG(1) << "Reading from legacy bookmark, manually returning title "
122 specifics.bookmark();
236 return GetEntitySpecifics().bookmark();
/external/chromium_org/ui/base/clipboard/
H A Dclipboard_win.cc265 std::string bookmark(title_data, title_len);
266 bookmark.append(1, L'\n');
267 bookmark.append(url_data, url_len);
269 base::string16 wide_bookmark = base::UTF8ToWide(bookmark);
639 base::string16 bookmark(static_cast<const base::char16*>(::GlobalLock(data)));
642 ParseBookmarkClipboardFormat(bookmark, title, url);
665 void Clipboard::ParseBookmarkClipboardFormat(const base::string16& bookmark, argument
670 const size_t title_end = bookmark.find_first_of(kDelim);
672 title->assign(bookmark.substr(0, title_end));
675 const size_t url_start = bookmark
[all...]
/external/chromium_org/chrome/browser/sync/glue/
H A Dbookmark_model_associator.cc69 // Bookmark comparer for map of bookmark nodes.
83 // Truncate bookmark titles in the form sync does internally to avoid
101 // Provides the following abstraction: given a parent bookmark node, find best
105 // Creates an instance with the given parent bookmark node.
108 // Finds the bookmark node that matches the given url, title and folder
150 // Create a bookmark node from the given bookmark attributes.
169 // Helper class to build an index of bookmark nodes by their IDs.
175 // Adds the given bookmark node and all its descendants to the ID index.
179 // Finds the bookmark nod
355 NodesMatch( const BookmarkNode* bookmark, const syncer::BaseNode* sync_node) const argument
[all...]
H A Dbookmark_model_associator.h33 // * 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 Dsyncer_util.cc283 LOG(ERROR) << "Update is missing requirements for bookmark position."
316 // In the new-style protocol, the server no longer sends bookmark info for
321 sync_pb::BookmarkSpecifics* bookmark = pb.mutable_bookmark(); local
323 bookmark->set_url(url);
325 bookmark->set_favicon(favicon_bytes);
332 // Update our unique bookmark tag. In many cases this will be identical to
404 // Legacy protocol response for bookmark data.
405 const sync_pb::SyncEntity::BookmarkData& bookmark = update.bookmarkdata(); local
407 bookmark.bookmark_url(),
408 bookmark
[all...]
H A Ddirectory_commit_contribution_unittest.cc284 ASSERT_EQ(1, entity.specifics().bookmark().meta_info_size());
285 EXPECT_EQ("K", entity.specifics().bookmark().meta_info(0).key());
286 EXPECT_EQ("V", entity.specifics().bookmark().meta_info(0).value());
294 // Create a normal-looking bookmark item.
/external/chromium_org/sync/syncable/
H A Ddirectory_backing_store_unittest.cc2933 ASSERT_EQ("http://www.google.com/", specifics.bookmark().url());
2934 ASSERT_EQ("AASGASGA", specifics.bookmark().favicon());
2937 ASSERT_EQ("http://www.google.com/2", specifics.bookmark().url());
2938 ASSERT_EQ("ASADGADGADG", specifics.bookmark().favicon());
3669 EXPECT_FALSE(it->second->ref(SPECIFICS).bookmark().has_url());
3670 EXPECT_FALSE(it->second->ref(SERVER_SPECIFICS).bookmark().has_url());
3671 EXPECT_FALSE(it->second->ref(SPECIFICS).bookmark().has_favicon());
3672 EXPECT_FALSE(it->second->ref(SERVER_SPECIFICS).bookmark().has_favicon());
3698 // Make sure we didn't mistake the bookmark root node for a real bookmark
[all...]
/external/chromium_org/chrome/browser/android/bookmarks/
H A Dbookmarks_bridge.cc313 // Stack for Depth-First Search of bookmark model. It stores nodes and their
423 // Partner bookmark root node is under mobile node.
472 const BookmarkNode* bookmark = *iter; local
474 env, j_result_obj, bookmark->id(), GetBookmarkType(bookmark));
484 const BookmarkNode* bookmark = GetNodeByID(id, type); local
488 if (partner_bookmarks_shim_->IsPartnerBookmark(bookmark)) {
489 partner_bookmarks_shim_->RenameBookmark(bookmark, title);
491 bookmark_model_->SetTitle(bookmark, title);
836 // Called when there are changes to the bookmark mode
[all...]
/external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/invalidation/
H A DInvalidationControllerTest.java295 ObjectId bookmark = ModelType.BOOKMARK.toObjectId();
296 controller.setRegisteredObjectIds(new int[] {1, 2, bookmark.getSource()},
297 new String[] {"a", "b", new String(bookmark.getName())});
305 // Validate registered object ids. The bookmark object should not be registered since it is
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
H A DBookmarksBridge.java19 * bookmark model stored in native.
55 * to the bookmark model. It's mandatory to implement one method, bookmarkModelChanged. Other
126 * Called when the native side of bookmark is loaded and now in usable state.
133 * Called when there are changes to the bookmark model that don't trigger any of the other
167 * Load an empty partner bookmark shim for testing. The root node for bookmark will be an
176 * Add an observer to bookmark model changes.
184 * Remove an observer of bookmark model changes.
192 * @return Whether or not the underlying bookmark model is loaded.
230 * will be in the alphabetical order. Special top folders are managed bookmark an
586 addToList(List<BookmarkItem> bookmarksList, BookmarkItem bookmark) argument
[all...]

Completed in 4685 milliseconds

12