Searched defs:tint_list (Results 1 - 2 of 2) sorted by relevance

/external/chromium/chrome/browser/themes/
H A Dbrowser_theme_pack.cc301 bool ValidDoubleValue(ListValue* tint_list, int index, double* out) { argument
302 if (tint_list->GetDouble(index, out))
306 if (tint_list->GetInteger(index, &value)) {
617 ListValue* tint_list; local
618 if (tints_value->GetList(*iter, &tint_list) &&
619 (tint_list->GetSize() == 3)) {
622 if (ValidDoubleValue(tint_list, 0, &hsl.h) &&
623 ValidDoubleValue(tint_list, 1, &hsl.s) &&
624 ValidDoubleValue(tint_list, 2, &hsl.l)) {
/external/chromium/chrome/common/extensions/
H A Dextension.cc1906 ListValue* tint_list = NULL; local
1909 if (!tints_value->GetListWithoutPathExpansion(*iter, &tint_list) ||
1910 tint_list->GetSize() != 3 ||
1911 !(tint_list->GetDouble(0, &v) || tint_list->GetInteger(0, &vi)) ||
1912 !(tint_list->GetDouble(1, &v) || tint_list->GetInteger(1, &vi)) ||
1913 !(tint_list->GetDouble(2, &v) || tint_list->GetInteger(2, &vi))) {

Completed in 416 milliseconds