-
philn@webkit.org authored
Reviewed by Martin Robinson. [GTK] Support the Mozilla-style Fullscreen Javascript API https://bugs.webkit.org/show_bug.cgi?id=50572 * configure.ac: new configure flag to disable the new Javascript Fullscreen API build. It is enabled by default. WebCore: Reviewed by Martin Robinson. [GTK] Support the Mozilla-style Fullscreen Javascript API https://bugs.webkit.org/show_bug.cgi?id=50572 * GNUmakefile.am: enable the Javascript Fullscreen API feature if it's been requested at configure time. WebKit/gtk: Reviewed by Martin Robinson. [GTK] Support the Mozilla-style Fullscreen Javascript API https://bugs.webkit.org/show_bug.cgi?id=50572 Fullscreen API support. It is controlled at runtime using a new setting called enable-fullscreen, set to FALSE by default. * WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::supportsFullScreenForElement): (WebKit::ChromeClient::enterFullScreenForElement): (WebKit::ChromeClient::exitFullScreenForElement): * WebCoreSupport/ChromeClientGtk.h: * webkit/webkitwebsettings.cpp: (webkit_web_settings_class_init): (webkit_web_settings_set_property): (webkit_web_settings_get_property): (webkit_web_settings_copy): * webkit/webkitwebview.cpp: (webkit_web_view_update_settings): WebKitTools: Reviewed by Martin Robinson. [GTK] Support the Mozilla-style Fullscreen Javascript API https://bugs.webkit.org/show_bug.cgi?id=50572 Enable the Javascript Fullscreen support in the GtkLauncher. Also make DRT update the Chrome when the WebView settings have been reset to consistent values. * DumpRenderTree/gtk/DumpRenderTree.cpp: (resetDefaultsToConsistentValues): * GtkLauncher/main.c: (create_window): * Scripts/build-webkit: LayoutTests: Reviewed by Martin Robinson. [GTK] Support the Mozilla-style Fullscreen Javascript API https://bugs.webkit.org/show_bug.cgi?id=50572 * platform/gtk/Skipped: Unskip now passing fullscreen tests. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73624 268f45cc-cd09-0410-ab3c-d52691b4dbfc
9d37a571