summaryrefslogtreecommitdiffstats
path: root/webkit/glue/dom_operations.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/glue/dom_operations.h')
-rw-r--r--webkit/glue/dom_operations.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/webkit/glue/dom_operations.h b/webkit/glue/dom_operations.h
index af188fc..593af06 100644
--- a/webkit/glue/dom_operations.h
+++ b/webkit/glue/dom_operations.h
@@ -28,30 +28,6 @@ class WebFrameImpl;
// A collection of operations that access the underlying WebKit DOM directly.
namespace webkit_glue {
-// Automatically fill a form to upload a file.
-//
-// Look in all frames for a form with the name or ID |form_name|. If the form is
-// found, set the input type=file with name or ID equal to |file_name| to
-// |file_path|. If |form_name| is empty, look for any form containing the
-// provided submit button.
-//
-// If |submit_name| is non empty and a submit button with a matching name or ID
-// exists, the form is submitted using that submit button. If any form input
-// has a name or ID matching an |other_form_values| key, it will be set to the
-// corresponding value.
-//
-// Return true if a form was found and processed.
-typedef std::map<std::wstring, std::wstring> FormValueMap;
-struct FileUploadData {
- std::wstring file_path;
- std::wstring form_name;
- std::wstring file_name;
- std::wstring submit_name;
- FormValueMap other_form_values;
-};
-
-bool FillFormToUploadFile(WebKit::WebView* view, const FileUploadData& data);
-
// Fill in a form identified by form |data|.
bool FillForm(WebKit::WebView* view, const FormData& data);