ryuan pushed a commit to branch master.

commit 5d7b866378cd117bc421b923d6ef0e338ec18b6b
Author: Ryuan Choi <[email protected]>
Date:   Mon Jul 22 08:03:12 2013 +0900

    ewk changed run_open_panel interface since webkit's r123847
    
    In order to support all of <file> attribute, run_open_panel was changed 
since r123847.
    For more information, please see 
https://bugs.webkit.org/show_bug.cgi?id=91956
---
 src/lib/elm_web.c | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/lib/elm_web.c b/src/lib/elm_web.c
index ca2a1f3..f834f82 100644
--- a/src/lib/elm_web.c
+++ b/src/lib/elm_web.c
@@ -686,8 +686,7 @@ _view_smart_run_javascript_prompt(Ewk_View_Smart_Data *esd,
 static Eina_Bool
 _view_smart_run_open_panel(Ewk_View_Smart_Data *esd,
                            Evas_Object *frame __UNUSED__,
-                           Eina_Bool allows_multiple_files,
-                           Eina_List *accept_types,
+                           Ewk_File_Chooser *request,
                            Eina_List **selected_filenames)
 {
    View_Smart_Data *vsd = (View_Smart_Data *)esd;
@@ -700,12 +699,14 @@ _view_smart_run_open_panel(Ewk_View_Smart_Data *esd,
 
    if (sd->hook.file_selector)
      diag = sd->hook.file_selector(sd->hook.file_selector_data, obj,
-                                   allows_multiple_files, accept_types,
+                                   
ewk_file_chooser_allows_multiple_files_get(request),
+                                   
ewk_file_chooser_accept_mimetypes_get(request),
                                    selected_filenames, &response);
    else
      diag = _run_dialog(view, DIALOG_FILE_SELECTOR, NULL, NULL, NULL,
-                        allows_multiple_files, accept_types, 
selected_filenames,
-                        &response);
+                        ewk_file_chooser_allows_multiple_files_get(request),
+                        ewk_file_chooser_accept_mimetypes_get(request),
+                        selected_filenames, &response);
    if (diag) _exec_dialog(diag);
 
    return response;

-- 

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk

Reply via email to