blob: 1e1b2a0bb94f2369a30d11104308353f6919a9db [file] [log] [blame]
// Copyright 2017 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.
#import <UIKit/UIKit.h>
// A button that fades opacity on highlight.
@interface HighlightButton : UIButton
// If the button has subviews that are UIVisualEffectViews, fading the opacity
// breaks the visual effect. If this array is non-nil, only the views in this
// array will have their opacities faded. Otherwise, the entire view will fade
// opacity.
@property(nonatomic, strong) NSArray<UIView*>* highlightableViews;