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

Unified Diff: components/web_modal/single_web_contents_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: Fix Mac compile error. 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/single_web_contents_dialog_manager.h
diff --git a/components/web_modal/single_web_contents_dialog_manager.h b/components/web_modal/single_web_contents_dialog_manager.h
index 7d85368409d2ad0b99c909e051ace21401fc52c5..a5d0df9ac9de7909f092b7d894535595f6fdfece 100644
--- a/components/web_modal/single_web_contents_dialog_manager.h
+++ b/components/web_modal/single_web_contents_dialog_manager.h
@@ -29,6 +29,16 @@ class SingleWebContentsDialogManagerDelegate {
// manager will be deleted before the end of this call.
virtual void WillClose(gfx::NativeWindow dialog) = 0;
+ // Checks if the dialog should have a non clipped display (bounds not
+ // constrained to the bounds of the modal parent) if supported by the platform
+ // (Chrome OS only).
+ virtual bool IsNonClipped(gfx::NativeWindow dialog) const = 0;
+
+ // Indicates to the mangager that the dialog should be displayed in a non
+ // clipped display (bounds not constrained to modal parent) if this is
+ // supported by the platform (Chrome OS only).
+ virtual void AddNonClippedDialog(gfx::NativeWindow dialog) = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(SingleWebContentsDialogManagerDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698