Home
last modified time | relevance | path

Searched refs:color_array (Results 1 – 5 of 5) sorted by relevance

/external/chromium/chrome/browser/extensions/
Dextension_page_actions_module.cc238 int color_array[4] = {0}; in RunImpl() local
239 for (size_t i = 0; i < arraysize(color_array); ++i) in RunImpl()
240 EXTENSION_FUNCTION_VALIDATE(color_value->GetInteger(i, &color_array[i])); in RunImpl()
242 SkColor color = SkColorSetARGB(color_array[3], color_array[0], color_array[1], in RunImpl()
243 color_array[2]); in RunImpl()
264 int color_array[4] = {0}; in RunImpl() local
265 for (size_t i = 0; i < arraysize(color_array); ++i) in RunImpl()
266 EXTENSION_FUNCTION_VALIDATE(color_value->GetInteger(i, &color_array[i])); in RunImpl()
268 SkColor color = SkColorSetARGB(color_array[3], color_array[0], color_array[1], in RunImpl()
269 color_array[2]); in RunImpl()
Dextension_browser_actions_api.cc90 int color_array[4] = {0}; in RunBrowserAction() local
91 for (size_t i = 0; i < arraysize(color_array); ++i) { in RunBrowserAction()
92 EXTENSION_FUNCTION_VALIDATE(list->GetInteger(i, &color_array[i])); in RunBrowserAction()
95 SkColor color = SkColorSetARGB(color_array[3], color_array[0], color_array[1], in RunBrowserAction()
96 color_array[2]); in RunBrowserAction()
/external/chromium_org/chrome/browser/extensions/api/extension_action/
Dextension_action_api.cc774 int color_array[4] = {0}; in RunExtensionAction() local
775 for (size_t i = 0; i < arraysize(color_array); ++i) { in RunExtensionAction()
776 EXTENSION_FUNCTION_VALIDATE(list->GetInteger(i, &color_array[i])); in RunExtensionAction()
779 color = SkColorSetARGB(color_array[3], color_array[0], in RunExtensionAction()
780 color_array[1], color_array[2]); in RunExtensionAction()
/external/chromium_org/chrome/renderer/searchbox/
Dsearchbox_extension.cc178 v8::Handle<v8::Array> color_array = v8::Array::New(isolate, 4); in RGBAColorToArray() local
179 color_array->Set(0, v8::Int32::New(isolate, color.r)); in RGBAColorToArray()
180 color_array->Set(1, v8::Int32::New(isolate, color.g)); in RGBAColorToArray()
181 color_array->Set(2, v8::Int32::New(isolate, color.b)); in RGBAColorToArray()
182 color_array->Set(3, v8::Int32::New(isolate, color.a)); in RGBAColorToArray()
183 return color_array; in RGBAColorToArray()
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dcontent_setting_decoration.mm336 NSArray* color_array =
338 gradient_.reset([[NSGradient alloc] initWithColors:color_array]);