Index: webkit/glue/webview_delegate.h |
=================================================================== |
--- webkit/glue/webview_delegate.h (revision 4621) |
+++ webkit/glue/webview_delegate.h (working copy) |
@@ -107,7 +107,8 @@ |
// This method is called to create a new WebWidget to act as a popup |
// (like a drop-down menu). |
- virtual WebWidget* CreatePopupWidget(WebView* webview) { |
+ virtual WebWidget* CreatePopupWidget(WebView* webview, |
+ bool focus_on_show) { |
return NULL; |
} |
@@ -450,6 +451,14 @@ |
virtual void OnUnloadListenerChanged(WebView* webview, WebFrame* webframe) { |
} |
+ // Queries the browser for suggestions to be shown for the form text field |
+ // named |field_name|. |text| is the text entered by the user so far and |
+ // |node_id| is the id of the node of the input field. |
+ virtual void QueryFormFieldAutofill(const std::wstring& field_name, |
+ const std::wstring& text, |
+ int64 node_id) { |
+ } |
+ |
// UIDelegate -------------------------------------------------------------- |
// Asks the browser to show a modal HTML dialog. The dialog is passed the |