blob: 951435d39c6b7baa6709ea79afb582aa626bc9e2 [file] [log] [blame]
// Copyright 2012 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_POPUP_MENU_VIEW_H_
#define IOS_CHROME_BROWSER_UI_POPUP_MENU_POPUP_MENU_VIEW_H_
#import <UIKit/UIKit.h>
// A protocol required by delegates of the PopupMenuController.
@protocol PopupMenuViewDelegate
// Instructs the delegate the popup menu view is done and should be
// dismissed.
- (void)dismissPopupMenu;
@end
@interface PopupMenuView : UIView
@property(nonatomic, assign) id<PopupMenuViewDelegate> delegate;
@end
#endif // IOS_CHROME_BROWSER_UI_POPUP_MENU_POPUP_MENU_VIEW_H_