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

Unified Diff: webkit/glue/form_autocomplete_listener.h

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/editor_client_impl.cc ('k') | webkit/glue/form_autocomplete_listener.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/form_autocomplete_listener.h
===================================================================
--- webkit/glue/form_autocomplete_listener.h (revision 5578)
+++ webkit/glue/form_autocomplete_listener.h (working copy)
@@ -1,40 +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.
-
-#ifndef WEBKIT_GLUE_FORM_AUTOCOMPLETE_LISTENER_
-#define WEBKIT_GLUE_FORM_AUTOCOMPLETE_LISTENER_
-
-#include <string>
-
-#include "webkit/glue/autocomplete_input_listener.h"
-
-class WebViewDelegate;
-
-namespace webkit_glue {
-
-// This class listens for the user typing in a text input in a form and queries
-// the browser for autofill information.
-
-class FormAutocompleteListener : public AutocompleteInputListener {
- public:
- explicit FormAutocompleteListener(WebViewDelegate* webview_delegate);
- virtual ~FormAutocompleteListener() { }
-
- // AutocompleteInputListener implementation.
- virtual void OnBlur(WebCore::HTMLInputElement* input_element,
- const std::wstring& user_input) { }
- virtual void OnInlineAutocompleteNeeded(WebCore::HTMLInputElement* element,
- const std::wstring& user_input);
-
- private:
- // The delegate associated with the WebView that contains thhe input we are
- // listening to.
- WebViewDelegate* webview_delegate_;
-
- DISALLOW_COPY_AND_ASSIGN(FormAutocompleteListener);
-};
-
-} // webkit_glue
-
-#endif // WEBKIT_GLUE_FORM_AUTOCOMPLETE_LISTENER_
« no previous file with comments | « webkit/glue/editor_client_impl.cc ('k') | webkit/glue/form_autocomplete_listener.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698