diff options
Diffstat (limited to 'chrome/browser/cocoa/view_resizer.h')
-rw-r--r-- | chrome/browser/cocoa/view_resizer.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/view_resizer.h b/chrome/browser/cocoa/view_resizer.h index 091222d..209f2e4 100644 --- a/chrome/browser/cocoa/view_resizer.h +++ b/chrome/browser/cocoa/view_resizer.h @@ -16,6 +16,12 @@ // become necessary due to the resize. @protocol ViewResizer <NSObject> - (void)resizeView:(NSView*)view newHeight:(float)height; + +@optional +// Optional method called when an animation is beginning or ending. Resize +// delegates can implement this method if they need to modify their behavior +// while an animation is running. +- (void)setAnimationInProgress:(BOOL)inProgress; @end #endif // CHROME_BROWSER_COCOA_VIEW_RESIZER_H_ |