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

Unified Diff: ash/test/child_modal_window.cc

Issue 2172363002: Created min size for print preview dialog and modified to allow the Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Track independent bounds as native window property not member of widget class 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: ash/test/child_modal_window.cc
diff --git a/ash/test/child_modal_window.cc b/ash/test/child_modal_window.cc
index 40ab94e843469e41c01c14746fea7eab1039c812..df861ba8f4284966888deba0e2e9e49dc8d74da0 100644
--- a/ash/test/child_modal_window.cc
+++ b/ash/test/child_modal_window.cc
@@ -148,7 +148,7 @@ gfx::NativeWindow ChildModalParent::GetChild() const {
Widget* ChildModalParent::CreateChild() {
Widget* child = Widget::CreateWindowWithParent(new ChildModalWindow,
GetWidget()->GetNativeView());
- wm::SetModalParent(child->GetNativeView(), GetModalParent());
+ wm::SetModalParent(child->GetNativeView(), GetModalParent(), NULL, NULL);
child->AddObserver(this);
child->GetNativeView()->SetName("ChildModalWindow");
return child;
« no previous file with comments | « no previous file | ash/wm/resize_handle_window_targeter.cc » ('j') | components/constrained_window/constrained_window_views.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698