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

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

Issue 16212007: Implement the autofill UI for chromium powered android webview. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue15097004
Patch Set: move ui files Created 7 years, 6 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/browser/aw_autofill_external_delegate.h" 5 #include "android_webview/native/aw_autofill_external_delegate.h"
6 6
7 #include "android_webview/browser/aw_autofill_manager_delegate.h" 7 #include "android_webview/native/aw_autofill_manager_delegate.h"
8 #include "components/autofill/browser/autofill_manager.h" 8 #include "components/autofill/browser/autofill_manager.h"
9 #include "content/public/browser/web_contents.h" 9 #include "content/public/browser/web_contents.h"
10 10
11 using autofill::AutofillManager; 11 using autofill::AutofillManager;
12 12
13 namespace android_webview { 13 namespace android_webview {
14 14
15 void AwAutofillExternalDelegate::CreateForWebContentsAndManager( 15 void AwAutofillExternalDelegate::CreateForWebContentsAndManager(
16 content::WebContents* web_contents, 16 content::WebContents* web_contents,
17 AutofillManager* autofill_manager) { 17 AutofillManager* autofill_manager) {
(...skipping 13 matching lines...) Expand all
31 } 31 }
32 32
33 AwAutofillExternalDelegate::~AwAutofillExternalDelegate() {} 33 AwAutofillExternalDelegate::~AwAutofillExternalDelegate() {}
34 34
35 bool AwAutofillExternalDelegate::ShouldIgnoreFormData() { 35 bool AwAutofillExternalDelegate::ShouldIgnoreFormData() {
36 return !AwAutofillManagerDelegate::FromWebContents(web_contents())-> 36 return !AwAutofillManagerDelegate::FromWebContents(web_contents())->
37 GetSaveFormData(); 37 GetSaveFormData();
38 } 38 }
39 39
40 } // namespace autofill 40 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698