OLD | NEW |
(Empty) | |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef IOS_CHROME_BROWSER_UI_POPUP_MENU_POPUP_MENU_VIEW_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_POPUP_MENU_POPUP_MENU_VIEW_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 // A protocol required by delegates of the PopupMenuController. |
| 11 @protocol PopupMenuViewDelegate |
| 12 // Instructs the delegate the popup menu view is done and should be |
| 13 // dismissed. |
| 14 - (void)dismissPopupMenu; |
| 15 @end |
| 16 |
| 17 @interface PopupMenuView : UIView |
| 18 @property(nonatomic, assign) id<PopupMenuViewDelegate> delegate; |
| 19 @end |
| 20 |
| 21 #endif // IOS_CHROME_BROWSER_UI_POPUP_MENU_POPUP_MENU_VIEW_H_ |
OLD | NEW |