| 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..fb96bb92e541cba1c9d65b197d65b9473621a674 100644
|
| --- a/chrome/browser/ui/autofill/autofill_dialog_types.h
|
| +++ b/chrome/browser/ui/autofill/autofill_dialog_types.h
|
| @@ -140,35 +140,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 +150,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,
|
|
|