blob: 085975fb9885ae880771e75e29869e411d8356bf [file] [log] [blame]
// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_WEB_WEB_STATE_CRW_WEB_VIEW_H_
#define IOS_WEB_WEB_STATE_CRW_WEB_VIEW_H_
#import <WebKit/WebKit.h>
#import "ios/web/common/crw_obscured_insets_controller.h"
@protocol CRWEditMenuBuilder;
@protocol CRWInputViewProvider;
@protocol CRWDataControlsDelegate;
// Subclass of WKWebView which supports custom input views.
@interface CRWWebView : WKWebView <CRWObscuredInsetsController>
// Provider for custom input views and their respective view controllers.
@property(nonatomic, weak) id<CRWInputViewProvider> inputViewProvider;
// Customizer for the edit menu.
@property(nonatomic, weak) id<CRWEditMenuBuilder> editMenuBuilder;
// Delegate for controlling clipboard user interactions.
@property(nonatomic, weak) id<CRWDataControlsDelegate> dataControlsDelegate;
@end
#endif // IOS_WEB_WEB_STATE_CRW_WEB_VIEW_H_