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

Side by Side Diff: ios/chrome/browser/ui/settings/settings_coordinator.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 // ====== New Architecture =====
6 // = This code is only used in the new iOS Chrome architecture. =
7 // ============================================================================
8
9 #ifndef IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COORDINATOR_H_
10 #define IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COORDINATOR_H_
11
12 #import <UIKit/UIKit.h>
13
14 #import "ios/chrome/browser/browser_coordinator.h"
15
16 // Action delegate protocol for coordinators to handle changes to the
17 // Settings UI.
18 @protocol SettingsActionDelegate<NSObject>
19 // Close the settings UI.
20 - (void)closeSettings;
21 @end
22
23 // A coordinator for the Settings UI, which is usually presented modally
24 // on top of whatever other UI is currently active.
25 @interface SettingsCoordinator : BrowserCoordinator
26 // Action delegate for this coordinator.
27 @property(nonatomic, weak) id<SettingsActionDelegate> actionDelegate;
28 @end
29
30 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COORDINATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698