Index: ios/clean/chrome/browser/ui/presenters/menu_presentation_delegate.h |
diff --git a/ios/clean/chrome/browser/ui/presenters/menu_presentation_delegate.h b/ios/clean/chrome/browser/ui/presenters/menu_presentation_delegate.h |
index da4a3d8b3b31b02b0bcfe5f8996c94d49885799f..65d4ca9689be82add32a8356266727848e1079a6 100644 |
--- a/ios/clean/chrome/browser/ui/presenters/menu_presentation_delegate.h |
+++ b/ios/clean/chrome/browser/ui/presenters/menu_presentation_delegate.h |
@@ -7,12 +7,14 @@ |
#import <Foundation/Foundation.h> |
-// Protocol for an object to assist with menu presentation by providing a |
-// frame for the menu. |
+// Protocol for an object to assist with menu presentation by providing |
+// spatial information for the menu. |
@protocol MenuPresentationDelegate |
-// Return the rect, in the coordinate space of the presenting view controller's |
-// view, that |presentation| should use for the presenting view controller. |
-- (CGRect)frameForMenuPresentation:(UIPresentationController*)presentation; |
+// Return the CGRect in which the Menu presentation will take place. |
lpromero
2017/06/23 15:42:51
Nit: Returns
sczs
2017/06/23 15:52:35
Acknowledged.
|
+- (CGRect)boundsForMenuPresentation; |
+// Return the origin in the coordinate space of the presenting view controller's |
+// view, in which the Menu presentation will present from. |
+- (CGRect)originForMenuPresentation; |
@end |
#endif // IOS_CLEAN_CHROME_BROWSER_UI_PRESENTERS_MENU_PRESENTATION_DELEGATE_H_ |