Cleanup: Renaming functions in print_preview.js, changing updatePrintSummary, and fixing minor bug.
Cleanup: Renaming functions in print_preview.js, changing updatePrintSummary, and fixing minor bug.

1) The following renames have been made
   getPreview -> requestPrintPreview
   updateSummary -> updatePrintSummary
2) Function updatePrintSummary was also taking care of updating the print
   button state, even though there is already a function
   updatePrintButtonState. Made chages so that updatePrintSummary does only
   what the name implies.
3) Fractional numbers in the copies field trigger the "Invalid number of copies" message.

BUG=NONE
TEST=Print preview should still work as before. Enter a fractional number in the copies field, a warning message should appear and the print button should be disabled.

Review URL: http://codereview.chromium.org/6873143

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@82517 0039d316-1c4b-4281-b951-d872f2087c98

gavinp/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,gavinp/chromium,gavinp/chromium,ropik/chromium,gavinp/chromium,ropik/chromium,adobe/chromium,gavinp/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,ropik/chromium,gavinp/chromium,gavinp/chromium,gavinp/chromium,adobe/chromium,adobe/chromium,yitian134/chromium,yitian134/chromium,adobe/chromium,gavinp/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,yitian134/chromium,yitian134/chromium,adobe/chromium,adobe/chromium,gavinp/chromium,adobe/chromium,adobe/chromium,ropik/chromium,Crystalnix/house-of-life-chromium,yitian134/chromium,Crystalnix/house-of-life-chromium,adobe/chromium,adobe/chromium,Crystalnix/house-of-life-chromium,ropik/chromium,adobe/chromium,yitian134/chromium,Crystalnix/house-of-life-chromium