summaryrefslogtreecommitdiffstats
path: root/chrome/browser/shell_integration_linux.cc
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-01 03:10:15 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-01 03:10:15 +0000
commitb876c7db6bc09c93c9396c2995a5885f61dcdf9e (patch)
tree3f97ddcf9683e4a440a3267fe1ace9f6942eb429 /chrome/browser/shell_integration_linux.cc
parentcb69b128dddf0cd36076913f192e0592f08a366b (diff)
downloadchromium_src-b876c7db6bc09c93c9396c2995a5885f61dcdf9e.zip
chromium_src-b876c7db6bc09c93c9396c2995a5885f61dcdf9e.tar.gz
chromium_src-b876c7db6bc09c93c9396c2995a5885f61dcdf9e.tar.bz2
Mac: Allow window/app. to be closed when tab modal sheets are showing.
This patch consists only of code deletions. Despite the comments in the deleted code, it's all okay since sheets are closed: |TabContents::~TabContents()| calls |ConstrainedWindowMac::CloseConstrainedWindow()|, which calls |ConstrainedWindowMacDelegate::DeleteDelegate()|, which should close the sheet if it's still open. This code path has been in use for quite some time, since we've allowed (or failed to disallow!) tabs containing sheets to be closed via the close tab button. BUG=19427 TEST=Open some tabs (possibly in multiple windows) with some tab modal sheet (e.g., by navigating to <http://www.pagetutor.com/keeper/mystash/secretstuff.html>); close a window containing such a tab, with a tab modal sheet visible or not; quit application while a tab modal sheet is active (not nec. visible). Review URL: http://codereview.chromium.org/242059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27699 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/shell_integration_linux.cc')
0 files changed, 0 insertions, 0 deletions