summaryrefslogtreecommitdiffstats
path: root/webkit/glue/dom_operations.h
diff options
context:
space:
mode:
authoryaar@chromium.org <yaar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-19 19:31:28 +0000
committeryaar@chromium.org <yaar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-19 19:31:28 +0000
commitc96f3f7abe5e1bfdfffc2fa15639bd010967b4ab (patch)
treecaac5976ba74e8767f2d041f7bc50bcbafd92aaf /webkit/glue/dom_operations.h
parent3e497007ba8c68ec5b93caae053c6fbce24cb7e9 (diff)
downloadchromium_src-c96f3f7abe5e1bfdfffc2fa15639bd010967b4ab.zip
chromium_src-c96f3f7abe5e1bfdfffc2fa15639bd010967b4ab.tar.gz
chromium_src-c96f3f7abe5e1bfdfffc2fa15639bd010967b4ab.tar.bz2
Removed webkit_glue::FillFormToUploadFile from dom_operations.
No live code path uses it. Review URL: http://codereview.chromium.org/273068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29438 0039d316-1c4b-4281-b951-d872f2087c98
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);