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

123

/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/bookmarks/
H A Dbookmark_tag_model_observer.h22 const BookmarkNode* bookmark) = 0;
27 const BookmarkNode* bookmark) {}
31 const BookmarkNode* bookmark) = 0;
35 const BookmarkNode* bookmark) {}
39 const BookmarkNode* bookmark) = 0;
43 const BookmarkNode* bookmark) {}
45 // Invoked when tags are changed on a bookmark.
47 const BookmarkNode* bookmark) = 0;
66 // Invoked before all non-permanent bookmark nodes are removed.
69 // Invoked when all non-permanent bookmark node
26 OnWillRemoveBookmarks(BookmarkTagModel* model, const BookmarkNode* bookmark) argument
34 OnWillChangeBookmarkNode(BookmarkTagModel* model, const BookmarkNode* bookmark) argument
42 OnWillChangeBookmarkTags(BookmarkTagModel* model, const BookmarkNode* bookmark) argument
[all...]
H A Dbookmark_tag_model.cc17 // The key used to store the tag list in the metainfo of a bookmark.
38 std::set<BookmarkTag> ExtractTagsFromBookmark(const BookmarkNode* bookmark) { argument
42 // Retrieve the encodedData from the bookmark. If there is no encoded data
45 if (!bookmark->GetMetaInfo(TAG_KEY, &encoded)) {
47 const BookmarkNode* folder = bookmark->parent();
127 void BookmarkTagModel::Remove(const BookmarkNode* bookmark) { argument
130 const BookmarkNode* parent = bookmark->parent();
131 bookmark_model_->Remove(parent, parent->GetIndexOf(bookmark));
140 const gfx::Image& BookmarkTagModel::GetFavicon(const BookmarkNode* bookmark) { argument
143 return bookmark_model_->GetFavicon(bookmark);
146 SetTitle(const BookmarkNode* bookmark, const base::string16& title) argument
153 SetURL(const BookmarkNode* bookmark, const GURL& url) argument
159 SetDateAdded(const BookmarkNode* bookmark, base::Time date_added) argument
182 const BookmarkNode* bookmark; local
195 GetTagsForBookmark( const BookmarkNode* bookmark) argument
201 AddTagsToBookmark( const std::set<BookmarkTag>& tags, const BookmarkNode* bookmark) argument
225 RemoveTagsFromBookmark( const std::set<BookmarkTag>& tags, const BookmarkNode* bookmark) argument
327 const BookmarkNode* bookmark = new_parent->GetChild(new_index); local
349 const BookmarkNode* bookmark = parent->GetChild(index); local
473 SetTagsOnBookmark(const std::set<BookmarkTag>& tags, const BookmarkNode* bookmark) argument
502 const BookmarkNode* bookmark = iterator.Next(); local
516 const BookmarkNode* bookmark = iterator.Next(); local
528 LoadBookmark(const BookmarkNode* bookmark) argument
540 RemoveBookmark(const BookmarkNode* bookmark) argument
[all...]
H A Dbookmark_tag_model.h61 // Returns true if this bookmark model is currently in a mode where extensive
68 void Remove(const BookmarkNode* bookmark);
70 // Removes all the bookmark nodes. Observers are only notified when all nodes
76 const gfx::Image& GetFavicon(const BookmarkNode* bookmark);
79 void SetTitle(const BookmarkNode* bookmark, const base::string16& title);
82 void SetURL(const BookmarkNode* bookmark, const GURL& url);
85 void SetDateAdded(const BookmarkNode* bookmark, base::Time date_added);
87 // Returns the most recently added bookmark for the |url|. Returns NULL if
91 // Creates a new bookmark.
96 // Adds the |tags| to the tag list of the |bookmark|
[all...]
H A Dbookmark_tag_model_unittest.cc78 void Set(const BookmarkNode* bookmark, argument
80 bookmark_ = bookmark;
84 void ExpectEquals(const BookmarkNode* bookmark, argument
86 EXPECT_EQ(bookmark_, bookmark);
113 const BookmarkNode* bookmark) OVERRIDE {
115 observer_details_.Set(bookmark, model->GetTagsForBookmark(bookmark));
121 const BookmarkNode* bookmark) OVERRIDE {
128 const BookmarkNode* bookmark) OVERRIDE {
134 const BookmarkNode* bookmark) OVERRID
338 const BookmarkNode* bookmark = AddURLWithTags("foo", tags); local
381 const BookmarkNode* bookmark = AddURLWithTags("foo", tags); local
[all...]
/external/chromium_org/chrome/browser/importer/
H A Dprofile_writer.cc40 // 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)) {
173 // Ensure any enclosing folders are present in the model. The bookmark'
[all...]
/external/chromium/chrome/browser/sync/syncable/
H A Ddirectory_backing_store_unittest.cc1004 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 Dbuild_commit_command.cc68 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 Ddownload_updates_command_unittest.cc56 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 Dbookmarks.css61 .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 DHTMLFormattingElementList.cpp82 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 Dclipboard_win.cc261 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);
635 string16 bookmark(static_cast<const char16*>(::GlobalLock(data)));
638 ParseBookmarkClipboardFormat(bookmark, title, url);
661 void Clipboard::ParseBookmarkClipboardFormat(const string16& bookmark, argument
666 const size_t title_end = bookmark.find_first_of(kDelim);
668 title->assign(bookmark.substr(0, title_end));
671 const size_t url_start = bookmark
[all...]
/external/chromium/chrome/browser/importer/
H A Dprofile_writer.h36 // 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 Dprofile_writer.cc64 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
/external/chromium/chrome/browser/sync/glue/
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.
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 Dbookmark_model_associator.cc45 // 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/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.cc105 // Wait for the bookmark position change to sync.
180 const BookmarkNode* bookmark = AddURL(0, L"title", page_url); local
189 SetFavicon(0, bookmark, icon_url, original_favicon,
197 gfx::Image final_favicon = GetBookmarkModel(0)->GetFavicon(bookmark);
/external/chromium_org/sync/syncable/
H A Ddirectory_backing_store_unittest.cc2569 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 Dbookmark_model_associator.cc61 // 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...]
/external/chromium_org/sync/engine/
H A Dsyncer_util.cc311 // In the new-style protocol, the server no longer sends bookmark info for
316 sync_pb::BookmarkSpecifics* bookmark = pb.mutable_bookmark(); local
318 bookmark->set_url(url);
320 bookmark->set_favicon(favicon_bytes);
327 // Update our unique bookmark tag. In many cases this will be identical to
403 // Legacy protocol response for bookmark data.
404 const sync_pb::SyncEntity::BookmarkData& bookmark = update.bookmarkdata(); local
406 bookmark.bookmark_url(),
407 bookmark.bookmark_favicon(),
/external/chromium_org/sync/internal_api/
H A Dbase_node.cc86 // 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();

Completed in 4770 milliseconds

123