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_HISTORY_TAB_HISTORY_POPUP_CONTROLLER_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_HISTORY_TAB_HISTORY_POPUP_CONTROLLER_H_ |
| 7 |
| 8 #import "ios/chrome/browser/ui/popup_menu/popup_menu_controller.h" |
| 9 |
| 10 @class TabHistoryViewController; |
| 11 |
| 12 // The view controller for the tab history menu that appears when the user long |
| 13 // presses the back or forward button. |
| 14 @interface TabHistoryPopupController : PopupMenuController |
| 15 |
| 16 // Initializes the popup to display |entries| with the given |origin| that is |
| 17 // relevant to the |parent|'s coordinate system. |
| 18 // |entries| is an array of CRWSessionEntries. |
| 19 // TODO(crbug.com/546355): Convert this class to use an array of |
| 20 // NavigationEntries |
| 21 - (id)initWithOrigin:(CGPoint)origin |
| 22 parentView:(UIView*)parent |
| 23 entries:(NSArray*)entries; |
| 24 |
| 25 @end |
| 26 |
| 27 #endif // IOS_CHROME_BROWSER_UI_HISTORY_TAB_HISTORY_POPUP_CONTROLLER_H_ |
OLD | NEW |