Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(88)

Side by Side Diff: ios/clean/chrome/browser/ui/tools/tools_menu_transition_controller.h

Issue 2955033002: [ios clean] Moves animator and presenters under transitions (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698