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

Side by Side Diff: chrome/browser/autofill/autocheckout_manager.h

Issue 11539003: Pop up requestAutocomplete UI when autofill server hints chrome client that it is in a multipage au… (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Refactor autofill_manager to expose GetWebContents(). Created 7 years, 11 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
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_AUTOFILL_AUTOCHECKOUT_MANAGER_H_
6 #define CHROME_BROWSER_AUTOFILL_AUTOCHECKOUT_MANAGER_H_
7
8 #include <string>
9
10 #include "base/memory/weak_ptr.h"
11
12 class AutofillManager;
13 class FormStructure;
14 class GURL;
15
16 struct FormData;
17 struct FormFieldData;
Ilya Sherman 2013/01/18 01:45:02 nit: Not needed.
Raman Kakilate 2013/01/18 04:22:30 Done.
18
19 namespace content {
20 class WebContents;
Ilya Sherman 2013/01/18 01:45:02 nit: Not needed.
Raman Kakilate 2013/01/18 04:22:30 Done.
21 struct SSLStatus;
22 }
23
24 class AutocheckoutManager {
25 public:
26 explicit AutocheckoutManager(AutofillManager* autofill_manager);
27
28 virtual void ShowAutocheckoutDialog(const GURL& frame_url,
29 const content::SSLStatus& ssl_status);
30
31 ~AutocheckoutManager();
Ilya Sherman 2013/01/18 01:45:02 nit: Since this class includes a virtual method, t
Raman Kakilate 2013/01/18 04:22:30 Done.
32
33 private:
34
35 // Callback called from AutofillDialogController on filling up the UI form.
36 void ReturnAutocheckoutData(const FormStructure* result);
37
38 AutofillManager* autofill_manager_;
Ilya Sherman 2013/01/18 01:45:02 nit: Please add the following comment: "// WEAK; o
Raman Kakilate 2013/01/18 04:22:30 Done.
39 base::WeakPtrFactory<AutocheckoutManager> weak_ptr_factory_;
40
41 DISALLOW_COPY_AND_ASSIGN(AutocheckoutManager);
42 };
43
44 #endif // CHROME_BROWSER_AUTOFILL_AUTOCHECKOUT_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698