blob: 12a70bd0ce6fcd35099e01e682d65909a173c9ee [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <UIKit/UIKit.h>
#import <WebKit/WebKit.h>
#import "ios/web/web_state/ui/crw_web_view_handler.h"
@class CRWLegacyContextMenuController;
@protocol CRWWKUIHandlerDelegate;
// Object handling the WKUIDelegate callbacks for the WKWebView.
@interface CRWWKUIHandler : CRWWebViewHandler <WKUIDelegate>
// Delegate for the handler.
@property(nonatomic, weak) id<CRWWKUIHandlerDelegate> delegate;
// TODO( Remove once the new context menus have shipped.
// Context menu controller, to be set when the WebView is created.
@property(nonatomic, strong)
CRWLegacyContextMenuController* contextMenuController;