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

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

Issue 2779213003: [clean] Use CommandDispatcher to show/close Settings. (Closed)
Patch Set: Fix tests Created 3 years, 8 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 2016 The Chromium Authors. All rights reserved. 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 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_SETTINGS_SETTINGS_COORDINATOR_H_ 5 #ifndef IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COORDINATOR_H_
6 #define IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COORDINATOR_H_ 6 #define IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COORDINATOR_H_
7 7
8 #import <UIKit/UIKit.h> 8 #import <UIKit/UIKit.h>
9 9
10 #import "ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h" 10 #import "ios/shared/chrome/browser/ui/coordinators/browser_coordinator.h"
11 11
12 @protocol SettingsCommands;
13
14 // A coordinator for the Settings UI, which is usually presented modally 12 // A coordinator for the Settings UI, which is usually presented modally
15 // on top of whatever other UI is currently active. 13 // on top of whatever other UI is currently active.
16 @interface SettingsCoordinator : BrowserCoordinator 14 @interface SettingsCoordinator : BrowserCoordinator
17 // Action delegate for this coordinator.
18 @property(nonatomic, weak) id<SettingsCommands> settingsCommandHandler;
19 @end 15 @end
20 16
21 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COORDINATOR_H_ 17 #endif // IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_COORDINATOR_H_
OLDNEW
« no previous file with comments | « ios/clean/chrome/browser/ui/settings/BUILD.gn ('k') | ios/clean/chrome/browser/ui/settings/settings_coordinator.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698