Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Side by Side Diff: chrome/browser/ui/cocoa/autofill/autofill_dialog_constants.h

Issue 23546007: [rAC, OSX] Namespaced constants. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix namespace comment. Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 { 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 // Sizing of notification arrow. 14 // Sizing of notification arrow.
15 const int kArrowHeight = 7; 15 const int kArrowHeight = 7;
16 const int kArrowWidth = 2 * kArrowHeight; 16 const int kArrowWidth = 2 * kArrowHeight;
17 17
18 // Spacing between buttons. 18 // Spacing between buttons.
19 const CGFloat kButtonGap = 6; 19 const CGFloat kButtonGap = 6;
20 20
21 // The space between the edges of a notification bar and the text within (in 21 // The space between the edges of a notification bar and the text within (in
22 // pixels). 22 // pixels).
23 const int kNotificationPadding = 14; 23 const int kNotificationPadding = 14;
24 24
25 // Vertical spacing between legal text and details section. 25 // Vertical spacing between legal text and details section.
26 const int kVerticalSpacing = 8; 26 const int kVerticalSpacing = 8;
27 27
28 // Padding between top bar and details section. 28 // Padding between top bar and details section.
29 const int kDetailTopPadding = 20; 29 const int kDetailTopPadding = 20;
30 30
31 // Padding between the bottom of the details section and the button strip. 31 // Padding between the bottom of the details section and the button strip.
32 const int kDetailBottomPadding = 30; 32 const int kDetailBottomPadding = 30;
33 33
34 } // namespace 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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/autofill/autofill_dialog_cocoa.mm ('k') | chrome/browser/ui/cocoa/autofill/autofill_main_container.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698