Home | History | Annotate | Download | only in common

Lines Matching defs:sizes

41 // Sizes a single size (the width or height) from a 'sizes' attribute. A size
70 if (!link.hasAttribute("sizes"))
75 if (!web_apps::ParseIconSizes(link.getAttribute("sizes"), &icon_sizes,
113 std::vector<string16> sizes;
114 base::SplitStringDontTrim(text, L'x', &sizes);
115 if (sizes.size() != 2)
118 return gfx::Size(ParseSingleIconSize(sizes[0]),
119 ParseSingleIconSize(sizes[1]));
123 std::vector<gfx::Size>* sizes,
135 sizes->push_back(size);
138 if (*is_any && !sizes->empty()) {
142 return (*is_any || !sizes->empty());