diff options
author | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-14 16:05:04 +0000 |
---|---|---|
committer | finnur@chromium.org <finnur@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-14 16:05:04 +0000 |
commit | 3bed26a4bf5a41484a002b337d8643741592e3cc (patch) | |
tree | 2bedf4b20d6afa5c9cb4aaf74a2367eb7a8773e1 /chrome/app/theme | |
parent | 055cceb1b4ca2b25b94b7e5e6d71c4d86d904e36 (diff) | |
download | chromium_src-3bed26a4bf5a41484a002b337d8643741592e3cc.zip chromium_src-3bed26a4bf5a41484a002b337d8643741592e3cc.tar.gz chromium_src-3bed26a4bf5a41484a002b337d8643741592e3cc.tar.bz2 |
Change the upgrade reminder as time passes without user action.
Dev channel will show the green arrow badge on the Wrench menu
after 1 hour, as before.
For stable and beta, I'm changing it so that:
After 2 days you get a green arrow.
After 4 days you get an orange arrow.
After 7 days you get a red arrow.
After 14 days you get an exlamation point.
Also make it use wall-clock time instead of ticks when calculating when to show the reminder.
BUG=78406, 71202.
TEST=Pass in --check-for-update-interval=10 as a command line into Chrome and when a new build is available the numbers above change into minutes (instead of hours). Note the part about the dev build above (it won't get more than a green arrow).
Review URL: http://codereview.chromium.org/6840038
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/theme')
-rw-r--r-- | chrome/app/theme/theme_resources.grd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/app/theme/theme_resources.grd b/chrome/app/theme/theme_resources.grd index 3ed73af..796a718 100644 --- a/chrome/app/theme/theme_resources.grd +++ b/chrome/app/theme/theme_resources.grd @@ -618,8 +618,14 @@ </if> <include name="IDR_UPDATE_AVAILABLE" file="update_available.png" type="BINDATA" /> <include name="IDR_UPDATE_BADGE" file="update_badge.png" type="BINDATA" /> + <include name="IDR_UPDATE_BADGE2" file="update_badge2.png" type="BINDATA" /> + <include name="IDR_UPDATE_BADGE3" file="update_badge3.png" type="BINDATA" /> + <include name="IDR_UPDATE_BADGE4" file="update_badge4.png" type="BINDATA" /> <include name="IDR_UPDATE_FAIL" file="update_fail.png" type="BINDATA" /> <include name="IDR_UPDATE_MENU" file="update_menu.png" type="BINDATA" /> + <include name="IDR_UPDATE_MENU2" file="update_menu2.png" type="BINDATA" /> + <include name="IDR_UPDATE_MENU3" file="update_menu3.png" type="BINDATA" /> + <include name="IDR_UPDATE_MENU4" file="update_menu4.png" type="BINDATA" /> <include name="IDR_UPDATE_UPTODATE" file="update_uptodate.png" type="BINDATA" /> <include name="IDR_WARNING" file="alert_small.png" type="BINDATA" /> <if expr="pp_ifdef('_google_chrome')"> |