Home
last modified time | relevance | path

Searched refs:tint_list (Results 1 – 2 of 2) sorted by relevance

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