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

Side by Side Diff: android_webview/native/aw_autofill_manager_delegate.h

Issue 23432002: Generate passwords only for forms that autofill server marks as account creation forms. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix password generation manager browser test. Created 7 years, 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | android_webview/native/aw_autofill_manager_delegate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 const std::vector<string16>& values, 76 const std::vector<string16>& values,
77 const std::vector<string16>& labels, 77 const std::vector<string16>& labels,
78 const std::vector<string16>& icons, 78 const std::vector<string16>& icons,
79 const std::vector<int>& identifiers, 79 const std::vector<int>& identifiers,
80 base::WeakPtr<autofill::AutofillPopupDelegate> delegate) OVERRIDE; 80 base::WeakPtr<autofill::AutofillPopupDelegate> delegate) OVERRIDE;
81 virtual void UpdateAutofillPopupDataListValues( 81 virtual void UpdateAutofillPopupDataListValues(
82 const std::vector<base::string16>& values, 82 const std::vector<base::string16>& values,
83 const std::vector<base::string16>& labels) OVERRIDE; 83 const std::vector<base::string16>& labels) OVERRIDE;
84 virtual void HideAutofillPopup() OVERRIDE; 84 virtual void HideAutofillPopup() OVERRIDE;
85 virtual bool IsAutocompleteEnabled() OVERRIDE; 85 virtual bool IsAutocompleteEnabled() OVERRIDE;
86 virtual void DetectAccountCreationForms(
87 const std::vector<autofill::FormStructure*>& forms) OVERRIDE;
86 88
87 void SuggestionSelected(JNIEnv* env, 89 void SuggestionSelected(JNIEnv* env,
88 jobject obj, 90 jobject obj,
89 jint position); 91 jint position);
90 private: 92 private:
91 AwAutofillManagerDelegate(content::WebContents* web_contents); 93 AwAutofillManagerDelegate(content::WebContents* web_contents);
92 friend class content::WebContentsUserData<AwAutofillManagerDelegate>; 94 friend class content::WebContentsUserData<AwAutofillManagerDelegate>;
93 95
94 void ShowAutofillPopupImpl(const gfx::RectF& element_bounds, 96 void ShowAutofillPopupImpl(const gfx::RectF& element_bounds,
95 const std::vector<string16>& values, 97 const std::vector<string16>& values,
(...skipping 11 matching lines...) Expand all
107 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_; 109 base::WeakPtr<autofill::AutofillPopupDelegate> delegate_;
108 110
109 DISALLOW_COPY_AND_ASSIGN(AwAutofillManagerDelegate); 111 DISALLOW_COPY_AND_ASSIGN(AwAutofillManagerDelegate);
110 }; 112 };
111 113
112 bool RegisterAwAutofillManagerDelegate(JNIEnv* env); 114 bool RegisterAwAutofillManagerDelegate(JNIEnv* env);
113 115
114 } // namespace android_webview 116 } // namespace android_webview
115 117
116 #endif // ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_ 118 #endif // ANDROID_WEBVIEW_BROWSER_AW_AUTOFILL_MANAGER_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/native/aw_autofill_manager_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698