Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2566)

Unified Diff: chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm

Issue 23815006: [Cleanup] rename WebContentsModalDialogManager::IsShowingDialog() to IsDialogActive() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
diff --git a/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm b/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
index 13493e44d4e864672801ec45ce1b3562f1bedde3..8f906ea7b62e3e1f34ddb01ddb04b7d5ff555ae0 100644
--- a/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
+++ b/chrome/browser/ui/cocoa/extensions/extension_popup_controller.mm
@@ -210,7 +210,7 @@ class DevtoolsNotificationBridge : public content::NotificationObserver {
web_modal::WebContentsModalDialogManager::FromWebContents(
host_->host_contents());
if (modalDialogManager &&
- modalDialogManager->IsShowingDialog()) {
+ modalDialogManager->IsDialogActive()) {
return;
}
}
@@ -236,7 +236,7 @@ class DevtoolsNotificationBridge : public content::NotificationObserver {
web_modal::WebContentsModalDialogManager::FromWebContents(
host_->host_contents());
if (modalDialogManager &&
- modalDialogManager->IsShowingDialog()) {
+ modalDialogManager->IsDialogActive()) {
ignoreWindowDidResignKey_ = YES;
return;
}

Powered by Google App Engine
This is Rietveld 408576698