Move transform building logic out of StyleResolver

Move TransformBuilder::createTransformOperations and support
functionality out of StyleResolver and into a separate self contained
class.

* Source/core/css/StyleResolver.cpp:
* Source/core/css/StyleResolver.h:
  (StyleResolver::applyProperty):
    Change CSSPropertyWebkitTransform case to use TransformBuilder to
    populate TransformOperations list.
  (StyleResolver::parseCustomFilterTransformParam):
    Change to use TransformBuilder to populate TransformOperations
    list.
  (StyleResolver::createTransformOperations):
    Move createTransformOperations to TransformBuilder.
  (getTransformOperationType):
    Move static function to TransformBuilder as it is only used by
    the createTransformOperations method.
* Source/core/css/TransformBuilder.cpp:
* Source/core/css/TransformBuilder.h:
  New files split from StyleResolver, as the cpp file is basically a
  copy of the relevant section from StyleResolver.cpp the same
  copyright is used.
  (convertToFloatLength):
    Static support function for createTransformOperations.
  (getTransformOperationType):
    Static support function for createTransformOperations, moved from
    StyleResolver.cpp.
  (TransformBuilder::createTransformOperations):
    Main method for populating a TransformOperations list, moved from
    StyleResolver.cpp

R=eseidel@chromium.org
BUG=237269
TEST=No new tests, no change in functionality.

Review URL: https://chromiumcodereview.appspot.com/14789008

git-svn-id: svn://svn.chromium.org/blink/trunk@149545 bbb929c8-8fbe-4397-9dbb-9b2b20218538
6 files changed