Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/core/html/canvas/
DCanvasStyle.cpp45 static ColorParseResult parseColor(RGBA32& parsedColor, const String& colorString, Document* docume… in parseColor() argument
49 if (CSSParser::parseColor(parsedColor, colorString)) in parseColor()
51 if (CSSParser::parseSystemColor(parsedColor, colorString, document)) in parseColor()
65 bool parseColorOrCurrentColor(RGBA32& parsedColor, const String& colorString, HTMLCanvasElement* ca… in parseColorOrCurrentColor() argument
67 …ColorParseResult parseResult = parseColor(parsedColor, colorString, canvas ? &canvas->document() :… in parseColorOrCurrentColor()
73 parsedColor = currentColor(canvas); in parseColorOrCurrentColor()
DCanvasStyle.h102 … bool parseColorOrCurrentColor(RGBA32& parsedColor, const String& colorString, HTMLCanvasElement*);
/external/chromium_org/third_party/WebKit/Source/core/html/
DHTMLElement.cpp958 Color parsedColor(colorString); in addHTMLColorToStyle() local
959 if (!parsedColor.isValid()) in addHTMLColorToStyle()
960 parsedColor.setRGB(parseColorStringWithCrazyLegacyRules(colorString)); in addHTMLColorToStyle()
962 style->setProperty(propertyID, cssValuePool().createColorValue(parsedColor.rgb())); in addHTMLColorToStyle()
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DUIUtils.js980 var parsedColor = WebInspector.Color.parse(color);
981 …var shadowColor = parsedColor ? parsedColor.invert().setAlpha(0.33).toString(WebInspector.Color.Fo…
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSParser-in.cpp6444 RefPtr<CSSPrimitiveValue> parsedColor; in parseShadow() local
6451 parsedColor = cssValuePool().createIdentifierValue(val->id); in parseShadow()
6454 if (!parsedColor) in parseShadow()
6456 parsedColor = parseColor(val); in parseShadow()
6458 if (!parsedColor || !context.allowColor) in parseShadow()
6462 context.commitColor(parsedColor.release()); in parseShadow()