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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.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, 4 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
Index: chrome/browser/ui/views/autofill/autofill_dialog_views.h
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.h b/chrome/browser/ui/views/autofill/autofill_dialog_views.h
index 71cdb94d96f9009fcd8ff9d3eed042af70e75cec..eee1094586a717bd0dc925b61b465fc49232a42a 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.h
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.h
@@ -84,7 +84,6 @@ class AutofillDialogViews : public AutofillDialogView,
virtual void UpdatesStarted() OVERRIDE;
virtual void UpdatesFinished() OVERRIDE;
virtual void UpdateAccountChooser() OVERRIDE;
- virtual void UpdateAutocheckoutStepsArea() OVERRIDE;
virtual void UpdateButtonStrip() OVERRIDE;
virtual void UpdateDetailArea() OVERRIDE;
virtual void UpdateForErrors() OVERRIDE;
@@ -98,7 +97,6 @@ class AutofillDialogViews : public AutofillDialogView,
virtual bool SaveDetailsLocally() OVERRIDE;
virtual const content::NavigationController* ShowSignIn() OVERRIDE;
virtual void HideSignIn() OVERRIDE;
- virtual void UpdateProgressBar(double value) OVERRIDE;
virtual void ModelChanged() OVERRIDE;
virtual TestableAutofillDialogView* GetTestableView() OVERRIDE;
virtual void OnSignInResize(const gfx::Size& pref_size) OVERRIDE;
@@ -459,31 +457,6 @@ class AutofillDialogViews : public AutofillDialogView,
views::ImageButton* suggested_button;
};
- // Area for displaying that status of various steps in an Autocheckout flow.
- class AutocheckoutStepsArea : public views::View {
- public:
- AutocheckoutStepsArea();
- virtual ~AutocheckoutStepsArea() {}
-
- // Display the given steps.
- void SetSteps(const std::vector<DialogAutocheckoutStep>& steps);
-
- private:
- DISALLOW_COPY_AND_ASSIGN(AutocheckoutStepsArea);
- };
-
- class AutocheckoutProgressBar : public views::ProgressBar {
- public:
- AutocheckoutProgressBar();
- virtual ~AutocheckoutProgressBar();
-
- private:
- // Overriden from View
- virtual gfx::Size GetPreferredSize() OVERRIDE;
-
- DISALLOW_COPY_AND_ASSIGN(AutocheckoutProgressBar);
- };
-
typedef std::map<DialogSection, DetailsGroup> DetailGroupMap;
gfx::Size CalculatePreferredSize();
@@ -643,15 +616,6 @@ class AutofillDialogViews : public AutofillDialogView,
// just holds the (hidden) country comboboxes.
ScopedVector<views::View> other_owned_views_;
- // View to host Autocheckout steps.
- AutocheckoutStepsArea* autocheckout_steps_area_;
-
- // View to host |autocheckout_progress_bar_| and its label.
- views::View* autocheckout_progress_bar_view_;
-
- // Progress bar for displaying Autocheckout progress.
- AutocheckoutProgressBar* autocheckout_progress_bar_;
-
// The view that is appended to the bottom of the dialog, below the button
// strip. Used to display legal document links.
views::View* footnote_view_;

Powered by Google App Engine
This is Rietveld 408576698