Chromium Code Reviews

Unified Diff: chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm

Issue 1699763002: [Reland] Enable AutoResize for Constrained Web Dialogs for Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm
diff --git a/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm b/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm
index aac594676b41a1860f5878a313b871c666b27158..ab67fc6804b9dea5550e579b8a0dac4039b480d0 100644
--- a/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm
+++ b/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.mm
@@ -73,6 +73,10 @@
[customWindow_ setFrameOrigin:origin];
}
+- (void)resizeWithNewSize:(NSSize)size {
+ // NOOP
+}
+
- (NSWindow*)sheetWindow {
return customWindow_;
}

Powered by Google App Engine