WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
11250
File upload form control isn't finished on Windows
https://bugs.webkit.org/show_bug.cgi?id=11250
Summary
File upload form control isn't finished on Windows
Brett Wilson (Google)
Reported
2006-10-10 17:35:45 PDT
It appears there is a Browse button that doesn't do anything and no text field currently.
Attachments
Patch to make it work
(5.08 KB, patch)
2006-10-12 13:48 PDT
,
Brett Wilson (Google)
sam
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Brett Wilson (Google)
Comment 1
2006-10-12 13:48:19 PDT
Created
attachment 11053
[details]
Patch to make it work This patch separates out the file upload controls from TemporaryLinkStubs into a new file. It implements the basic functionality necessary to open the standard Windows open file dialog and to set the filename back into the control. Unimplemented is fancy splitting of the filename, so it will just get cut off if the control isn't wide enough. This also has a spacing change to the vcproj for WebCore. Visual Studio will "fix" this every time somebody changes the file, so we should fix it to prevent everybody from having to manually factor it out of their diff.
Sam Weinig
Comment 2
2006-11-04 13:14:13 PST
Comment on
attachment 11053
[details]
Patch to make it work I'm r- this due to a couple of style issues I see. Please put the curly brace on the same line as the namespace declaration. +namespace WebCore +{ The curly brace for functions should go on it's own line and the content should be indented 4 spaces. I'm also not sure the commented is need. +// static +PassRefPtr<FileChooser> FileChooser::create(Document* doc, RenderFileUploadControl* control) { + return new FileChooser(doc, control); +} Otherwise, it's looking good.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug