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

Side by Side Diff: ios/clean/chrome/browser/ui/presenters/menu_presentation_delegate.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 2016 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_PRESENTERS_MENU_PRESENTATION_DELEGATE_H_
6 #define IOS_CLEAN_CHROME_BROWSER_UI_PRESENTERS_MENU_PRESENTATION_DELEGATE_H_
7
8 #import <Foundation/Foundation.h>
9
10 // Protocol for an object to assist with menu presentation by providing
11 // spatial information for the menu.
12 @protocol MenuPresentationDelegate
13 // Return the CGRect in which the Menu presentation will take place.
14 - (CGRect)boundsForMenuPresentation;
15 // Return the origin in the coordinate space of the presenting view controller's
16 // view, in which the Menu presentation will present from.
17 - (CGRect)originForMenuPresentation;
18 @end
19
20 #endif // IOS_CLEAN_CHROME_BROWSER_UI_PRESENTERS_MENU_PRESENTATION_DELEGATE_H_
OLDNEW
« no previous file with comments | « ios/clean/chrome/browser/ui/presenters/menu_presentation_controller.mm ('k') | ios/clean/chrome/browser/ui/root/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698