| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_UI_COCOA_TEST_STYLED_TEXT_FIELD_TEST_HELPER_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_TEST_STYLED_TEXT_FIELD_TEST_HELPER_H_ |
| 7 |
| 5 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
| 6 #import "chrome/browser/ui/cocoa/styled_text_field_cell.h" | 9 #import "chrome/browser/ui/cocoa/styled_text_field_cell.h" |
| 7 | 10 |
| 8 // Subclass of StyledTextFieldCell that allows you to slice off sections on the | 11 // Subclass of StyledTextFieldCell that allows you to slice off sections on the |
| 9 // left and right of the cell. | 12 // left and right of the cell. |
| 10 @interface StyledTextFieldTestCell : StyledTextFieldCell { | 13 @interface StyledTextFieldTestCell : StyledTextFieldCell { |
| 11 CGFloat leftMargin_; | 14 CGFloat leftMargin_; |
| 12 CGFloat rightMargin_; | 15 CGFloat rightMargin_; |
| 13 } | 16 } |
| 14 @property(nonatomic, assign) CGFloat leftMargin; | 17 @property(nonatomic, assign) CGFloat leftMargin; |
| 15 @property(nonatomic, assign) CGFloat rightMargin; | 18 @property(nonatomic, assign) CGFloat rightMargin; |
| 16 @end | 19 @end |
| 20 |
| 21 #endif // CHROME_BROWSER_UI_COCOA_TEST_STYLED_TEXT_FIELD_TEST_HELPER_H_ |
| OLD | NEW |