blob: 619946897685690ea688027f0f04428d61713037 [file] [log] [blame]
// Copyright 2018 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_CHROME_BROWSER_UI_POPUP_MENU_PUBLIC_POPUP_MENU_VIEW_CONTROLLER_DELEGATE_H_
#define IOS_CHROME_BROWSER_UI_POPUP_MENU_PUBLIC_POPUP_MENU_VIEW_CONTROLLER_DELEGATE_H_
@class PopupMenuViewController;
// Delegate for the view controller.
@protocol PopupMenuViewControllerDelegate
// Tells the delegate that user took an action that will result in the dismissal
// of |viewController|. It is the delegate's responsibility to actually dismiss
// |viewController|.
- (void)popupMenuViewControllerWillDismiss:
(PopupMenuViewController*)viewController;
@end
#endif // IOS_CHROME_BROWSER_UI_POPUP_MENU_PUBLIC_POPUP_MENU_VIEW_CONTROLLER_DELEGATE_H_