blob: 297d9b8e68bb54c44f6b505d2930e3b20ec44993 [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.
#ifndef IOS_WEB_WEB_STATE_UI_CRW_WEB_VIEW_HANDLER_H_
#define IOS_WEB_WEB_STATE_UI_CRW_WEB_VIEW_HANDLER_H_
#import <Foundation/Foundation.h>
// Handler for the WebView. This class is mostly used to be inherited.
@interface CRWWebViewHandler : NSObject
// Whether the handler is being closed.
@property(nonatomic, assign, getter=isBeingDestroyed, readonly)
BOOL beingDestroyed;
// Closes the handler.
- (void)close NS_REQUIRES_SUPER;
@end
#endif // IOS_WEB_WEB_STATE_UI_CRW_WEB_VIEW_HANDLER_H_