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

Side by Side Diff: ios/chrome/browser/ui/settings/physical_web_collection_view_controller.h

Issue 2587023002: Upstream Chrome on iOS source code [8/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 2016 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_SETTINGS_PHYSICAL_WEB_COLLECTION_VIEW_CONTROLLER_H _
6 #define IOS_CHROME_BROWSER_UI_SETTINGS_PHYSICAL_WEB_COLLECTION_VIEW_CONTROLLER_H _
7
8 #import "ios/chrome/browser/ui/settings/settings_root_collection_view_controller .h"
9
10 #include "components/prefs/pref_service.h"
11
12 // This View Controller is responsible for managing the settings related to
13 // the Physical Web.
14 @interface PhysicalWebCollectionViewController
15 : SettingsRootCollectionViewController
16
17 // The designated initializer.
18 - (instancetype)initWithPrefs:(PrefService*)prefs NS_DESIGNATED_INITIALIZER;
19
20 - (instancetype)init NS_UNAVAILABLE;
21
22 - (instancetype)initWithStyle:(CollectionViewControllerStyle)style
23 NS_UNAVAILABLE;
24
25 // Given the current Physical Web preference state, determine whether the
26 // preference should be rendered as enabled.
27 + (BOOL)shouldEnableForPreferenceState:(int)preferenceState;
28
29 @end
30
31 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_PHYSICAL_WEB_COLLECTION_VIEW_CONTROLLE R_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698