Merge TextButton and LabelButton border images util structs, etc.

Consolidate new BorderImages files from TextButton and LabelButton.
Rewrite image painting as a struct member function; support arbitrary rects.
Add static IDR arrays for TextButton and LabelButton shared image assets

Use LabelButton views as implicit NativeThemeDelegates for LabelButtonBorder.
Nix LabelButtonBorder layer kClear_Mode as in http://crrev.com/160227.
Use macros to define ordered image asset IDR arrays; misc cleanup/refactoring.

TODO(followup): Merge "nine-box" code in BorderImages, BubbleBorder, ImagePainter, etc.
TODO(followup): Stitch border image assets together and use ImagePainter?

BUG=155363
TEST=No observable button changes or regressions.
R=pkasting@chromium.org
TBR=sky@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164557 0039d316-1c4b-4281-b951-d872f2087c98
10 files changed