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

Side by Side Diff: components/autofill/browser/autofill_external_delegate.h

Issue 15097004: Enable Autocomplete feature for chromium webview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@setSaveFormData2
Patch Set: address Ben's comments Created 7 years, 7 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 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ 5 #ifndef COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_
6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ 6 #define COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 // Returns the delegate to its starting state by removing any page specific 99 // Returns the delegate to its starting state by removing any page specific
100 // values or settings. 100 // values or settings.
101 void Reset(); 101 void Reset();
102 102
103 // Inform the Password Manager of a filled form. 103 // Inform the Password Manager of a filled form.
104 void AddPasswordFormMapping( 104 void AddPasswordFormMapping(
105 const FormFieldData& form, 105 const FormFieldData& form,
106 const PasswordFormFillData& fill_data); 106 const PasswordFormFillData& fill_data);
107 107
108 // Whether the form data should be ignored.
109 virtual bool ShouldIgnoreFormData();
Ilya Sherman 2013/06/03 23:22:19 The ExternalDelegate class is for things related t
sgurun-gerrit only 2013/06/13 01:13:31 Done.
110
108 protected: 111 protected:
109 friend class content::WebContentsUserData<AutofillExternalDelegate>; 112 friend class content::WebContentsUserData<AutofillExternalDelegate>;
110 AutofillExternalDelegate(content::WebContents* web_contents, 113 AutofillExternalDelegate(content::WebContents* web_contents,
111 AutofillManager* autofill_manager); 114 AutofillManager* autofill_manager);
112 virtual ~AutofillExternalDelegate(); 115 virtual ~AutofillExternalDelegate();
113 116
114 content::WebContents* web_contents() { return web_contents_; } 117 content::WebContents* web_contents() { return web_contents_; }
115 118
116 base::WeakPtr<AutofillExternalDelegate> GetWeakPtr(); 119 base::WeakPtr<AutofillExternalDelegate> GetWeakPtr();
117 120
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 std::vector<int> data_list_unique_ids_; 193 std::vector<int> data_list_unique_ids_;
191 194
192 base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_; 195 base::WeakPtrFactory<AutofillExternalDelegate> weak_ptr_factory_;
193 196
194 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate); 197 DISALLOW_COPY_AND_ASSIGN(AutofillExternalDelegate);
195 }; 198 };
196 199
197 } // namespace autofill 200 } // namespace autofill
198 201
199 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_ 202 #endif // COMPONENTS_AUTOFILL_BROWSER_AUTOFILL_EXTERNAL_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698