12011-06-21 Jongseok Yang <js45.yang@samsung.com>
2
3 Reviewed by NOBODY (OOPS!).
4
5 Add capture attribute for HTML Media Capture
6 https://bugs.webkit.org/show_bug.cgi?id=63062
7
8 It's the first patch for the feature.
9 - add capture attribute
10 - add functions to get the attribute from FileChooser
11
12 To support HTML Media Capture, each port should check the attribute and execute
13 the application or the interface.
14 It should be implemented within "ChromeClient::runOpenPanel()" for each port.
15
16 No new tests.
17 It uses MEDIA_CAPTURE feature define, which is turned off.
18 It does not include the implementation for each port
19
20 * html/HTMLAttributeNames.in:
21 * html/HTMLInputElement.cpp
22 (WebCore::HTMLInputElement::capture)
23 * html/HTMLInputElement.idl
24 * html/HTMLInputElement.h
25 * rendering/RenderFileUploadControl.cpp
26 (WebCore::RenderFileUploadControl::captureDevice)
27 * rendering/RenderFileUploadControl.h
28 * platform/FileChooser.h
29 (WebCore::FileChooserClient::captureDevice)
30 (WebCore::FileChooser::captureDevice): The function would be used within the function
31 "ChromeClient::runOpenPanel()" for each port.
32