Fix UI quirks when doing a history navigation to a slow page.

This fixes two related issues:

1) The forward button is not immediately disabled when going forward to a slow page, even though the user cannot go forward any more.

2) When cancelling a history navigation to a slow page by performing another history navigation, the throbber remains stuck indicating a load in progress.

Also included are tests for each of these issues.

Patch from Karl Koscher <[email protected]>
BUG=94747
TEST=Go forward to slow URL, then back.

Review URL: http://codereview.chromium.org/8136024
Patch from Karl Koscher <[email protected]>.

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