summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.cc
diff options
context:
space:
mode:
authorflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-12 03:56:15 +0000
committerflackr@chromium.org <flackr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-12 03:56:15 +0000
commit707d6be62ead9aa9bcb1d55ff0df68420cb78568 (patch)
tree8602edfec5928d8b591300b2a8bb066d1c1f22d9 /chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.cc
parent32e9caaf0d781b80a898164c49f071a55b341d12 (diff)
downloadchromium_src-707d6be62ead9aa9bcb1d55ff0df68420cb78568.zip
chromium_src-707d6be62ead9aa9bcb1d55ff0df68420cb78568.tar.gz
chromium_src-707d6be62ead9aa9bcb1d55ff0df68420cb78568.tar.bz2
Allow HtmlDialogUIDelegate to specify dialog ModalType.
The aura stacking window manager uses the ModalType of widgets to determine if they are to be placed on top of all other layers such as the login screen. The login screen makes use of several HtmlDialogs which must use MODAL_TYPE_SYSTEM in order to be stacked correctly. TBR=estade,sail,abodenha BUG=109673 TEST=Verify that dialogs such as proxy settings can be displayed over the login screen. Review URL: http://codereview.chromium.org/9147021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117386 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.cc')
-rw-r--r--chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.cc b/chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.cc
index c70bec2..511b31a 100644
--- a/chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.cc
+++ b/chrome/browser/ui/webui/tab_modal_confirm_dialog_webui.cc
@@ -60,8 +60,8 @@ TabModalConfirmDialogWebUI::TabModalConfirmDialogWebUI(
TabModalConfirmDialogWebUI::~TabModalConfirmDialogWebUI() {}
-bool TabModalConfirmDialogWebUI::IsDialogModal() const {
- return true;
+ui::ModalType TabModalConfirmDialogWebUI::GetDialogModalType() const {
+ return ui::MODAL_TYPE_WINDOW;
}
string16 TabModalConfirmDialogWebUI::GetDialogTitle() const {