Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(434)

Side by Side Diff: ios/chrome/browser/ui/history/tab_history_popup_controller.h

Issue 2693013005: Updated tab history classes to use NavigationItemLists. (Closed)
Patch Set: update DEPS, include url_formatter in BUILD.gn Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_UI_HISTORY_TAB_HISTORY_POPUP_CONTROLLER_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_HISTORY_TAB_HISTORY_POPUP_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_HISTORY_TAB_HISTORY_POPUP_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_UI_HISTORY_TAB_HISTORY_POPUP_CONTROLLER_H_
7 7
8 #import "ios/chrome/browser/ui/popup_menu/popup_menu_controller.h" 8 #import "ios/chrome/browser/ui/popup_menu/popup_menu_controller.h"
9 9
10 @class TabHistoryViewController; 10 #include "ios/web/public/navigation_item_list.h"
11 11
12 // The view controller for the tab history menu that appears when the user long 12 // The view controller for the tab history menu that appears when the user long
13 // presses the back or forward button. 13 // presses the back or forward button.
14 @interface TabHistoryPopupController : PopupMenuController 14 @interface TabHistoryPopupController : PopupMenuController
15 15
16 // Initializes the popup to display |entries| with the given |origin| that is 16 // Initializes the popup to display |items| with the given |origin| that is
17 // relevant to the |parent|'s coordinate system. 17 // relevant to the |parent|'s coordinate system.
18 // |entries| is an array of CRWSessionEntries. 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 19 - (id)initWithOrigin:(CGPoint)origin
22 parentView:(UIView*)parent 20 parentView:(UIView*)parent
23 entries:(NSArray*)entries; 21 items:(const web::NavigationItemList&)items
22 NS_DESIGNATED_INITIALIZER;
24 23
25 @end 24 @end
26 25
27 #endif // IOS_CHROME_BROWSER_UI_HISTORY_TAB_HISTORY_POPUP_CONTROLLER_H_ 26 #endif // IOS_CHROME_BROWSER_UI_HISTORY_TAB_HISTORY_POPUP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/history/tab_history_cell.mm ('k') | ios/chrome/browser/ui/history/tab_history_popup_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698