chromium/ios/chrome/browser/ui/settings/settings_root_view_controlling.h

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_ROOT_VIEW_CONTROLLING_H_
#define IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_ROOT_VIEW_CONTROLLING_H_

#import <Foundation/Foundation.h>

@protocol ApplicationCommands;
@protocol SettingsCommands;
@protocol BrowserCommands;
@protocol SnackbarCommands;

// Protocol allowing the dispatcher to be passed to the settings ViewController.
@protocol SettingsRootViewControlling

@property(nonatomic, weak) id<ApplicationCommands> applicationHandler;

// BrowserCommands handler.
@property(nonatomic, weak) id<BrowserCommands> browserHandler;

// SettingsCommands handler.
@property(nonatomic, weak) id<SettingsCommands> settingsHandler;

// SettingsCommands handler.
@property(nonatomic, weak) id<SnackbarCommands> snackbarHandler;

@end

#endif  // IOS_CHROME_BROWSER_UI_SETTINGS_SETTINGS_ROOT_VIEW_CONTROLLING_H_