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

Unified Diff: webkit/glue/editor_client_impl.h

Issue 155399: Add autofill dropdown support for password forms. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/glue/autocomplete_input_listener.h ('k') | webkit/glue/editor_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/editor_client_impl.h
===================================================================
--- webkit/glue/editor_client_impl.h (revision 19957)
+++ webkit/glue/editor_client_impl.h (working copy)
@@ -124,6 +124,13 @@
// otherwise.
virtual bool ShowFormAutofillForNode(WebCore::Node* node);
+ // Notification that the text changed in |text_field| due to acceptance of
+ // a suggestion provided by an autofill popup. Having a separate callback
+ // in this case is a simple way to break the cycle that would otherwise occur
+ // if textDidChangeInTextField was called.
+ virtual void OnAutofillSuggestionAccepted(
+ WebCore::HTMLInputElement* text_field);
+
private:
void ModifySelection(WebCore::Frame* frame,
WebCore::KeyboardEvent* event);
@@ -173,7 +180,7 @@
bool ShouldSpellcheckByDefault();
// Whether the last entered key was a backspace.
- bool backspace_pressed_;
+ bool backspace_or_delete_pressed_;
// This flag is set to false if spell check for this editor is manually
// turned off. The default setting is SPELLCHECK_AUTOMATIC.
« no previous file with comments | « webkit/glue/autocomplete_input_listener.h ('k') | webkit/glue/editor_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698