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 d75d2f6e3e19b042a77a0cb6bdec2b2d9c0430c2..09ef7eef5d6ed2ff64c6dd4a6790a5d72be72d4e 100644 |
--- a/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.h |
+++ b/chrome/browser/ui/cocoa/extensions/browser_actions_container_view.h |
@@ -46,9 +46,6 @@ class BrowserActionsContainerViewSizeDelegate { |
// drag. |
NSPoint initialDragPoint_; |
- // Used to cache the previous x-pos of the frame rect for resizing purposes. |
- CGFloat lastXPos_; |
- |
// The maximum width the container could want; i.e., the width required to |
// display all the icons. |
CGFloat maxDesiredWidth_; |
@@ -89,15 +86,9 @@ class BrowserActionsContainerViewSizeDelegate { |
// Sets whether or not tracking (for mouseEntered events) is enabled. |
- (void)setTrackingEnabled:(BOOL)enabled; |
-// Resizes the container to the given ideal width, adjusting the |lastXPos_| so |
-// that |resizeDeltaX| is accurate. |
+// Resizes the container to the given ideal width, optionally animating. |
- (void)resizeToWidth:(CGFloat)width animate:(BOOL)animate; |
-// Returns the change in the x-pos of the frame rect during resizing. Meant to |
-// be queried when a NSViewFrameDidChangeNotification is fired to determine |
-// placement of surrounding elements. |
-- (CGFloat)resizeDeltaX; |
- |
// 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; |