Index: components/web_modal/web_contents_modal_dialog_manager.h |
diff --git a/components/web_modal/web_contents_modal_dialog_manager.h b/components/web_modal/web_contents_modal_dialog_manager.h |
index 09115f0b099b70c2c120c6187848f53f26f40de9..5502c09d2180fd039105b00951873a212fd2876c 100644 |
--- a/components/web_modal/web_contents_modal_dialog_manager.h |
+++ b/components/web_modal/web_contents_modal_dialog_manager.h |
@@ -38,7 +38,9 @@ class WebContentsModalDialogManager |
// WillClose() when it is being destroyed. |
void ShowDialog(NativeWebContentsModalDialog dialog); |
- // Returns true if a dialog is currently being shown. |
+ // Returns true if any dialogs are active and not closed. |
+ // TODO(wittman): Give this a better name, since it can return true if no |
+ // dialogs are displayed. |
bool IsShowingDialog() const; |
// Focus the topmost modal dialog. IsShowingDialog() must be true when |