RemoteLayerTreeViews.h [plain text]
#if PLATFORM(IOS_FAMILY)
#import "UIKitSPI.h"
#import <WebCore/GraphicsLayer.h>
namespace WebKit {
class RemoteLayerTreeHost;
class WebPageProxy;
}
@protocol WKNativelyInteractible <NSObject>
@end
@protocol WKContentControlled <NSObject>
@end
@interface WKCompositingView : UIView <WKContentControlled>
@end
@interface WKTransformView : WKCompositingView
@end
@interface WKSimpleBackdropView : WKCompositingView
@end
@interface WKShapeView : WKCompositingView
@end
@interface WKRemoteView : WKCompositingView
- (instancetype)initWithFrame:(CGRect)frame contextID:(uint32_t)contextID;
@end
@interface WKUIRemoteView : _UIRemoteView <WKContentControlled>
@end
@interface WKBackdropView : _UIBackdropView <WKContentControlled>
@end
@interface WKChildScrollView : UIScrollView <WKContentControlled>
@end
namespace WebKit {
OptionSet<WebCore::TouchAction> touchActionsForPoint(UIView *rootView, const WebCore::IntPoint&);
UIScrollView *findActingScrollParent(UIScrollView *, const RemoteLayerTreeHost&);
OptionSet<WebCore::EventListenerRegionType> eventListenerTypesAtPoint(UIView *rootView, const WebCore::IntPoint&);
#if ENABLE(EDITABLE_REGION)
bool mayContainEditableElementsInRect(UIView *rootView, const WebCore::FloatRect&);
#endif
}
#endif // PLATFORM(IOS_FAMILY)