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

Unified Diff: components/web_modal/web_contents_modal_dialog_manager.cc

Issue 2087643003: Move web modal dialog manager files into the constrained_window component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert changes to gyp files, IWYU for #ifdef (OS_MACOSX). Created 4 years, 4 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: components/web_modal/web_contents_modal_dialog_manager.cc
diff --git a/components/web_modal/web_contents_modal_dialog_manager.cc b/components/web_modal/web_contents_modal_dialog_manager.cc
index 52b404580291059c6c5d0bd1338ffbb2788ad2e6..a417685ac10e751681f8c2232f43b32584969359 100644
--- a/components/web_modal/web_contents_modal_dialog_manager.cc
+++ b/components/web_modal/web_contents_modal_dialog_manager.cc
@@ -35,12 +35,6 @@ void WebContentsModalDialogManager::SetDelegate(
}
}
-void WebContentsModalDialogManager::ShowModalDialog(gfx::NativeWindow dialog) {
- std::unique_ptr<SingleWebContentsDialogManager> mgr(
- CreateNativeWebModalManager(dialog, this));
- ShowDialogWithManager(dialog, std::move(mgr));
-}
-
// TODO(gbillock): Maybe "ShowBubbleWithManager"?
void WebContentsModalDialogManager::ShowDialogWithManager(
gfx::NativeWindow dialog,

Powered by Google App Engine
This is Rietveld 408576698