| Index: chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.h
|
| diff --git a/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.h b/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.h
|
| index de54a819080f039256f38b71368c7e96dc8a58de..159b33c4735759edeefcd68f75dcf536148792fa 100644
|
| --- a/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.h
|
| +++ b/chrome/browser/ui/cocoa/constrained_window/constrained_window_custom_sheet.h
|
| @@ -15,10 +15,16 @@
|
| @interface CustomConstrainedWindowSheet : NSObject<ConstrainedWindowSheet> {
|
| @protected
|
| base::scoped_nsobject<NSWindow> customWindow_;
|
| + BOOL useSimpleAnimations_;
|
| }
|
|
|
| - (id)initWithCustomWindow:(NSWindow*)customWindow;
|
|
|
| +// Defaults to NO.
|
| +// The standard animation uses private CGS APIs, which can crash the window
|
| +// server. https://crbug.com/515627#c75
|
| +- (void)setUseSimpleAnimations:(BOOL)simpleAnimations;
|
| +
|
| @end
|
|
|
| #endif // CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_CUSTOM_SHEET_H_
|
|
|