blob: a3a29a2d3eed84d006aa74a3d4eab8cda1fd1dda [file] [log] [blame]
// Copyright 2025 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_COMMON_UI_BUTTON_STACK_BUTTON_STACK_CONSUMER_H_
#define IOS_CHROME_COMMON_UI_BUTTON_STACK_BUTTON_STACK_CONSUMER_H_
@class ButtonStackConfiguration;
// Protocol for a consumer of ButtonStack state.
@protocol ButtonStackConsumer
// Updates the loading state of the button stack.
- (void)setLoading:(BOOL)loading;
// Updates the confirmed state of the button stack.
- (void)setConfirmed:(BOOL)confirmed;
// Updates the configuration of the button stack.
- (void)updateConfiguration:(ButtonStackConfiguration*)configuration;
@end
#endif // IOS_CHROME_COMMON_UI_BUTTON_STACK_BUTTON_STACK_CONSUMER_H_