Move NinePieceImage painting to a separate class

While doing as little changes as possible, move NinePieceImage
painting code out of BoxPainter into a separate class. This is in
preparation for the possibility of splitting the function into smaller
parts. The function currently has roughly 36 local variables and is
quite hard to understand and change.

BUG=492485

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

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