| Index: chrome/browser/ui/views/native_web_contents_modal_dialog_manager_views.cc
|
| diff --git a/chrome/browser/ui/views/native_web_contents_modal_dialog_manager_views.cc b/chrome/browser/ui/views/native_web_contents_modal_dialog_manager_views.cc
|
| index 9894085a151844d9710fa30b7e3c4bbe1dbb68b1..efaf9bf2a5a73ea75e6edbd71a28b20a795a5877 100644
|
| --- a/chrome/browser/ui/views/native_web_contents_modal_dialog_manager_views.cc
|
| +++ b/chrome/browser/ui/views/native_web_contents_modal_dialog_manager_views.cc
|
| @@ -21,6 +21,7 @@
|
| #if defined(USE_AURA)
|
| #include "ui/aura/client/aura_constants.h"
|
| #include "ui/aura/window.h"
|
| +#include "ui/aura/window_targeter.h"
|
| #include "ui/wm/core/visibility_controller.h"
|
| #include "ui/wm/core/window_animations.h"
|
| #include "ui/wm/core/window_modality_controller.h"
|
| @@ -77,6 +78,12 @@ void NativeWebContentsModalDialogManagerViews::ManageDialog() {
|
|
|
| wm::SetModalParent(widget->GetNativeWindow(),
|
| native_delegate_->GetWebContents()->GetNativeView());
|
| +#if defined(OS_CHROMEOS)
|
| + if (native_delegate_->IsNonClipped(dialog())) {
|
| + widget->SetNativeWindowProperty(aura::kHasIndependentBoundsKey,
|
| + reinterpret_cast<void*>(true));
|
| + }
|
| +#endif // OS_CHROMEOS
|
| #endif
|
| }
|
|
|
|
|