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

Side by Side Diff: components/autofill/content/renderer/autofill_agent.h

Issue 22926033: Enable password saving for dynamic password forms (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test added 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 | Annotate | Revision Log
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 COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ 5 #ifndef COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_
6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ 6 #define COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 bool has_new_forms_for_browser_; 208 bool has_new_forms_for_browser_;
209 209
210 // Whether or not to ignore text changes. Useful for when we're committing 210 // Whether or not to ignore text changes. Useful for when we're committing
211 // a composition when we are defocusing the WebView and we don't want to 211 // a composition when we are defocusing the WebView and we don't want to
212 // trigger an autofill popup to show. 212 // trigger an autofill popup to show.
213 bool ignore_text_changes_; 213 bool ignore_text_changes_;
214 214
215 // Timestamp of first time forms are seen. 215 // Timestamp of first time forms are seen.
216 base::TimeTicks forms_seen_timestamp_; 216 base::TimeTicks forms_seen_timestamp_;
217 217
218 // Pointer to the current topmost frame.
219 WebKit::WebFrame* topmost_frame_;
220
218 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_; 221 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_;
219 222
220 friend class PasswordAutofillAgentTest; 223 friend class PasswordAutofillAgentTest;
221 FRIEND_TEST_ALL_PREFIXES(ChromeRenderViewTest, FillFormElement); 224 FRIEND_TEST_ALL_PREFIXES(ChromeRenderViewTest, FillFormElement);
222 FRIEND_TEST_ALL_PREFIXES(ChromeRenderViewTest, SendForms); 225 FRIEND_TEST_ALL_PREFIXES(ChromeRenderViewTest, SendForms);
223 FRIEND_TEST_ALL_PREFIXES(ChromeRenderViewTest, SendDynamicForms); 226 FRIEND_TEST_ALL_PREFIXES(ChromeRenderViewTest, SendDynamicForms);
224 FRIEND_TEST_ALL_PREFIXES(ChromeRenderViewTest, ShowAutofillWarning); 227 FRIEND_TEST_ALL_PREFIXES(ChromeRenderViewTest, ShowAutofillWarning);
225 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillAgentTest, WaitUsername); 228 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillAgentTest, WaitUsername);
226 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillAgentTest, SuggestionAccept); 229 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillAgentTest, SuggestionAccept);
227 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillAgentTest, SuggestionSelect); 230 FRIEND_TEST_ALL_PREFIXES(PasswordAutofillAgentTest, SuggestionSelect);
228 231
229 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); 232 DISALLOW_COPY_AND_ASSIGN(AutofillAgent);
230 }; 233 };
231 234
232 } // namespace autofill 235 } // namespace autofill
233 236
234 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ 237 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698