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

Side by Side Diff: webkit/api/public/WebViewClient.h

Issue 279001: Move autofill related WebView{Delegate} methods into the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « webkit/api/public/WebView.h ('k') | webkit/glue/autofill_form.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 // accessibility object. 245 // accessibility object.
246 virtual void focusAccessibilityObject(const WebAccessibilityObject&) = 0; 246 virtual void focusAccessibilityObject(const WebAccessibilityObject&) = 0;
247 247
248 // Developer tools ----------------------------------------------------- 248 // Developer tools -----------------------------------------------------
249 249
250 // Called to notify the client that the inspector's settings were 250 // Called to notify the client that the inspector's settings were
251 // changed and should be saved. See WebView::inspectorSettings. 251 // changed and should be saved. See WebView::inspectorSettings.
252 virtual void didUpdateInspectorSettings() = 0; 252 virtual void didUpdateInspectorSettings() = 0;
253 253
254 254
255 // Autofill ------------------------------------------------------------
256
257 // Queries the browser for suggestions to be shown for the form text
258 // field named |name|. |value| is the text entered by the user so
259 // far and the WebNode corresponds to the input field.
260 virtual void queryAutofillSuggestions(const WebNode&,
261 const WebString& name,
262 const WebString& value) = 0;
263
264 // Instructs the browser to remove the autofill entry specified from
265 // its DB.
266 virtual void removeAutofillSuggestions(const WebString& name,
267 const WebString& value) = 0;
268
269
255 // FIXME need to something for: 270 // FIXME need to something for:
256 // OnPasswordFormsSeen 271 // OnPasswordFormsSeen
257 // OnAutofillFormSubmitted 272 // OnAutofillFormSubmitted
258 // QueryFormFieldAutofill 273 // QueryFormFieldAutofill
259 // RemoveStoredAutofillEntry 274 // RemoveStoredAutofillEntry
260 // ShowModalHTMLDialog <-- we should be able to kill this 275 // ShowModalHTMLDialog <-- we should be able to kill this
261 // GetWebDevToolsAgentDelegate 276 // GetWebDevToolsAgentDelegate
262 // WasOpenedByUserGesture 277 // WasOpenedByUserGesture
263 }; 278 };
264 279
265 } // namespace WebKit 280 } // namespace WebKit
266 281
267 #endif 282 #endif
OLDNEW
« no previous file with comments | « webkit/api/public/WebView.h ('k') | webkit/glue/autofill_form.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698