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 #import "chrome/browser/autofill/autofill_dialog_controller_mac.h" | 5 #import "chrome/browser/autofill/autofill_dialog_controller_mac.h" |
6 #include "chrome/browser/autofill/autofill_dialog.h" | 6 #include "chrome/browser/autofill/autofill_dialog.h" |
7 #include "chrome/browser/prefs/pref_service.h" | |
8 #include "chrome/browser/profiles/profile.h" | 7 #include "chrome/browser/profiles/profile.h" |
9 | 8 |
10 // Mac implementation of |ShowAutoFillDialog| interface defined in | 9 // Mac implementation of |ShowAutoFillDialog| interface defined in |
11 // |chrome/browser/autofill/autofill_dialog.h|. | 10 // |chrome/browser/autofill/autofill_dialog.h|. |
12 void ShowAutoFillDialog(gfx::NativeView parent, | 11 void ShowAutoFillDialog(gfx::NativeView parent, |
13 AutoFillDialogObserver* observer, | 12 AutoFillDialogObserver* observer, |
14 Profile* profile) { | 13 Profile* profile) { |
15 [AutoFillDialogController | 14 [AutoFillDialogController |
16 showAutoFillDialogWithObserver:observer | 15 showAutoFillDialogWithObserver:observer |
17 profile:profile]; | 16 profile:profile]; |
18 } | 17 } |
OLD | NEW |