| 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 eff0e2c108096143d0c1a7591311fcd29e50ab7b..58d5520b9fcc05f2801fc95b9a476413c052e96d 100644
|
| --- a/components/web_modal/web_contents_modal_dialog_manager.h
|
| +++ b/components/web_modal/web_contents_modal_dialog_manager.h
|
| @@ -39,12 +39,10 @@ class WebContentsModalDialogManager
|
| void ShowDialog(NativeWebContentsModalDialog dialog);
|
|
|
| // 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;
|
| + bool IsDialogActive() const;
|
|
|
| - // Focus the topmost modal dialog. IsShowingDialog() must be true when
|
| - // calling this function.
|
| + // Focus the topmost modal dialog. IsDialogActive() must be true when calling
|
| + // this function.
|
| void FocusTopmostDialog();
|
|
|
| // Set to true to close the window when a page load starts on the WebContents.
|
|
|