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

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

Issue 2889963002: [ObjC ARC] Converts ios/chrome/browser/ui/ntp:ntp_internal to ARC.
Patch Set: Moved testing method accessing ivars to a category Created 3 years, 6 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_NTP_INCOGNITO_PANEL_CONTROLLER_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_NTP_INCOGNITO_PANEL_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_NTP_INCOGNITO_PANEL_CONTROLLER_H_ 6 #define IOS_CHROME_BROWSER_UI_NTP_INCOGNITO_PANEL_CONTROLLER_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #import "ios/chrome/browser/ui/ntp/new_tab_page_panel_protocol.h" 10 #import "ios/chrome/browser/ui/ntp/new_tab_page_panel_protocol.h"
11 11
12 namespace ios { 12 namespace ios {
13 class ChromeBrowserState; 13 class ChromeBrowserState;
14 } 14 }
15 15
16 @protocol UrlLoader; 16 @protocol UrlLoader;
17 @protocol WebToolbarDelegate; 17 @protocol WebToolbarDelegate;
18 18
19 @interface IncognitoPanelController : NSObject<NewTabPagePanelProtocol> 19 @interface IncognitoPanelController : NSObject<NewTabPagePanelProtocol>
20 20
21 // The view that is displaying the incognito* panel. 21 // The view that is displaying the incognito* panel.
22 @property(nonatomic, readonly) UIView* view; 22 @property(weak, nonatomic, readonly) UIView* view;
23 23
24 // Init with the given loader object. |loader| may be nil, but isn't 24 // Init with the given loader object. |loader| may be nil, but isn't
25 // retained so it must outlive this controller. |browserState| may not be null. 25 // retained so it must outlive this controller. |browserState| may not be null.
26 // |webToolbarDelegate| is used to fade the toolbar views on page scroll. 26 // |webToolbarDelegate| is used to fade the toolbar views on page scroll.
27 - (id)initWithLoader:(id<UrlLoader>)loader 27 - (id)initWithLoader:(id<UrlLoader>)loader
28 browserState:(ios::ChromeBrowserState*)browserState 28 browserState:(ios::ChromeBrowserState*)browserState
29 webToolbarDelegate:(id<WebToolbarDelegate>)webToolbarDelegate; 29 webToolbarDelegate:(id<WebToolbarDelegate>)webToolbarDelegate;
30 30
31 @end 31 @end
32 32
33 #endif // IOS_CHROME_BROWSER_UI_NTP_INCOGNITO_PANEL_CONTROLLER_H_ 33 #endif // IOS_CHROME_BROWSER_UI_NTP_INCOGNITO_PANEL_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/ntp/google_landing_view_controller.mm ('k') | ios/chrome/browser/ui/ntp/incognito_panel_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698