Unreviewed, rolling out r220288.
[WebKit-https.git] / Source / WebKit / UIProcess / ios / forms / WKAirPlayRoutePicker.h
index 4f02fe1069bbfa0efb930078b0435f04d835d027..1795a1657ba2c7fbf3639aa14a6a0a2f5ca4b1ab 100644 (file)
 
 #if PLATFORM(IOS)
 
 
 #if PLATFORM(IOS)
 
-#import <Foundation/Foundation.h>
+#import <UIKit/UIPopoverController.h>
 
 @class WKContentView;
 
 
 @class WKContentView;
 
-@interface WKAirPlayRoutePicker : NSObject
-- (void)showFromView:(WKContentView *)view;
+@interface WKAirPlayRoutePicker : UIView <UIPopoverControllerDelegate>
+- (instancetype)initWithView:(WKContentView *)view;
+- (void)show:(BOOL)hasVideo fromRect:(CGRect)elementRect;
 @end
 
 #endif // PLATFORM(IOS)
 @end
 
 #endif // PLATFORM(IOS)