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

Side by Side Diff: chrome/browser/ui/autofill/autofill_dialog_controller.h

Issue 23033016: Remove autocheckout code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Even more deletes, and Ilya review. Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_
6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ 6 #define CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 #include "chrome/browser/ui/autofill/autofill_dialog_types.h" 13 #include "chrome/browser/ui/autofill/autofill_dialog_types.h"
14 #include "components/autofill/content/browser/autocheckout_steps.h"
15 #include "components/autofill/core/browser/form_structure.h" 14 #include "components/autofill/core/browser/form_structure.h"
16 15
17 class GURL; 16 class GURL;
18 17
19 namespace content { 18 namespace content {
20 class WebContents; 19 class WebContents;
21 } 20 }
22 21
23 namespace user_prefs { 22 namespace user_prefs {
24 class PrefRegistrySyncable; 23 class PrefRegistrySyncable;
(...skipping 21 matching lines...) Expand all
46 // Shows the Autofill dialog. 45 // Shows the Autofill dialog.
47 virtual void Show() = 0; 46 virtual void Show() = 0;
48 47
49 // Hides the Autofill dialog. 48 // Hides the Autofill dialog.
50 virtual void Hide() = 0; 49 virtual void Hide() = 0;
51 50
52 // Called when the tab hosting this dialog is activated by a user gesture. 51 // Called when the tab hosting this dialog is activated by a user gesture.
53 // Used to trigger a refresh of the user's Wallet data. 52 // Used to trigger a refresh of the user's Wallet data.
54 virtual void TabActivated() = 0; 53 virtual void TabActivated() = 0;
55 54
56 // Adds a step in the flow to the Autocheckout UI. 55 // TODO(ramankk): Get rid of DialogType as there is only one DialogType now.
57 virtual void AddAutocheckoutStep(AutocheckoutStepType step_type) = 0;
58
59 // Updates the status of a step in the Autocheckout UI.
60 virtual void UpdateAutocheckoutStep(
61 AutocheckoutStepType step_type,
62 AutocheckoutStepStatus step_status) = 0;
63
64 // Called when there is an error in an active Autocheckout flow.
65 virtual void OnAutocheckoutError() = 0;
66
67 // Called when an Autocheckout flow completes successfully.
68 virtual void OnAutocheckoutSuccess() = 0;
69
70 // Returns the dialog type. 56 // Returns the dialog type.
71 virtual DialogType GetDialogType() const = 0; 57 virtual DialogType GetDialogType() const = 0;
72 }; 58 };
73 59
74 } // namespace autofill 60 } // namespace autofill
75 61
76 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_ 62 #endif // CHROME_BROWSER_UI_AUTOFILL_AUTOFILL_DIALOG_CONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698