summaryrefslogtreecommitdiffstats
path: root/android_webview
diff options
context:
space:
mode:
authordgwallinga@chromium.org <dgwallinga@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-24 10:58:14 +0000
committerdgwallinga@chromium.org <dgwallinga@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-24 10:58:14 +0000
commit80ad3bbbf3ff9a4ffdaf259333b02bc96956ef0a (patch)
tree809da5c355ff2b6072ca9b39406ef2f8013b59a5 /android_webview
parentae5325688d27b2e749f37e5f5ddee92adc20cd63 (diff)
downloadchromium_src-80ad3bbbf3ff9a4ffdaf259333b02bc96956ef0a.zip
chromium_src-80ad3bbbf3ff9a4ffdaf259333b02bc96956ef0a.tar.gz
chromium_src-80ad3bbbf3ff9a4ffdaf259333b02bc96956ef0a.tar.bz2
Display detailed steps for Autocheckout flows.
While proceeding through an Autocheckout flow, display a list of detailed steps which will be provided by the autofill server along with the field mappings for the first page of the flow. These steps will be marked as completed as progress is made. This fix necessarily also involved some minor fixes to CVV challenge handling. BUG=242372, 236047 TEST=unit_tests --gtest_filter=Autofill*:Autocheckout*, browser_tests --gtest_filter=AutofillDialogControllerTest* Review URL: https://chromiumcodereview.appspot.com/15525002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208194 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'android_webview')
-rw-r--r--android_webview/browser/aw_autofill_manager_delegate.cc8
-rw-r--r--android_webview/browser/aw_autofill_manager_delegate.h6
2 files changed, 12 insertions, 2 deletions
diff --git a/android_webview/browser/aw_autofill_manager_delegate.cc b/android_webview/browser/aw_autofill_manager_delegate.cc
index 8857886..2f51637 100644
--- a/android_webview/browser/aw_autofill_manager_delegate.cc
+++ b/android_webview/browser/aw_autofill_manager_delegate.cc
@@ -100,7 +100,13 @@ void AwAutofillManagerDelegate::ShowAutofillPopup(
void AwAutofillManagerDelegate::HideAutofillPopup() {
}
-void AwAutofillManagerDelegate::UpdateProgressBar(double value) {
+void AwAutofillManagerDelegate::AddAutocheckoutStep(
+ autofill::AutocheckoutStepType step_type) {
+}
+
+void AwAutofillManagerDelegate::UpdateAutocheckoutStep(
+ autofill::AutocheckoutStepType step_type,
+ autofill::AutocheckoutStepStatus step_status) {
}
bool AwAutofillManagerDelegate::IsAutocompleteEnabled() {
diff --git a/android_webview/browser/aw_autofill_manager_delegate.h b/android_webview/browser/aw_autofill_manager_delegate.h
index 58f4e13..e9ec7c5 100644
--- a/android_webview/browser/aw_autofill_manager_delegate.h
+++ b/android_webview/browser/aw_autofill_manager_delegate.h
@@ -84,8 +84,12 @@ class AwAutofillManagerDelegate
const std::vector<int>& identifiers,
base::WeakPtr<autofill::AutofillPopupDelegate> delegate) OVERRIDE;
virtual void HideAutofillPopup() OVERRIDE;
- virtual void UpdateProgressBar(double value) OVERRIDE;
virtual bool IsAutocompleteEnabled() OVERRIDE;
+ virtual void AddAutocheckoutStep(autofill::AutocheckoutStepType step_type)
+ OVERRIDE;
+ virtual void UpdateAutocheckoutStep(
+ autofill::AutocheckoutStepType step_type,
+ autofill::AutocheckoutStepStatus step_status) OVERRIDE;
private:
AwAutofillManagerDelegate(content::WebContents* contents);