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

Unified Diff: chrome/browser/ui/views/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: 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: chrome/browser/ui/views/native_web_contents_modal_dialog_manager_views.h
diff --git a/chrome/browser/ui/views/native_web_contents_modal_dialog_manager_views.h b/chrome/browser/ui/views/native_web_contents_modal_dialog_manager_views.h
index 21b2b9b3bf31f661d43accca3ac819642146bcde..356004d97c8be8fd6d9a448b6033aea956cd7a64 100644
--- a/chrome/browser/ui/views/native_web_contents_modal_dialog_manager_views.h
+++ b/chrome/browser/ui/views/native_web_contents_modal_dialog_manager_views.h
@@ -25,13 +25,16 @@ class NativeWebContentsModalDialogManagerViews
public:
NativeWebContentsModalDialogManagerViews(
gfx::NativeWindow dialog,
- web_modal::SingleWebContentsDialogManagerDelegate* native_delegate);
+ web_modal::SingleWebContentsDialogManagerDelegate* native_delegate,
+ bool* independent_bounds,
+ const char* kHasIndependentBoundsKey);
~NativeWebContentsModalDialogManagerViews() override;
// Sets up this object to manage the |dialog_|. Registers for closing events
// in order to notify the delegate.
- void ManageDialog();
+ void ManageDialog(bool* independent_bounds,
+ const char * kHasIndependentBoundsKey);
// web_modal::SingleWebContentsDialogManager:
void Show() override;

Powered by Google App Engine
This is Rietveld 408576698