blob: 6b86436b136856d1d72620e58bd6eeb2983b1e26 [file] [log] [blame]
// Copyright 2021 The Chromium Authors. All rights reserved.
// 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_INCOGNITO_REAUTH_INCOGNITO_REAUTH_VIEW_LABEL_H_
#define IOS_CHROME_BROWSER_UI_INCOGNITO_REAUTH_INCOGNITO_REAUTH_VIEW_LABEL_H_
#import <UIKit/UIKit.h>
// Protocol for the owner of the label, which will receive the notifications.
@protocol IncognitoReauthViewLabelOwner
// Called when the label layout.
- (void)labelDidLayout;
@end
// Label use to get notifications when it setting its layout.
@interface IncognitoReauthViewLabel : UILabel
// Owner of the label, receiving notifications.
@property(nonatomic, weak) id<IncognitoReauthViewLabelOwner> owner;
@end
#endif // IOS_CHROME_BROWSER_UI_INCOGNITO_REAUTH_INCOGNITO_REAUTH_VIEW_LABEL_H_