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

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: Various fixes 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..a3e628ff48a82c9f87f53660d06c8f4e356c0c59 100644
--- a/components/web_modal/single_web_contents_dialog_manager.h
+++ b/components/web_modal/single_web_contents_dialog_manager.h
@@ -25,10 +25,14 @@ class SingleWebContentsDialogManagerDelegate {
virtual content::WebContents* GetWebContents() const = 0;
- // Notify the delegate that the dialog is closing. The native
+ // Notifies the delegate that the dialog is closing. The native
// 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 modal parent).
+ virtual bool IsNonClipped(gfx::NativeWindow dialog) const = 0;
+
private:
DISALLOW_COPY_AND_ASSIGN(SingleWebContentsDialogManagerDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698