• mario@webkit.org's avatar
    [GTK] Add support for Page Visibility · 41e5cc3b
    mario@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=97324
    
    Patch by Anton Obzhirov <a.obzhirov@samsung.com> on 2013-04-10
    Reviewed by Sam Weinig.
    
    .:
    
    Page Visibility has been enabled for GTK port.
    New GTK unittest has been added.
    
    * Source/autotools/SetupWebKitFeatures.m4:
    
    Source/WebKit/gtk:
    
    Implemented access to page visibility API for GTK test runner.
    
    * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
    (DumpRenderTreeSupportGtk::setPageVisibility):
    * WebCoreSupport/DumpRenderTreeSupportGtk.h:
    
    Source/WebKit2:
    
    Added new unittest to test page visibility using GTK Widget visibility API.
    
    * UIProcess/API/gtk/tests/TestWebKitWebView.cpp:
    (testWebViewPageVisibility):
    (beforeAll):
    * UIProcess/API/gtk/tests/WebViewTest.cpp:
    (WebViewTest::showInWindow):
    * UIProcess/API/gtk/tests/WebViewTest.h:
    
    Tools:
    
    Implemented test runner API for page visibility layout tests.
    
    * DumpRenderTree/gtk/TestRunnerGtk.cpp:
    (TestRunner::resetPageVisibility):
    (TestRunner::setPageVisibility):
    * Scripts/webkitperl/FeatureList.pm:
    
    LayoutTests:
    
    * platform/gtk/TestExpectations:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@148088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    41e5cc3b
SetupWebKitFeatures.m4 6.39 KB