Home | History | Annotate | Download | only in cocoa
      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
      3 // found in the LICENSE file.
      4 
      5 #import <Cocoa/Cocoa.h>
      6 #import "chrome/browser/ui/cocoa/styled_text_field_cell.h"
      7 
      8 // Subclass of StyledTextFieldCell that allows you to slice off sections on the
      9 // left and right of the cell.
     10 @interface StyledTextFieldTestCell : StyledTextFieldCell {
     11   CGFloat leftMargin_;
     12   CGFloat rightMargin_;
     13 }
     14 @property(nonatomic, assign) CGFloat leftMargin;
     15 @property(nonatomic, assign) CGFloat rightMargin;
     16 @end
     17