diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-25 04:23:56 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-25 04:23:56 +0000 |
commit | 094e5b2e797fd244c1ac0ec543ac91cb14e32a3e (patch) | |
tree | ccd15d7dd0ef95b889c5e51bdb85a4ce1da09378 /chrome/app/generated_resources.grd | |
parent | 320eee7c40dd3fdfef7926c526b79ca60b7a3c45 (diff) | |
download | chromium_src-094e5b2e797fd244c1ac0ec543ac91cb14e32a3e.zip chromium_src-094e5b2e797fd244c1ac0ec543ac91cb14e32a3e.tar.gz chromium_src-094e5b2e797fd244c1ac0ec543ac91cb14e32a3e.tar.bz2 |
Implemented upload progress indicator in status bar.
When sending an HTTP POST request with sufficiently large payload data (such as
uploading a file or several), the status bar should display the progress in the
form of a percentage. The ResourceDispatcherHost periodically sends upload
progress messages to the UI thread as well as to the renderer. If an upload is
occurring, other potential LoadStateChanged messages to the same RenderViewHost
are ignored; this prevents the upload progress display from being interrupted
periodically by "Waiting for <site>" messages.
Original code review:
http://codereview.chromium.org/211050
Original patch by Simon Radford
r=darin
BUG=4715
TEST=Try uploading one or more files (e.g. at a file hosting site) and confirm
that the percentage is shown in the status bar.
Review URL: http://codereview.chromium.org/244001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27169 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/generated_resources.grd')
-rw-r--r-- | chrome/app/generated_resources.grd | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd index 0d341cf..04d35d0 100644 --- a/chrome/app/generated_resources.grd +++ b/chrome/app/generated_resources.grd @@ -2957,6 +2957,9 @@ Keep your key file in a safe place. You will need it to create new versions of y <message name="IDS_LOAD_STATE_SENDING_REQUEST"> Sending request... </message> + <message name="IDS_LOAD_STATE_SENDING_REQUEST_WITH_PROGRESS"> + Uploading (<ph name="PROGRESS_PERCENT">$1<ex>27</ex></ph>%)... + </message> <message name="IDS_LOAD_STATE_WAITING_FOR_RESPONSE"> Waiting for <ph name="HOST_NAME">$1<ex>www.google.com</ex></ph>... </message> |