OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/browser/ui/views/autofill_profiles_view_win.h" | 5 #include "chrome/browser/ui/views/autofill_profiles_view_win.h" |
6 | 6 |
7 #include <vsstyle.h> | 7 #include <vsstyle.h> |
8 #include <vssym32.h> | 8 #include <vssym32.h> |
9 | 9 |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 #include "views/border.h" | 37 #include "views/border.h" |
38 #include "views/controls/button/image_button.h" | 38 #include "views/controls/button/image_button.h" |
39 #include "views/controls/button/native_button.h" | 39 #include "views/controls/button/native_button.h" |
40 #include "views/controls/button/radio_button.h" | 40 #include "views/controls/button/radio_button.h" |
41 #include "views/controls/button/text_button.h" | 41 #include "views/controls/button/text_button.h" |
42 #include "views/controls/label.h" | 42 #include "views/controls/label.h" |
43 #include "views/controls/scroll_view.h" | 43 #include "views/controls/scroll_view.h" |
44 #include "views/controls/separator.h" | 44 #include "views/controls/separator.h" |
45 #include "views/controls/table/table_view.h" | 45 #include "views/controls/table/table_view.h" |
46 #include "views/grid_layout.h" | 46 #include "views/grid_layout.h" |
47 #include "views/standard_layout.h" | 47 #include "views/layout/layout_constants.h" |
48 #include "views/window/window.h" | 48 #include "views/window/window.h" |
49 | 49 |
50 namespace { | 50 namespace { |
51 | 51 |
52 // padding on the sides of AutoFill settings dialog. | 52 // padding on the sides of AutoFill settings dialog. |
53 const int kDialogPadding = 7; | 53 const int kDialogPadding = 7; |
54 | 54 |
55 // Insets for subview controls. | 55 // Insets for subview controls. |
56 const int kSubViewHorizotalInsets = 18; | 56 const int kSubViewHorizotalInsets = 18; |
57 const int kSubViewVerticalInsets = 5; | 57 const int kSubViewVerticalInsets = 5; |
(...skipping 1256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1314 AutoFillDialogObserver* observer, | 1314 AutoFillDialogObserver* observer, |
1315 Profile* profile) { | 1315 Profile* profile) { |
1316 DCHECK(profile); | 1316 DCHECK(profile); |
1317 | 1317 |
1318 PersonalDataManager* personal_data_manager = | 1318 PersonalDataManager* personal_data_manager = |
1319 profile->GetPersonalDataManager(); | 1319 profile->GetPersonalDataManager(); |
1320 DCHECK(personal_data_manager); | 1320 DCHECK(personal_data_manager); |
1321 AutoFillProfilesView::Show(parent, observer, personal_data_manager, profile, | 1321 AutoFillProfilesView::Show(parent, observer, personal_data_manager, profile, |
1322 profile->GetPrefs(), NULL, NULL); | 1322 profile->GetPrefs(), NULL, NULL); |
1323 } | 1323 } |
OLD | NEW |