Adding transitions when the print preview is loading.
commitdba58b12d990f4b959c03e9ce6d255a1ca41cae2
authordpapad@chromium.org <dpapad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 22 Apr 2011 23:12:51 +0000 (22 23:12 +0000)
committerdpapad@chromium.org <dpapad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 22 Apr 2011 23:12:51 +0000 (22 23:12 +0000)
treef5bd9ed5a1a929fbba8efc601228156ed20d51c2
parentad7bbbd6badf073dfd61bcc8d3ea9124d8b14ce7
Adding transitions when the print preview is loading.

1) When a preview is being rendered, the old print preview is faded out.
2) A "Loading preview ..." message is shown (with the dots dancing!).
3) The new preview is faded in once it becomes available.

Also in this CL, some unused css rules have been removed.

BUG=NONE
TEST=Open a very large document in the preview, make changes to the settings
and observe the transitions.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82749 0039d316-1c4b-4281-b951-d872f2087c98
chrome/app/generated_resources.grd
chrome/browser/resources/print_preview.css
chrome/browser/resources/print_preview.html
chrome/browser/resources/print_preview.js