diff options
Diffstat (limited to 'athena/extensions')
-rw-r--r-- | athena/extensions/athena_constrained_window_views_client.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/athena/extensions/athena_constrained_window_views_client.cc b/athena/extensions/athena_constrained_window_views_client.cc index d56503f..1645639 100644 --- a/athena/extensions/athena_constrained_window_views_client.cc +++ b/athena/extensions/athena_constrained_window_views_client.cc @@ -19,7 +19,7 @@ namespace athena { namespace { -// Provides the host envrionment for web modal dialogs. See +// Provides the host environment for web modal dialogs. See // web_modal::WebContentsModalDialogHost, and ModalDialogHost for more // details. class ModalDialogHostImpl : public web_modal::WebContentsModalDialogHost, @@ -121,6 +121,9 @@ class AthenaConstrainedWindowViewsClient return ModalDialogHostImpl::Get(parent); return nullptr; } + gfx::NativeView GetDialogHostView(gfx::NativeWindow parent) override { + return parent; + } DISALLOW_COPY_AND_ASSIGN(AthenaConstrainedWindowViewsClient); }; |