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