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 #include "chrome/browser/views/autofill_profiles_view_win.h" | 4 #include "chrome/browser/views/autofill_profiles_view_win.h" |
5 | 5 |
6 #include <vsstyle.h> | 6 #include <vsstyle.h> |
7 #include <vssym32.h> | 7 #include <vssym32.h> |
8 | 8 |
9 #include "app/gfx/canvas.h" | 9 #include "app/gfx/canvas.h" |
10 #include "app/gfx/native_theme_win.h" | 10 #include "app/gfx/native_theme_win.h" |
(...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1117 gfx::NativeTheme::LIST); | 1117 gfx::NativeTheme::LIST); |
1118 border.set_width(border.width() + kPanelHorizMargin); | 1118 border.set_width(border.width() + kPanelHorizMargin); |
1119 lb.Inset(border.width(), border.height()); | 1119 lb.Inset(border.width(), border.height()); |
1120 scroll_view_->SetBounds(lb); | 1120 scroll_view_->SetBounds(lb); |
1121 scroll_view_->Layout(); | 1121 scroll_view_->Layout(); |
1122 } | 1122 } |
1123 | 1123 |
1124 // Declared in "chrome/browser/autofill/autofill_dialog.h" | 1124 // Declared in "chrome/browser/autofill/autofill_dialog.h" |
1125 void ShowAutoFillDialog(AutoFillDialogObserver* observer, | 1125 void ShowAutoFillDialog(AutoFillDialogObserver* observer, |
1126 const std::vector<AutoFillProfile*>& profiles, | 1126 const std::vector<AutoFillProfile*>& profiles, |
1127 const std::vector<CreditCard*>& credit_cards) { | 1127 const std::vector<CreditCard*>& credit_cards, |
| 1128 Profile* profile) { |
1128 AutoFillProfilesView::Show(observer, profiles, credit_cards); | 1129 AutoFillProfilesView::Show(observer, profiles, credit_cards); |
1129 } | 1130 } |
1130 | 1131 |
OLD | NEW |