destinationState_ = state;
- // Turn on fast resize mode to ensure a smooth web contents animation.
- // TODO(rsesek): This makes the animation jump at the end.
- [[controller_ tabContentArea] setFastResizeMode:YES];
-
animation_.reset([[FullscreenModeDropDownAnimation alloc]
initWithFullscreenModeController:self]);
[animation_ startAnimation];
[animation_ setDelegate:nil];
animation_.reset();
-
- [[controller_ tabContentArea] setFastResizeMode:NO];
}
@end