| 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 #import "ios/public/provider/chrome/browser/ui/test_infobar_view.h" |
| 6 |
| 7 @implementation TestInfoBarView |
| 8 @synthesize visibleHeight = _visibleHeight; |
| 9 |
| 10 - (NSString*)markedLabel { |
| 11 return @""; |
| 12 } |
| 13 |
| 14 + (NSString*)stringAsLink:(NSString*)str tag:(NSUInteger)tag { |
| 15 return str; |
| 16 } |
| 17 |
| 18 - (void)resetDelegate { |
| 19 } |
| 20 |
| 21 - (void)addCloseButtonWithTag:(NSInteger)tag |
| 22 target:(id)target |
| 23 action:(SEL)action { |
| 24 } |
| 25 |
| 26 - (void)addLeftIcon:(UIImage*)image { |
| 27 } |
| 28 |
| 29 - (void)addPlaceholderTransparentIcon:(CGSize const&)imageSize { |
| 30 } |
| 31 |
| 32 - (void)addLeftIconWithRoundedCornersAndShadow:(UIImage*)image { |
| 33 } |
| 34 |
| 35 - (void)addLabel:(NSString*)label { |
| 36 } |
| 37 |
| 38 - (void)addLabel:(NSString*)label target:(id)target action:(SEL)action { |
| 39 } |
| 40 |
| 41 - (void)addButton1:(NSString*)title1 |
| 42 tag1:(NSInteger)tag1 |
| 43 button2:(NSString*)title2 |
| 44 tag2:(NSInteger)tag2 |
| 45 target:(id)target |
| 46 action:(SEL)action { |
| 47 } |
| 48 |
| 49 - (void)addButton:(NSString*)title |
| 50 tag:(NSInteger)tag |
| 51 target:(id)target |
| 52 action:(SEL)action { |
| 53 } |
| 54 |
| 55 - (void)addSwitchWithLabel:(NSString*)label |
| 56 isOn:(BOOL)isOn |
| 57 tag:(NSInteger)tag |
| 58 target:(id)target |
| 59 action:(SEL)action { |
| 60 } |
| 61 |
| 62 @end |
| OLD | NEW |