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

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

Issue 1002653002: [Password Manager] Use XHR completion as a possible signal for form submission (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | components/autofill/content/renderer/autofill_agent.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 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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 virtual void textFieldDidChange( 129 virtual void textFieldDidChange(
130 const blink::WebFormControlElement& element); 130 const blink::WebFormControlElement& element);
131 virtual void textFieldDidReceiveKeyDown( 131 virtual void textFieldDidReceiveKeyDown(
132 const blink::WebInputElement& element, 132 const blink::WebInputElement& element,
133 const blink::WebKeyboardEvent& event); 133 const blink::WebKeyboardEvent& event);
134 virtual void didRequestAutocomplete( 134 virtual void didRequestAutocomplete(
135 const blink::WebFormElement& form); 135 const blink::WebFormElement& form);
136 virtual void setIgnoreTextChanges(bool ignore); 136 virtual void setIgnoreTextChanges(bool ignore);
137 virtual void didAssociateFormControls( 137 virtual void didAssociateFormControls(
138 const blink::WebVector<blink::WebNode>& nodes); 138 const blink::WebVector<blink::WebNode>& nodes);
139 virtual void didRemoveFormControls(
140 const blink::WebVector<blink::WebNode>& nodes);
139 virtual void openTextDataListChooser(const blink::WebInputElement& element); 141 virtual void openTextDataListChooser(const blink::WebInputElement& element);
140 virtual void dataListOptionsChanged(const blink::WebInputElement& element); 142 virtual void dataListOptionsChanged(const blink::WebInputElement& element);
141 virtual void firstUserGestureObserved(); 143 virtual void firstUserGestureObserved();
144 virtual void XHRSucceeded();
142 145
143 void OnFieldTypePredictionsAvailable( 146 void OnFieldTypePredictionsAvailable(
144 const std::vector<FormDataPredictions>& forms); 147 const std::vector<FormDataPredictions>& forms);
145 void OnFillForm(int query_id, const FormData& form); 148 void OnFillForm(int query_id, const FormData& form);
146 void OnFirstUserGestureObservedInTab(); 149 void OnFirstUserGestureObservedInTab();
147 void OnPing(); 150 void OnPing();
148 void OnPreviewForm(int query_id, const FormData& form); 151 void OnPreviewForm(int query_id, const FormData& form);
149 152
150 // For external Autofill selection. 153 // For external Autofill selection.
151 void OnClearForm(); 154 void OnClearForm();
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 bool is_popup_possibly_visible_; 258 bool is_popup_possibly_visible_;
256 259
257 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_; 260 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_;
258 261
259 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); 262 DISALLOW_COPY_AND_ASSIGN(AutofillAgent);
260 }; 263 };
261 264
262 } // namespace autofill 265 } // namespace autofill
263 266
264 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ 267 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_
OLDNEW
« no previous file with comments | « no previous file | components/autofill/content/renderer/autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698