Introduce new entry-points for non-paint-server RenderSVGResources

The applyResource/postApplyResource entry-points defined in the
RenderSVGResource interface are not of much use to non-paint-server
resource-types (clipPath, mask, filter, marker), since they share
very little semantic-wise. This also mean that they impede changes
that could benefit the "other" type of resource.
Make the mentioned methods be used only for the paint-server
resources, and move the current functionality for mask/filter
(clipPath already has an interface of its own, as does marker)
to methods with the names prepareEffect/finishEffect.

This removes all actual uses of the RenderSVGResourceMode
ApplyToDefaultMode "flag", so drop it.

BUG=420022

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

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