Bug 74301

Summary: [EFL] Add API to notify that mixed content has been loaded.
Product: WebKit Reporter: Raphael Kubo da Costa (:rakuco) <rakuco>
Component: WebKit EFLAssignee: Raphael Kubo da Costa (:rakuco) <rakuco>
Status: RESOLVED FIXED    
Severity: Normal CC: gyuyoung.kim, leandro, lucas.de.marchi
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch with bug number
none
Move DocumentLoader.h include to bug 74302
none
Patch for landing, follow kov's suggestion none

Description Raphael Kubo da Costa (:rakuco) 2011-12-12 08:41:46 PST
[EFL] Add API to notify that mixed content has been loaded.
Comment 1 Raphael Kubo da Costa (:rakuco) 2011-12-12 08:42:10 PST
Created attachment 118795 [details]
Patch
Comment 2 Raphael Kubo da Costa (:rakuco) 2011-12-12 08:48:02 PST
Created attachment 118799 [details]
Patch with bug number
Comment 3 Raphael Kubo da Costa (:rakuco) 2011-12-12 09:01:18 PST
Created attachment 118805 [details]
Move DocumentLoader.h include to bug 74302
Comment 4 Gustavo Noronha (kov) 2011-12-12 09:20:17 PST
Comment on attachment 118805 [details]
Move DocumentLoader.h include to bug 74302

View in context: https://bugs.webkit.org/attachment.cgi?id=118805&action=review

OK, looks good, with just a nit.

> Source/WebKit/efl/ewk/ewk_frame.cpp:1706
> +        evas_object_smart_callback_call(ewkFrame, "mixedcontent,displayed", 0);
> +        ewk_view_mixed_content_displayed_set(smartData->view, true);

Wouldn't it be more conceptually correct to first set it, and then emit the signal? This way if the API user for some bizarre reason decides to query this flag while handling the signal it'll be properly set.
Comment 5 Raphael Kubo da Costa (:rakuco) 2011-12-12 09:28:20 PST
Created attachment 118810 [details]
Patch for landing, follow kov's suggestion
Comment 6 Raphael Kubo da Costa (:rakuco) 2011-12-12 10:21:05 PST
Committed r102600: <http://trac.webkit.org/changeset/102600>