| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_MATERIAL_ROW_H_ | 5 #ifndef IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_MATERIAL_ROW_H_ |
| 6 #define IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_MATERIAL_ROW_H_ | 6 #define IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_MATERIAL_ROW_H_ |
| 7 | 7 |
| 8 #import <UIKit/UIKit.h> | 8 #import <UIKit/UIKit.h> |
| 9 | 9 |
| 10 @class OmniboxPopupTruncatingLabel; | 10 @class OmniboxPopupTruncatingLabel; |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 @property(nonatomic, readonly, retain) UIButton* appendButton; | 23 @property(nonatomic, readonly, retain) UIButton* appendButton; |
| 24 @property(nonatomic, readonly, retain) UIImageView* physicalWebImageView; | 24 @property(nonatomic, readonly, retain) UIImageView* physicalWebImageView; |
| 25 @property(nonatomic, assign) CGFloat rowHeight; | 25 @property(nonatomic, assign) CGFloat rowHeight; |
| 26 | 26 |
| 27 // Initialize the row with the given incognito state. The colors and styling are | 27 // Initialize the row with the given incognito state. The colors and styling are |
| 28 // dependent on whether or not the row is displayed in incognito mode. | 28 // dependent on whether or not the row is displayed in incognito mode. |
| 29 - (instancetype)initWithIncognito:(BOOL)incognito; | 29 - (instancetype)initWithIncognito:(BOOL)incognito; |
| 30 | 30 |
| 31 // Update the match type icon with the supplied image ID and adjust its position | 31 // Update the match type icon with the supplied image ID and adjust its position |
| 32 // based on the current size of the row. | 32 // based on the current size of the row. |
| 33 - (void)updateLeftImage:(int)imageId; | 33 - (void)updateLeftImage:(int)imageID; |
| 34 | 34 |
| 35 @end | 35 @end |
| 36 | 36 |
| 37 #endif // IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_MATERIAL_ROW_H_ | 37 #endif // IOS_CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_POPUP_MATERIAL_ROW_H_ |
| OLD | NEW |