| OLD | NEW |
| (Empty) |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_MENU_TRANSITION_CONTROLLER_H_ | |
| 6 #define IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_MENU_TRANSITION_CONTROLLER_H_ | |
| 7 | |
| 8 #import "ios/clean/chrome/browser/ui/animators/zoom_transition_controller.h" | |
| 9 | |
| 10 @protocol ToolsMenuCommands; | |
| 11 | |
| 12 // Transition delegate object for the ToolsMenuVC which inherits from | |
| 13 // ZoomTransitionController. It conforms to the | |
| 14 // UIViewControllerTransitioningDelegate protocol and provides the ToolsMenuVC | |
| 15 // with MenuPresentationController as a UIPresentationController. This object | |
| 16 // drives the animation and frame of the presented ToolsMenuVC. | |
| 17 @interface ToolsMenuTransitionController : ZoomTransitionController | |
| 18 | |
| 19 // A dispatcher is needed in order to close the presented ToolsMenuVC. | |
| 20 - (instancetype)initWithDispatcher:(id<ToolsMenuCommands>)dispatcher; | |
| 21 - (instancetype)init NS_UNAVAILABLE; | |
| 22 | |
| 23 @end | |
| 24 | |
| 25 #endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_MENU_TRANSITION_CONTROLLER_H_ | |
| OLD | NEW |