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

Unified Diff: webkit/glue/dom_operations.cc

Issue 11479: New take at implementing autofill using the editor client API (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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_unittest.cc ('k') | webkit/glue/editor_client_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/dom_operations.cc
===================================================================
--- webkit/glue/dom_operations.cc (revision 5578)
+++ webkit/glue/dom_operations.cc (working copy)
@@ -27,10 +27,6 @@
MSVC_POP_WARNING();
#undef LOG
-// Brings in more WebKit headers and #undefs LOG again, so this needs to come
-// first.
-#include "webkit/glue/autocomplete_input_listener.h"
-
#include "base/string_util.h"
#include "webkit/glue/dom_operations.h"
#include "webkit/glue/form_data.h"
@@ -449,7 +445,7 @@
static_cast<WebFrameLoaderClient*>(username_element->document()->
frame()->loader()->client());
WebFrameImpl* webframe_impl = frame_loader_client->webframe();
- webframe_impl->GetAutocompleteListener()->AddInputListener(
+ webframe_impl->RegisterPasswordListener(
username_element,
new PasswordAutocompleteListener(
new HTMLInputDelegate(username_element),
« no previous file with comments | « webkit/glue/autocomplete_input_listener_unittest.cc ('k') | webkit/glue/editor_client_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698