[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / styled_text_field_test_helper.h
blob8ece57240ec85353a07227c45f69f61fa2239af3
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.
5 #import <Cocoa/Cocoa.h>
6 #import "chrome/browser/ui/cocoa/styled_text_field_cell.h"
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_;
14 @property(nonatomic, assign) CGFloat leftMargin;
15 @property(nonatomic, assign) CGFloat rightMargin;
16 @end