Check USB device path access when prompting users to select a device.
[chromium-blink-merge.git] / chrome / browser / ui / cocoa / autofill / autofill_dialog_constants.h
blobba5dc8b5e63befac3418b33bdaa8a56cc536d6d0
1 // Copyright (c) 2013 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 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_CONSTANTS__H_
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_CONSTANTS__H_
8 // Constants governing layout of autofill dialog.
9 namespace autofill {
11 // Horizontal padding between text and other elements (in pixels).
12 const CGFloat kAroundTextPadding = 4;
14 // Sizing of notification arrow.
15 const int kArrowHeight = 7;
16 const int kArrowWidth = 2 * kArrowHeight;
18 // Spacing between buttons.
19 const CGFloat kButtonGap = 6;
21 // The space between the edges of a notification bar and the text within (in
22 // pixels).
23 const int kNotificationPadding = 17;
25 // Vertical spacing between legal text and details section.
26 const int kVerticalSpacing = 8;
28 // Padding between top bar and details section, as well as between the bottom of
29 // the details section and the button strip.
30 const int kDetailVerticalPadding = 10;
32 // Fixed width for a single input field.
33 const CGFloat kFieldWidth = 104;
35 // Horizontal padding between fields
36 const CGFloat kHorizontalFieldPadding = 8;
38 } // autofill
40 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_CONSTANTS__H_