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

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

Issue 798073003: Update autocomplete dropdown when datalist changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 const blink::WebFormControlElement& element); 141 const blink::WebFormControlElement& element);
142 virtual void textFieldDidReceiveKeyDown( 142 virtual void textFieldDidReceiveKeyDown(
143 const blink::WebInputElement& element, 143 const blink::WebInputElement& element,
144 const blink::WebKeyboardEvent& event); 144 const blink::WebKeyboardEvent& event);
145 virtual void didRequestAutocomplete( 145 virtual void didRequestAutocomplete(
146 const blink::WebFormElement& form); 146 const blink::WebFormElement& form);
147 virtual void setIgnoreTextChanges(bool ignore); 147 virtual void setIgnoreTextChanges(bool ignore);
148 virtual void didAssociateFormControls( 148 virtual void didAssociateFormControls(
149 const blink::WebVector<blink::WebNode>& nodes); 149 const blink::WebVector<blink::WebNode>& nodes);
150 virtual void openTextDataListChooser(const blink::WebInputElement& element); 150 virtual void openTextDataListChooser(const blink::WebInputElement& element);
151 virtual void dataListOptionsChanged(const blink::WebInputElement& element);
151 virtual void firstUserGestureObserved(); 152 virtual void firstUserGestureObserved();
152 153
153 void OnFieldTypePredictionsAvailable( 154 void OnFieldTypePredictionsAvailable(
154 const std::vector<FormDataPredictions>& forms); 155 const std::vector<FormDataPredictions>& forms);
155 void OnFillForm(int query_id, const FormData& form); 156 void OnFillForm(int query_id, const FormData& form);
156 void OnFirstUserGestureObservedInTab(); 157 void OnFirstUserGestureObservedInTab();
157 void OnPing(); 158 void OnPing();
158 void OnPreviewForm(int query_id, const FormData& form); 159 void OnPreviewForm(int query_id, const FormData& form);
159 160
160 // For external Autofill selection. 161 // For external Autofill selection.
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 bool is_popup_possibly_visible_; 269 bool is_popup_possibly_visible_;
269 270
270 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_; 271 base::WeakPtrFactory<AutofillAgent> weak_ptr_factory_;
271 272
272 DISALLOW_COPY_AND_ASSIGN(AutofillAgent); 273 DISALLOW_COPY_AND_ASSIGN(AutofillAgent);
273 }; 274 };
274 275
275 } // namespace autofill 276 } // namespace autofill
276 277
277 #endif // COMPONENTS_AUTOFILL_CONTENT_RENDERER_AUTOFILL_AGENT_H_ 278 #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