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

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

Issue 77283002: [rAc OSX] Factor out AutofillHeader class to contain dialog header elements. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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 autofill { 9 namespace autofill {
10 10
(...skipping 14 matching lines...) Expand all
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, as well as between the bottom of 28 // Padding between top bar and details section, as well as between the bottom of
29 // the details section and the button strip. 29 // the details section and the button strip.
30 const int kDetailVerticalPadding = 10; 30 const int kDetailVerticalPadding = 10;
31 31
32 // Fixed width for a single input field. 32 // Fixed width for a single input field.
33 const CGFloat kFieldWidth = 104; 33 const CGFloat kFieldWidth = 104;
34 34
35 // Height of the account chooser.
groby-ooo-7-16 2013/11/20 23:51:44 I'd prefer a not-shared constant...
Ilya Sherman 2013/11/22 05:01:13 Done.
36 const CGFloat kAccountChooserHeight = 20.0;
37
35 } // autofill 38 } // autofill
36 39
37 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_CONSTANTS__H_ 40 #endif // CHROME_BROWSER_UI_COCOA_AUTOFILL_AUTOFILL_DIALOG_CONSTANTS__H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698