Resize the canvas using input.

The user enters desired dimensions into the input text fields and when the 'resize' button is clicked, the dimensions are applied. It uses a temp canvas to temporarily store the source canvas, then repaints it after resizing.

R=calamity@chromium.org, jackhou@chromium.org

Review URL: https://codereview.appspot.com/55790044