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

Side by Side Diff: ios/chrome/browser/ui/tab_switcher/tab_switcher_panel_overlay_view.h

Issue 2588733002: Upstream Chrome on iOS source code [9/11]. (Closed)
Patch Set: Created 3 years, 12 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
(Empty)
1 // Copyright 2015 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_TAB_SWITCHER_TAB_SWITCHER_PANEL_OVERLAY_VIEW_H_
6 #define IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_SWITCHER_PANEL_OVERLAY_VIEW_H_
7
8 #import <UIKit/UIKit.h>
9
10 namespace ios {
11 class ChromeBrowserState;
12 }
13
14 enum class TabSwitcherPanelOverlayType {
15 OVERLAY_PANEL_EMPTY,
16 OVERLAY_PANEL_USER_SIGNED_OUT,
17 OVERLAY_PANEL_USER_SIGNED_IN_SYNC_OFF,
18 OVERLAY_PANEL_USER_SIGNED_IN_SYNC_ON_NO_SESSIONS,
19 OVERLAY_PANEL_USER_SIGNED_IN_SYNC_IN_PROGRESS,
20 OVERLAY_PANEL_USER_NO_OPEN_TABS,
21 OVERLAY_PANEL_USER_NO_INCOGNITO_TABS
22 };
23
24 enum class TabSwitcherSignInPanelsType;
25
26 TabSwitcherPanelOverlayType PanelOverlayTypeFromSignInPanelsType(
27 TabSwitcherSignInPanelsType signInPanelType);
28
29 @interface TabSwitcherPanelOverlayView : UIView
30
31 @property(nonatomic, assign) TabSwitcherPanelOverlayType overlayType;
32
33 - (instancetype)initWithFrame:(CGRect)frame
34 browserState:(ios::ChromeBrowserState*)browserState;
35 @end
36
37 #endif // IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_SWITCHER_PANEL_OVERLAY_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698