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

Side by Side Diff: ios/chrome/browser/ui/ntp/incognito_panel_controller.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_INCOGNITO_PANEL_CONTROLLER_H_
6 #define IOS_CHROME_BROWSER_UI_NTP_INCOGNITO_PANEL_CONTROLLER_H_
7
8 #import <UIKit/UIKit.h>
9
10 #import "ios/chrome/browser/ui/ntp/new_tab_page_panel_protocol.h"
11
12 namespace ios {
13 class ChromeBrowserState;
14 }
15
16 @protocol UrlLoader;
17 @protocol WebToolbarDelegate;
18
19 @interface IncognitoPanelController : NSObject<NewTabPagePanelProtocol>
20
21 // The view that is displaying the incognito* panel.
22 @property(nonatomic, readonly) UIView* view;
23
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.
26 // |webToolbarDelegate| is used to fade the toolbar views on page scroll.
27 - (id)initWithLoader:(id<UrlLoader>)loader
28 browserState:(ios::ChromeBrowserState*)browserState
29 webToolbarDelegate:(id<WebToolbarDelegate>)webToolbarDelegate;
30
31 @end
32
33 #endif // IOS_CHROME_BROWSER_UI_NTP_INCOGNITO_PANEL_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698