Index: chrome/browser/ui/cocoa/extensions/browser_actions_container_view.h |
diff --git a/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.h b/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.h |
index 05caee1b610a1fe906df18f85e2de0270a68a427..c556abf641d30febad69c35f8115c05ba81f7767 100644 |
--- a/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.h |
+++ b/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.h |
@@ -32,10 +32,6 @@ extern NSString* const kTranslationWithDelta; |
// The frame encompasing the grippy used for resizing the container. |
NSRect grippyRect_; |
- // The end frame of the animation currently running for this container or |
- // NSZeroRect if none is in progress. |
- NSRect animationEndFrame_; |
- |
// Used to cache the original position within the container that initiated the |
// drag. |
NSPoint initialDragPoint_; |
@@ -79,7 +75,10 @@ extern NSString* const kTranslationWithDelta; |
// placement of surrounding elements. |
- (CGFloat)resizeDeltaX; |
-@property(nonatomic, readonly) NSRect animationEndFrame; |
+// Returns the frame of the container after the running animation has finished. |
+// If no animation is running, returns the container's current frame. |
+- (NSRect)animationEndFrame; |
+ |
@property(nonatomic) BOOL canDragLeft; |
@property(nonatomic) BOOL canDragRight; |
@property(nonatomic) BOOL grippyPinned; |