OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:color_string
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/extensions/browser/
image_util.cc
16
bool ParseCSSColorString(const std::string&
color_string
, SkColor* result) {
19
if (
color_string
.empty() ||
color_string
[0] != '#')
23
if (
color_string
.length() == 4) {
25
formatted_color +=
color_string
[i];
26
formatted_color +=
color_string
[i];
28
} else if (
color_string
.length() == 7) {
29
formatted_color =
color_string
.substr(1, 6);
image_util.h
17
bool ParseCSSColorString(const std::string&
color_string
, SkColor* result);
/external/chromium_org/chrome/browser/extensions/api/extension_action/
extension_action_api.cc
532
std::string
color_string
;
local
533
EXTENSION_FUNCTION_VALIDATE(details_->GetString("color", &
color_string
));
534
if (!image_util::ParseCSSColorString(
color_string
, &color))
extension_action_api.h
141
static bool ParseCSSColorString(const std::string&
color_string
,
Completed in 81 milliseconds