diff options
author | rdsmith@chromium.org <rdsmith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-15 14:24:24 +0000 |
---|---|---|
committer | rdsmith@chromium.org <rdsmith@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-15 14:24:24 +0000 |
commit | 340c91ba33fcdb81885b353635c16b9ff91d1f37 (patch) | |
tree | 767c69ea5b8b29a4602aa9e687d700a27aef75cb /chrome/browser/ui/views/browser_actions_container.h | |
parent | dabc45c18830592f272eb74e9b2620055c3a7188 (diff) | |
download | chromium_src-340c91ba33fcdb81885b353635c16b9ff91d1f37.zip chromium_src-340c91ba33fcdb81885b353635c16b9ff91d1f37.tar.gz chromium_src-340c91ba33fcdb81885b353635c16b9ff91d1f37.tar.bz2 |
Fix warning prompting on closing a window that will cancel downloads.
Handles two cases: Last window close (-> shuts download browser), and
last incognito window in an incognito profile (-> cancels downloads
on that profile).
Note that this doesn't cover the macintosh, which goes through different
code (http://crbug.com/88419) and the warning for incognito close is not
ideal (http://crbug.com/88421). This CL includes some modularization
to make resolving those issues easier.
BUG=61257
Review URL: http://codereview.chromium.org/7466033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105662 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/views/browser_actions_container.h')
0 files changed, 0 insertions, 0 deletions