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

Unified Diff: components/constrained_window/constrained_window_views.cc

Issue 699553002: MacViews: Add a CreateChromeConstrainedWindowViewsClient stub (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: window->view Created 6 years, 1 month 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/constrained_window/constrained_window_views.cc
diff --git a/components/constrained_window/constrained_window_views.cc b/components/constrained_window/constrained_window_views.cc
index 68664fbe93579fbd3700a0f7270996df382602ef..11a4f6323a4b851309d50ceac1a386fc07d3dff0 100644
--- a/components/constrained_window/constrained_window_views.cc
+++ b/components/constrained_window/constrained_window_views.cc
@@ -147,13 +147,13 @@ views::Widget* CreateWebModalDialogViews(views::WidgetDelegate* dialog,
DCHECK_EQ(ui::MODAL_TYPE_CHILD, dialog->GetModalType());
web_modal::PopupManager* popup_manager =
web_modal::PopupManager::FromWebContents(web_contents);
- const gfx::NativeWindow parent = popup_manager->GetHostView();
+ const gfx::NativeView parent = popup_manager->GetHostView();
return views::DialogDelegate::CreateDialogWidget(dialog, NULL, parent);
}
// TODO(gbillock): Replace this with PopupManager calls.
views::Widget* CreateBrowserModalDialogViews(views::DialogDelegate* dialog,
- gfx::NativeWindow parent) {
+ gfx::NativeView parent) {
views::Widget* widget =
views::DialogDelegate::CreateDialogWidget(dialog, NULL, parent);
if (!dialog->UseNewStyleForThisDialog())

Powered by Google App Engine
This is Rietveld 408576698