OLD | NEW |
(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_TAB_SWITCHER_TAB_SWITCHER_BUTTON_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_SWITCHER_BUTTON_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 // This class is a UIButton with an inkview. |
| 11 // Replaces MDCButton, because MDCButton does a lot of blending, which is a |
| 12 // problem in the tab switcher where almost the entire screen can be filled |
| 13 // by buttons. |
| 14 @interface TabSwitcherButton : UIButton |
| 15 |
| 16 // Resets the state of the button, in particular the inkview state. |
| 17 - (void)resetState; |
| 18 |
| 19 @end |
| 20 |
| 21 #endif // IOS_CHROME_BROWSER_UI_TAB_SWITCHER_TAB_SWITCHER_BUTTON_H_ |
OLD | NEW |