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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h

Issue 12207140: re-commit r181807: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
index 4e32facdd053b3f22050fbfd653adc1a0ad878c1..cc6774eb4e91b9d1e0c494330c1e5f027268acf9 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_impl.h
@@ -14,6 +14,7 @@
#include "chrome/browser/autofill/field_types.h"
#include "chrome/browser/autofill/form_structure.h"
#include "chrome/browser/autofill/personal_data_manager.h"
+#include "chrome/browser/autofill/personal_data_manager_observer.h"
#include "chrome/browser/autofill/wallet/required_action.h"
#include "chrome/browser/autofill/wallet/wallet_client.h"
#include "chrome/browser/autofill/wallet/wallet_client_observer.h"
@@ -46,7 +47,8 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
public AutofillPopupDelegate,
public content::NotificationObserver,
public SuggestionsMenuModelDelegate,
- public wallet::WalletClientObserver {
+ public wallet::WalletClientObserver,
+ public PersonalDataManagerObserver {
public:
AutofillDialogControllerImpl(
content::WebContents* contents,
@@ -59,6 +61,10 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
void Show();
void Hide();
+ // Updates the progress bar based on the Autocheckout progress. |value| should
+ // be in [0.0, 1.0].
+ void UpdateProgressBar(double value);
+
// AutofillDialogController implementation.
virtual string16 DialogTitle() const OVERRIDE;
virtual string16 AccountChooserText() const OVERRIDE;
@@ -110,7 +116,7 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
int identifier) OVERRIDE;
virtual void ClearPreviewedForm() OVERRIDE;
- // content::NotificationObserver implementation:
+ // content::NotificationObserver implementation.
virtual void Observe(int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) OVERRIDE;
@@ -140,9 +146,8 @@ class AutofillDialogControllerImpl : public AutofillDialogController,
virtual void OnMalformedResponse() OVERRIDE;
virtual void OnNetworkError(int response_code) OVERRIDE;
- // Updates the progress bar based on the Autocheckout progress. |value| should
- // be in [0.0, 1.0].
- void UpdateProgressBar(double value);
+ // PersonalDataManagerObserver implementation.
+ virtual void OnPersonalDataChanged() OVERRIDE;
private:
// Determines whether |input| and |field| match.
« no previous file with comments | « no previous file | chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698