-
carlosgc@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96774 Reviewed by Xan Lopez. Using the C++ classes directly instead of the C API wrappers we avoid a lot of toImpl/toAPI casts, string conversions and allocations. The code is also a lot simpler and easier to read. * UIProcess/API/gtk/WebKitFileChooserRequest.cpp: (_WebKitFileChooserRequestPrivate): (webkitFileChooserRequestCreate): (webkit_file_chooser_request_get_mime_types): (webkit_file_chooser_request_get_mime_types_filter): (webkit_file_chooser_request_get_select_multiple): (webkit_file_chooser_request_select_files): (webkit_file_chooser_request_get_selected_files): (webkit_file_chooser_request_cancel): * UIProcess/API/gtk/WebKitFileChooserRequestPrivate.h: * UIProcess/API/gtk/WebKitUIClient.cpp: (runOpenPanel): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
a6105c6f