OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 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_AUTOFILL_AUTOFILL_DIALOG_CONSTANTS__H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_CONSTANTS_H_ |
6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_CONSTANTS__H_ | 6 #define CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_CONSTANTS_H_ |
7 | 7 |
8 // Constants governing layout of autofill dialog. | 8 // Constants governing layout of autofill dialog. |
9 namespace autofill { | 9 namespace autofill { |
10 | 10 |
11 // Horizontal padding between text and other elements (in pixels). | 11 // Horizontal padding between text and other elements (in pixels). |
12 const CGFloat kAroundTextPadding = 4; | 12 const CGFloat kAroundTextPadding = 4; |
13 | 13 |
14 // Spacing between buttons. | 14 // Spacing between buttons. |
15 const CGFloat kButtonGap = 6; | 15 const CGFloat kButtonGap = 6; |
16 | 16 |
17 // The space between the edges of a notification bar and the text within (in | 17 // The space between the edges of a notification bar and the text within (in |
18 // pixels). | 18 // pixels). |
19 const int kNotificationPadding = 17; | 19 const int kNotificationPadding = 17; |
20 | 20 |
21 // Vertical spacing between legal text and details section. | 21 // Vertical spacing between legal text and details section. |
22 const int kVerticalSpacing = 8; | 22 const int kVerticalSpacing = 8; |
23 | 23 |
24 // Padding between top bar and details section, as well as between the bottom of | 24 // Padding between top bar and details section, as well as between the bottom of |
25 // the details section and the button strip. | 25 // the details section and the button strip. |
26 const int kDetailVerticalPadding = 10; | 26 const int kDetailVerticalPadding = 10; |
27 | 27 |
28 // Fixed width for a single input field. | 28 // Fixed width for a single input field. |
29 const CGFloat kFieldWidth = 104; | 29 const CGFloat kFieldWidth = 104; |
30 | 30 |
31 // Horizontal padding between fields | 31 // Horizontal padding between fields |
32 const CGFloat kHorizontalFieldPadding = 8; | 32 const CGFloat kHorizontalFieldPadding = 8; |
33 | 33 |
34 } // autofill | 34 } // autofill |
35 | 35 |
36 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_CONSTANTS__H_ | 36 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_CONSTANTS_H_ |
OLD | NEW |