Chromium Code Reviews| Index: ios/clean/chrome/browser/ui/tools/tools_menu_transition_controller.h |
| diff --git a/ios/clean/chrome/browser/ui/tools/tools_menu_transition_controller.h b/ios/clean/chrome/browser/ui/tools/tools_menu_transition_controller.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..c1da071a0c7b796fd2c17de426c2110ba6ee2488 |
| --- /dev/null |
| +++ b/ios/clean/chrome/browser/ui/tools/tools_menu_transition_controller.h |
| @@ -0,0 +1,25 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_MENU_TRANSITION_CONTROLLER_H_ |
| +#define IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_MENU_TRANSITION_CONTROLLER_H_ |
| + |
| +#import "ios/clean/chrome/browser/ui/animators/zoom_transition_controller.h" |
| + |
| +@protocol ToolsMenuCommands; |
| + |
| +// Transition delegate object for the ToolsMenuVC which inherits from |
|
marq (ping after 24h)
2017/06/23 09:18:49
I'd avoid mention of the specific view controller
sczs
2017/06/23 14:50:20
Acknowledged.
|
| +// ZoomTransitionController. It conforms to the |
| +// UIViewControllerTransitioningDelegate protocol and provides the ToolsMenuVC |
| +// with MenuPresentationController as a UIPresentationController. This object |
| +// drives the animation and frame of the presented ToolsMenuVC. |
| +@interface ToolsMenuTransitionController : ZoomTransitionController |
| + |
| +// A dispatcher is needed in order to close the presented ToolsMenuVC. |
| +- (instancetype)initWithDispatcher:(id<ToolsMenuCommands>)dispatcher; |
| +- (instancetype)init NS_UNAVAILABLE; |
| + |
| +@end |
| + |
| +#endif // IOS_CLEAN_CHROME_BROWSER_UI_TOOLS_TOOLS_MENU_TRANSITION_CONTROLLER_H_ |