Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "components/web_modal/web_contents_modal_dialog_manager.h" | 5 #include "components/web_modal/web_contents_modal_dialog_manager.h" |
| 6 | 6 |
| 7 #include "chrome/browser/ui/views/native_web_contents_modal_dialog_manager_views .h" | 7 #include "components/constrained_window/native_web_contents_modal_dialog_manager _views.h" |
| 8 #include "components/web_modal/single_web_contents_dialog_manager.h" | 8 #include "components/web_modal/single_web_contents_dialog_manager.h" |
| 9 | 9 |
| 10 namespace web_modal { | 10 namespace web_modal { |
| 11 | 11 |
| 12 SingleWebContentsDialogManager* | 12 SingleWebContentsDialogManager* |
|
tapted
2016/06/29 03:02:45
Add
/ /TODO(..) This is a layering violation and
Patti Lor
2016/07/13 03:09:41
I think I already removed WebContentsModalDialogMa
tapted
2016/07/13 04:36:19
There's still a problem - even though this has bee
Patti Lor
2016/07/19 07:39:08
This file was deleted, but I think ShowModalDialog
| |
| 13 WebContentsModalDialogManager::CreateNativeWebModalManager( | 13 WebContentsModalDialogManager::CreateNativeWebModalManager( |
| 14 gfx::NativeWindow dialog, | 14 gfx::NativeWindow dialog, |
| 15 SingleWebContentsDialogManagerDelegate* native_delegate) { | 15 SingleWebContentsDialogManagerDelegate* native_delegate) { |
| 16 return new NativeWebContentsModalDialogManagerViews(dialog, native_delegate); | 16 return new constrained_window::NativeWebContentsModalDialogManagerViews( |
| 17 dialog, native_delegate); | |
| 17 } | 18 } |
| 18 | 19 |
| 19 } // namespace web_modal | 20 } // namespace web_modal |
| OLD | NEW |