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

Unified Diff: webkit/glue/form_autocomplete_listener.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/form_autocomplete_listener.h ('k') | webkit/glue/password_autocomplete_listener.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/form_autocomplete_listener.cc
===================================================================
--- webkit/glue/form_autocomplete_listener.cc (revision 5578)
+++ webkit/glue/form_autocomplete_listener.cc (working copy)
@@ -1,35 +0,0 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "config.h"
-
-#include "webkit/glue/form_autocomplete_listener.h"
-
-MSVC_PUSH_WARNING_LEVEL(0);
-#include "HTMLInputElement.h"
-MSVC_POP_WARNING();
-
-#undef LOG
-
-#include "webkit/glue/autocomplete_input_listener.h"
-#include "webkit/glue/glue_util.h"
-#include "webkit/glue/webview_delegate.h"
-
-namespace webkit_glue {
-
-FormAutocompleteListener::FormAutocompleteListener(
- WebViewDelegate* webview_delegate)
- : webview_delegate_(webview_delegate) {
-}
-
-void FormAutocompleteListener::OnInlineAutocompleteNeeded(
- WebCore::HTMLInputElement* input_element,
- const std::wstring& user_input) {
- std::wstring name = webkit_glue::StringToStdWString(input_element->
- name().string());
- webview_delegate_->QueryFormFieldAutofill(name, user_input,
- reinterpret_cast<int64>(input_element));
-}
-
-} // namespace
« no previous file with comments | « webkit/glue/form_autocomplete_listener.h ('k') | webkit/glue/password_autocomplete_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698