Home | History | Annotate | Download | only in bookmarks

Lines Matching refs:elements

101   elements.push_back(Element(node));
120 elements.push_back(Element(nodes[i]));
136 elements.push_back(element);
147 if (elements.size() == 1 && elements[0].is_url) {
148 const string16& title = elements[0].title;
149 const std::string url = elements[0].url.spec();
187 elements.clear();
188 elements.push_back(element);
201 bookmark_pasteboard_helper_mac::WriteToClipboard(elements, profile_path_);
205 return bookmark_pasteboard_helper_mac::ReadFromClipboard(elements,
210 return bookmark_pasteboard_helper_mac::ReadFromDragClipboard(elements,
225 if (elements.size() == 1 && elements[0].is_url) {
226 if (elements[0].url.SchemeIs(chrome::kJavaScriptScheme)) {
227 data->SetString(UTF8ToUTF16(elements[0].url.spec()));
229 data->SetURL(elements[0].url, elements[0].title);
240 elements.clear();
266 pickle->WriteSize(elements.size());
268 for (size_t i = 0; i < elements.size(); ++i)
269 elements[i].WriteToPickle(pickle);
285 elements.swap(tmp_elements);
298 for (size_t i = 0; i < elements.size(); ++i) {
300 profile->GetBookmarkModel()->GetNodeByID(elements[i].id_);
317 elements.clear();