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_FIND_BAR_FIND_BAR_TEXT_FIELD_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_TEXT_FIELD_H_ |
| 7 |
| 8 #import <UIKit/UIKit.h> |
| 9 |
| 10 // FindBarTextField is a textfield that provides a space within its editing rect |
| 11 // to show an overlay. This space is in the trailing side of the editing rect. |
| 12 // It is used in Find Bar to show "X of Y" results count overlay next to the |
| 13 // search term. |
| 14 @interface FindBarTextField : UITextField |
| 15 |
| 16 @property(nonatomic, readwrite) CGFloat overlayWidth; |
| 17 |
| 18 @end |
| 19 |
| 20 #endif // IOS_CHROME_BROWSER_UI_FIND_BAR_FIND_BAR_TEXT_FIELD_H_ |
OLD | NEW |