Use IDL union types for CanvasRenderingContext2D.{fill,stroke}Style

This gets rid of the custom bindings for said attributes by using the
union type support in the bindings codegen.
Also rework the resolution of 'currentColor' by using
parseColorOrCurrentColor directly in set{Fill,Stroke}Style, rather than
first parse and then resolve.
This allows CanvasStyle to cleaned up and shrunk a bit.
Also remove code from CanvasStyle that became dead when the legacy
set{Fill,Stroke}Color methods was removed (CMYKA, float RGBA,
gray-level, override alpha).

BUG=430337
BUG=363180,363181

Review URL: https://codereview.chromium.org/752083003

git-svn-id: svn://svn.chromium.org/blink/trunk@185879 bbb929c8-8fbe-4397-9dbb-9b2b20218538
7 files changed
tree: b000e12234a235ef700bb31f7f17413fb0363890
  1. third_party/