Lines Matching defs:Element
28 BookmarkNodeData::Element::Element() : is_url(false), id_(0) {
31 BookmarkNodeData::Element::Element(const BookmarkNode* node)
37 children.push_back(Element(node->GetChild(i)));
40 BookmarkNodeData::Element::~Element() {
43 void BookmarkNodeData::Element::WriteToPickle(Pickle* pickle) const {
50 for (std::vector<Element>::const_iterator i = children.begin();
57 bool BookmarkNodeData::Element::ReadFromPickle(Pickle* pickle,
73 for (std::vector<Element>::iterator i = children.begin();
101 elements.push_back(Element(node));
120 elements.push_back(Element(nodes[i]));
131 Element element;
132 element.title = title;
133 element.url = url;
134 element.is_url = true;
136 elements.push_back(element);
145 // If there is only one element and it is a URL, write the URL to the
182 Element element;
183 element.is_url = true;
184 element.url = GURL(url);
185 element.title = title;
188 elements.push_back(element);
223 // If there is only one element and it is a URL, write the URL to the
252 Element element;
278 std::vector<Element> tmp_elements;