2010-06-23 Lucas De Marchi <lucas.demarchi@profusion.mobi>
authorleandro@webkit.org <leandro@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Jun 2010 19:39:54 +0000 (19:39 +0000)
committerleandro@webkit.org <leandro@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Jun 2010 19:39:54 +0000 (19:39 +0000)
commit6585d016c13ff296bc3714dd5acf827e2d40dc25
tree1531ca3aaacda63c1e4105dfff53f1377fc58e0e
parent50c4ddd38a43c42d6c4483d6fa1681d0df7b1d23
2010-06-23  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Reviewed by Gustavo Noronha Silva.

        Add implementaion of new windows for EFL port. Both cases of a link
        with target="_blank" and a javascript that does window.open() are
        treated, delegating to browser the role of actually creating the
        window (or blocking it).
        https://bugs.webkit.org/show_bug.cgi?id=40930

        * CMakeListsEfl.txt: add new file that wraps the WindowFeatures struct
        * efl/WebCoreSupport/ChromeClientEfl.cpp:
        (WebCore::ChromeClientEfl::createWindow): implement method for
        creating new window by delegating to browser its creation. Browser
        might decide to continue on the same window by returning the same
        view object.
        * efl/WebCoreSupport/FrameLoaderClientEfl.cpp:
        (WebCore::FrameLoaderClientEfl::dispatchCreatePage): implement method
        for creating new window when its creation is done by a javascript
        script.
        * efl/ewk/EWebKit.h: new header for WindowFeatures.
        * efl/ewk/ewk_private.h:
        * efl/ewk/ewk_view.cpp:
        (ewk_view_window_create): call the method implemented by browser.
        * efl/ewk/ewk_view.h:
        * efl/ewk/ewk_window_features.cpp: Added.
        (ewk_window_features_unref):
        (ewk_window_features_ref):
        (ewk_window_features_bool_property_get):
        (ewk_window_features_int_property_get):
        (ewk_window_features_new_from_core): create and wrapped struct
        containing the core struct.
        * efl/ewk/ewk_window_features.h: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@61706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/CMakeListsEfl.txt
WebKit/ChangeLog
WebKit/efl/WebCoreSupport/ChromeClientEfl.cpp
WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.cpp
WebKit/efl/ewk/EWebKit.h
WebKit/efl/ewk/ewk_private.h
WebKit/efl/ewk/ewk_view.cpp
WebKit/efl/ewk/ewk_view.h
WebKit/efl/ewk/ewk_window_features.cpp [new file with mode: 0644]
WebKit/efl/ewk/ewk_window_features.h [new file with mode: 0644]