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

Unified Diff: components/web_modal/web_contents_modal_dialog_manager.h

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: components/web_modal/web_contents_modal_dialog_manager.h
diff --git a/components/web_modal/web_contents_modal_dialog_manager.h b/components/web_modal/web_contents_modal_dialog_manager.h
index 6505301c215f73fa3e250b800f239dd3de988208..05421c1165bc952d7bc0fc7eee634e24ea84a1aa 100644
--- a/components/web_modal/web_contents_modal_dialog_manager.h
+++ b/components/web_modal/web_contents_modal_dialog_manager.h
@@ -31,11 +31,14 @@ class WebContentsModalDialogManager
static SingleWebContentsDialogManager* CreateNativeWebModalManager(
gfx::NativeWindow dialog,
- SingleWebContentsDialogManagerDelegate* native_delegate);
+ SingleWebContentsDialogManagerDelegate* native_delegate,
+ bool* independent_bounds,
+ const char * kHasIndependentBoundsKey);
// Shows the dialog as a web contents modal dialog. The dialog will notify via
// WillClose() when it is being destroyed.
- void ShowModalDialog(gfx::NativeWindow dialog);
+ void ShowModalDialog(gfx::NativeWindow dialog, bool *independent_bounds,
+ const char * kHasIndependentBoundsKey);
Mike Wittman 2016/08/05 16:03:46 I think you can avoid all this threading of indepe
rbpotter 2016/08/12 16:36:07 Done.
// Allow clients to supply their own native dialog manager. Suitable for
// bubble clients.

Powered by Google App Engine
This is Rietveld 408576698