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

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: Change to CrOS only. 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..66057ac1347480f5f4b62e3f97e2b05fe2fdc0fb 100644
--- a/components/web_modal/single_web_contents_dialog_manager.h
+++ b/components/web_modal/single_web_contents_dialog_manager.h
@@ -29,6 +29,10 @@ class SingleWebContentsDialogManagerDelegate {
// manager will be deleted before the end of this call.
virtual void WillClose(gfx::NativeWindow dialog) = 0;
+ // Check if the dialog should have a non clipped display (bounds not
Mike Wittman 2016/08/12 22:51:34 Comments should be descriptive, rather than impera
rbpotter 2016/08/15 18:03:45 Done.
+ // constrained to modal parent).
+ virtual bool IsNonClipped(gfx::NativeWindow dialog) = 0;
Mike Wittman 2016/08/12 22:51:34 This function probably should be const.
rbpotter 2016/08/15 18:03:45 Done.
+
private:
DISALLOW_COPY_AND_ASSIGN(SingleWebContentsDialogManagerDelegate);
};

Powered by Google App Engine
This is Rietveld 408576698