| Index: chrome/browser/ui/autofill/autofill_dialog_types.h
|
| diff --git a/chrome/browser/ui/autofill/autofill_dialog_types.h b/chrome/browser/ui/autofill/autofill_dialog_types.h
|
| index 9b48b0a489ae1549da5fe9a148f555fa95fc0366..6ac2c714bab8801b8a4df3ca94b7cd13586ee37d 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_types.h
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_types.h
|
| @@ -82,8 +82,6 @@ class DialogNotification {
|
| public:
|
| enum Type {
|
| NONE,
|
| - AUTOCHECKOUT_ERROR,
|
| - AUTOCHECKOUT_SUCCESS,
|
| DEVELOPER_WARNING,
|
| EXPLANATORY_MESSAGE,
|
| REQUIRED_ACTION,
|
| @@ -140,35 +138,6 @@ class DialogNotification {
|
| bool interactive_;
|
| };
|
|
|
| -// A notification to show in the autofill dialog. Ranges from information to
|
| -// seriously scary security messages, and will give you the color it should be
|
| -// displayed (if you ask it).
|
| -class DialogAutocheckoutStep {
|
| - public:
|
| - DialogAutocheckoutStep(AutocheckoutStepType type,
|
| - AutocheckoutStepStatus status);
|
| -
|
| - // Returns the appropriate color for the display text based on |status_|.
|
| - SkColor GetTextColor() const;
|
| -
|
| - // Returns the appropriate font for the display text based on |status_|.
|
| - gfx::Font GetTextFont() const;
|
| -
|
| - // Returns whether the icon for the view should be visable based on |status_|.
|
| - bool IsIconVisible() const;
|
| -
|
| - // Returns the display text based on |type_| and |status_|.
|
| - string16 GetDisplayText() const;
|
| -
|
| - AutocheckoutStepStatus status() { return status_; }
|
| -
|
| - AutocheckoutStepType type() { return type_; }
|
| -
|
| - private:
|
| - AutocheckoutStepType type_;
|
| - AutocheckoutStepStatus status_;
|
| -};
|
| -
|
| extern SkColor const kWarningColor;
|
|
|
| enum DialogSignedInState {
|
| @@ -179,14 +148,6 @@ enum DialogSignedInState {
|
| SIGN_IN_DISABLED,
|
| };
|
|
|
| -// Overall state of the Autocheckout flow.
|
| -enum AutocheckoutState {
|
| - AUTOCHECKOUT_ERROR, // There was an error in the flow.
|
| - AUTOCHECKOUT_IN_PROGRESS, // The flow is currently in.
|
| - AUTOCHECKOUT_NOT_STARTED, // The flow has not been initiated by the user yet.
|
| - AUTOCHECKOUT_SUCCESS, // The flow completed successfully.
|
| -};
|
| -
|
| struct SuggestionState {
|
| SuggestionState();
|
| SuggestionState(bool visible,
|
|
|