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

Side by Side Diff: android_webview/native/aw_autofill_client.cc

Issue 710453002: [Autofill] Componentize AutofillCCInfoBarDelegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed breakages on Android port. Created 5 years, 11 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 | « android_webview/native/aw_autofill_client.h ('k') | chrome/app/chromium_strings.grd » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "android_webview/native/aw_autofill_client.h" 5 #include "android_webview/native/aw_autofill_client.h"
6 6
7 #include "android_webview/browser/aw_browser_context.h" 7 #include "android_webview/browser/aw_browser_context.h"
8 #include "android_webview/browser/aw_content_browser_client.h" 8 #include "android_webview/browser/aw_content_browser_client.h"
9 #include "android_webview/browser/aw_form_database_service.h" 9 #include "android_webview/browser/aw_form_database_service.h"
10 #include "android_webview/browser/aw_pref_store.h" 10 #include "android_webview/browser/aw_pref_store.h"
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 160
161 void AwAutofillClient::DidFillOrPreviewField( 161 void AwAutofillClient::DidFillOrPreviewField(
162 const base::string16& autofilled_value, 162 const base::string16& autofilled_value,
163 const base::string16& profile_full_name) { 163 const base::string16& profile_full_name) {
164 } 164 }
165 165
166 void AwAutofillClient::OnFirstUserGestureObserved() { 166 void AwAutofillClient::OnFirstUserGestureObserved() {
167 NOTIMPLEMENTED(); 167 NOTIMPLEMENTED();
168 } 168 }
169 169
170 void AwAutofillClient::LinkClicked(const GURL& url,
171 WindowOpenDisposition disposition) {
172 NOTIMPLEMENTED();
173 }
174
170 void AwAutofillClient::SuggestionSelected(JNIEnv* env, 175 void AwAutofillClient::SuggestionSelected(JNIEnv* env,
171 jobject object, 176 jobject object,
172 jint position) { 177 jint position) {
173 if (delegate_) { 178 if (delegate_) {
174 delegate_->DidAcceptSuggestion(suggestions_[position].value, 179 delegate_->DidAcceptSuggestion(suggestions_[position].value,
175 suggestions_[position].frontend_id); 180 suggestions_[position].frontend_id);
176 } 181 }
177 } 182 }
178 183
179 void AwAutofillClient::HideRequestAutocompleteDialog() { 184 void AwAutofillClient::HideRequestAutocompleteDialog() {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 content::RenderFrameHost* rfh, 217 content::RenderFrameHost* rfh,
213 const ResultCallback& callback) { 218 const ResultCallback& callback) {
214 NOTIMPLEMENTED(); 219 NOTIMPLEMENTED();
215 } 220 }
216 221
217 bool RegisterAwAutofillClient(JNIEnv* env) { 222 bool RegisterAwAutofillClient(JNIEnv* env) {
218 return RegisterNativesImpl(env); 223 return RegisterNativesImpl(env);
219 } 224 }
220 225
221 } // namespace android_webview 226 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/native/aw_autofill_client.h ('k') | chrome/app/chromium_strings.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698