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

Unified Diff: chrome/browser/ui/cocoa/constrained_window/constrained_window_web_dialog_sheet.h

Issue 1796273004: [Reland] Enable AutoResize for Constrained Web Dialogs for Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 9 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/cocoa/constrained_window/constrained_window_web_dialog_sheet.h
diff --git a/chrome/browser/ui/cocoa/constrained_window/constrained_window_web_dialog_sheet.h b/chrome/browser/ui/cocoa/constrained_window/constrained_window_web_dialog_sheet.h
index 57ba754af0e04215a799bda96a89013492e9b1b6..7c37e234605e85c634567ddb7164eabcce77c2fa 100644
--- a/chrome/browser/ui/cocoa/constrained_window/constrained_window_web_dialog_sheet.h
+++ b/chrome/browser/ui/cocoa/constrained_window/constrained_window_web_dialog_sheet.h
@@ -14,6 +14,7 @@ class WebDialogDelegate;
// Represents a custom sheet for web dialog.
@interface WebDialogConstrainedWindowSheet : CustomConstrainedWindowSheet {
@private
+ NSSize current_size_;
ui::WebDialogDelegate* web_dialog_delegate_; // Weak.
}

Powered by Google App Engine
This is Rietveld 408576698