OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/views/autofill_profiles_view_win.h" | 5 #include "chrome/browser/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 "app/l10n_util.h" | 10 #include "app/l10n_util.h" |
11 #include "app/resource_bundle.h" | 11 #include "app/resource_bundle.h" |
12 #include "base/message_loop.h" | 12 #include "base/message_loop.h" |
13 #include "base/string16.h" | 13 #include "base/string16.h" |
14 #include "base/string_number_conversions.h" | 14 #include "base/string_number_conversions.h" |
15 #include "base/time.h" | 15 #include "base/time.h" |
16 #include "base/utf_string_conversions.h" | 16 #include "base/utf_string_conversions.h" |
17 #include "chrome/browser/autofill/autofill_manager.h" | 17 #include "chrome/browser/autofill/autofill_manager.h" |
18 #include "chrome/browser/autofill/phone_number.h" | 18 #include "chrome/browser/autofill/phone_number.h" |
19 #include "chrome/browser/browser.h" | 19 #include "chrome/browser/browser.h" |
20 #include "chrome/browser/browser_list.h" | 20 #include "chrome/browser/browser_list.h" |
21 #include "chrome/browser/browser_window.h" | 21 #include "chrome/browser/browser_window.h" |
22 #include "chrome/browser/metrics/user_metrics.h" | 22 #include "chrome/browser/metrics/user_metrics.h" |
23 #include "chrome/browser/pref_service.h" | 23 #include "chrome/browser/prefs/pref_service.h" |
24 #include "chrome/browser/profile.h" | 24 #include "chrome/browser/profile.h" |
25 #include "chrome/browser/views/list_background.h" | 25 #include "chrome/browser/views/list_background.h" |
26 #include "chrome/browser/window_sizer.h" | 26 #include "chrome/browser/window_sizer.h" |
27 #include "chrome/common/notification_details.h" | 27 #include "chrome/common/notification_details.h" |
28 #include "chrome/common/pref_names.h" | 28 #include "chrome/common/pref_names.h" |
29 #include "gfx/canvas.h" | 29 #include "gfx/canvas.h" |
30 #include "gfx/native_theme_win.h" | 30 #include "gfx/native_theme_win.h" |
31 #include "gfx/size.h" | 31 #include "gfx/size.h" |
32 #include "grit/app_resources.h" | 32 #include "grit/app_resources.h" |
33 #include "grit/generated_resources.h" | 33 #include "grit/generated_resources.h" |
(...skipping 1362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1396 AutoFillDialogObserver* observer, | 1396 AutoFillDialogObserver* observer, |
1397 Profile* profile) { | 1397 Profile* profile) { |
1398 DCHECK(profile); | 1398 DCHECK(profile); |
1399 | 1399 |
1400 PersonalDataManager* personal_data_manager = | 1400 PersonalDataManager* personal_data_manager = |
1401 profile->GetPersonalDataManager(); | 1401 profile->GetPersonalDataManager(); |
1402 DCHECK(personal_data_manager); | 1402 DCHECK(personal_data_manager); |
1403 AutoFillProfilesView::Show(parent, observer, personal_data_manager, profile, | 1403 AutoFillProfilesView::Show(parent, observer, personal_data_manager, profile, |
1404 profile->GetPrefs(), NULL, NULL); | 1404 profile->GetPrefs(), NULL, NULL); |
1405 } | 1405 } |
OLD | NEW |