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

Side by Side Diff: ios/chrome/browser/ui/fancy_ui/tinted_button.h

Issue 2934463002: [iOS] Add experimental new keyboard accessory view. (Closed)
Patch Set: Rebased. Created 3 years, 6 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef IOS_CHROME_BROWSER_UI_FANCY_UI_TINTED_BUTTON_H_
6 #define IOS_CHROME_BROWSER_UI_FANCY_UI_TINTED_BUTTON_H_
7
8 #import <UIKit/UIKit.h>
9
10 // Subclass of UIButton whose tint color changes depending on its state.
11 // If the value is not specified for a state, uses the UIControlStateNormal
12 // value. If the UIControlStateNormal value is not set, defaults to the system's
13 // value.
14 @interface TintedButton : UIButton
15
16 // Sets the tint color of a button to use for the specified state.
17 // Currently only supports |UIControlStateNormal| and
18 // |UIControlStateHighlighted|.
19 - (void)setTintColor:(UIColor*)color forState:(UIControlState)state;
20
21 @end
22
23 #endif // IOS_CHROME_BROWSER_UI_FANCY_UI_TINTED_BUTTON_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/fancy_ui/colored_button.mm ('k') | ios/chrome/browser/ui/fancy_ui/tinted_button.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698