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

Side by Side Diff: chrome/browser/autofill/autofill_dialog_mac.mm

Issue 3302015: AutoFill Mac dialog should be non-modal (Closed)
Patch Set: Indent. Created 10 years, 3 months 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
« no previous file with comments | « chrome/browser/autofill/autofill_dialog_controller_mac_unittest.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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" 7 #include "chrome/browser/prefs/pref_service.h"
8 #include "chrome/browser/profile.h" 8 #include "chrome/browser/profile.h"
9 #include "chrome/common/pref_names.h" 9 #include "chrome/common/pref_names.h"
10 10
11 // Mac implementation of |ShowAutoFillDialog| interface defined in 11 // Mac implementation of |ShowAutoFillDialog| interface defined in
12 // |chrome/browser/autofill/autofill_dialog.h|. 12 // |chrome/browser/autofill/autofill_dialog.h|.
13 void ShowAutoFillDialog(gfx::NativeView parent, 13 void ShowAutoFillDialog(gfx::NativeView parent,
14 AutoFillDialogObserver* observer, 14 AutoFillDialogObserver* observer,
15 Profile* profile) { 15 Profile* profile) {
16 // TODO: get rid of imported profile and credit card.
17 [AutoFillDialogController 16 [AutoFillDialogController
18 showAutoFillDialogWithObserver:observer 17 showAutoFillDialogWithObserver:observer
19 profile:profile 18 profile:profile];
20 importedProfile:NULL
21 importedCreditCard:NULL];
22 } 19 }
OLDNEW
« no previous file with comments | « chrome/browser/autofill/autofill_dialog_controller_mac_unittest.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698