summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser_commands.cc
diff options
context:
space:
mode:
authorwittman@chromium.org <wittman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-10 17:19:12 +0000
committerwittman@chromium.org <wittman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-10 17:19:12 +0000
commit93a38c4e5de39f57063d0e558b19ebc848063f61 (patch)
tree2e1e621a71758d880366b8f00ac93e08619c4db3 /chrome/browser/ui/browser_commands.cc
parent1cd9fc80ba334d105f3af31060d6f7cb3358b5c8 (diff)
downloadchromium_src-93a38c4e5de39f57063d0e558b19ebc848063f61.zip
chromium_src-93a38c4e5de39f57063d0e558b19ebc848063f61.tar.gz
chromium_src-93a38c4e5de39f57063d0e558b19ebc848063f61.tar.bz2
[Cleanup] rename WebContentsModalDialogManager::IsShowingDialog() to IsDialogActive()
The function tests whether web contents modal dialogs are active, rather than if they are actually showing. This updates the name accordingly and resolves the TODO. BUG=157161 Review URL: https://chromiumcodereview.appspot.com/23815006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@222289 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui/browser_commands.cc')
-rw-r--r--chrome/browser/ui/browser_commands.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/ui/browser_commands.cc b/chrome/browser/ui/browser_commands.cc
index 48c7076..fc3438d 100644
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -187,7 +187,7 @@ bool IsShowingWebContentsModalDialog(const Browser* browser) {
WebContentsModalDialogManager* web_contents_modal_dialog_manager =
WebContentsModalDialogManager::FromWebContents(web_contents);
- return web_contents_modal_dialog_manager->IsShowingDialog();
+ return web_contents_modal_dialog_manager->IsDialogActive();
}
bool PrintPreviewShowing(const Browser* browser) {