Index: ui/base/ios/cru_context_menu_controller.h |
diff --git a/ui/base/ios/cru_context_menu_controller.h b/ui/base/ios/cru_context_menu_controller.h |
index 66fdf9d86c1b7467adb6dfc1a53900e84345a0d0..cb966fa00cdeb5618a884ed969e6cab36776040f 100644 |
--- a/ui/base/ios/cru_context_menu_controller.h |
+++ b/ui/base/ios/cru_context_menu_controller.h |
@@ -11,8 +11,11 @@ |
// Abstracts displaying context menus for all device form factors, given a |
// CRUContextMenuHolder with the title and action to associate to each menu |
// item. Will show a sheet on the phone and use a popover on a tablet. |
-@interface CRUContextMenuController : NSObject<UIActionSheetDelegate, |
- UIPopoverControllerDelegate> |
+@interface CRUContextMenuController : NSObject |
+ |
+// Whether the context menu is visible. |
+@property(nonatomic, readonly, getter=isVisible) BOOL visible; |
+ |
// Displays a context menu. If on a tablet, |localPoint| is the point in |
// |view|'s coordinates to show the popup. If a phone, |localPoint| is unused |
// since the display is a sheet, but |view| is still used to attach the sheet to |
@@ -22,13 +25,6 @@ |
atPoint:(CGPoint)localPoint |
inView:(UIView*)view; |
-// Returns whether the context menu is visible. |
-- (BOOL)isVisible; |
- |
-@end |
- |
-@interface CRUContextMenuController (UsedForTesting) |
-@property (readonly) UIActionSheet* sheet; |
@end |
#endif // UI_BASE_IOS_CRU_CONTEXT_MENU_CONTROLLER_H_ |