chromium/ios/chrome/browser/find_in_page/model/find_in_page_response_delegate.h

// Copyright 2019 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_CHROME_BROWSER_FIND_IN_PAGE_MODEL_FIND_IN_PAGE_RESPONSE_DELEGATE_H_
#define IOS_CHROME_BROWSER_FIND_IN_PAGE_MODEL_FIND_IN_PAGE_RESPONSE_DELEGATE_H_

@class FindInPageModel;

// Delegate class to relay responses of JavaScriptFindInPageController calls to
// BrowserViewController.
@protocol FindInPageResponseDelegate
@optional
// Called once a Find action finishes.
- (void)findDidFinishWithUpdatedModel:(FindInPageModel*)model;
// Called once Find in Page is properly disabled.
- (void)findDidStop;
@end

#endif  // IOS_CHROME_BROWSER_FIND_IN_PAGE_MODEL_FIND_IN_PAGE_RESPONSE_DELEGATE_H_