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

Side by Side Diff: ios/chrome/browser/ui/ntp/new_tab_page_bar_item.h

Issue 2590473002: Upstream Chrome on iOS source code [5/11]. (Closed)
Patch Set: Created 4 years 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
(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_NTP_NEW_TAB_PAGE_BAR_ITEM_H_
6 #define IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_BAR_ITEM_H_
7
8 #import <Foundation/Foundation.h>
9 #import <UIKit/UIKit.h>
10
11 // Represents an item on the new tab page bar, similar to a UITabBarItem.
12 @interface NewTabPageBarItem : NSObject
13
14 // Convenience method for creating a tab bar choice.
15 + (NewTabPageBarItem*)newTabPageBarItemWithTitle:(NSString*)title
16 identifier:(NSUInteger)identifier
17 image:(UIImage*)imageName
18 NS_RETURNS_NOT_RETAINED;
19
20 @property(nonatomic, copy) NSString* title;
21 @property(nonatomic, assign) NSUInteger identifier;
22 @property(nonatomic, retain) UIImage* image;
23 @property(nonatomic, assign) UIView* view;
24 @end
25
26 #endif // IOS_CHROME_BROWSER_UI_NTP_NEW_TAB_PAGE_BAR_ITEM_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/ntp/new_tab_page_bar_button.mm ('k') | ios/chrome/browser/ui/ntp/new_tab_page_bar_item.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698