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

Unified Diff: components/constrained_window/native_web_contents_modal_dialog_manager_views.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: Modify tracking of nonclipped state for new code structure. 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/constrained_window/native_web_contents_modal_dialog_manager_views.h
diff --git a/components/constrained_window/native_web_contents_modal_dialog_manager_views.h b/components/constrained_window/native_web_contents_modal_dialog_manager_views.h
index 12954e97f890ff768424d6528985a3778a46334c..178b4eca91604840918d385b1ee39675d07b9f87 100644
--- a/components/constrained_window/native_web_contents_modal_dialog_manager_views.h
+++ b/components/constrained_window/native_web_contents_modal_dialog_manager_views.h
@@ -27,13 +27,16 @@ class NativeWebContentsModalDialogManagerViews
public:
NativeWebContentsModalDialogManagerViews(
gfx::NativeWindow dialog,
- web_modal::SingleWebContentsDialogManagerDelegate* native_delegate);
+ web_modal::SingleWebContentsDialogManagerDelegate* native_delegate,
+ bool is_nonclipped);
~NativeWebContentsModalDialogManagerViews() override;
// Sets up this object to manage the |dialog_|. Registers for closing events
- // in order to notify the delegate.
- void ManageDialog();
+ // in order to notify the delegate. If |is_nonclipped| is true and the
+ // platform supports non-clipped dialogs (currently Chrome OS only), the
+ // dialog will not be confined to the bounds of its parent window.
+ void ManageDialog(bool is_nonclipped);
// web_modal::SingleWebContentsDialogManager:
void Show() override;

Powered by Google App Engine
This is Rietveld 408576698