Skip to content
Permalink
Browse files
[GTK] Remove support to enable/disable experimental features
https://bugs.webkit.org/show_bug.cgi?id=167586

Reviewed by Michael Catanzaro.

As requested in bug #167578 we should remove the support to enable/disable
experimental features in WebKitGTK+.
One reason is that CSS Grid Layout is going to be enabled by default now,
so we don't need it to be in this file.
Another is that this support needs to be rewritten to use
the enumerable experimental features API.

* PlatformGTK.cmake:
* UIProcess/API/gtk/WebKitSettings.cpp:
(webKitSettingsConstructed):
* UIProcess/gtk/ExperimentalFeatures.cpp: Removed.
* UIProcess/gtk/ExperimentalFeatures.h: Removed.


Canonical link: https://commits.webkit.org/184608@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@211364 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
mrego committed Jan 30, 2017
1 parent 3600af5 commit 4779f84529caf9a270a506a3855935ab02be0ec9
@@ -1,3 +1,23 @@
2017-01-30 Manuel Rego Casasnovas <rego@igalia.com>

[GTK] Remove support to enable/disable experimental features
https://bugs.webkit.org/show_bug.cgi?id=167586

Reviewed by Michael Catanzaro.

As requested in bug #167578 we should remove the support to enable/disable
experimental features in WebKitGTK+.
One reason is that CSS Grid Layout is going to be enabled by default now,
so we don't need it to be in this file.
Another is that this support needs to be rewritten to use
the enumerable experimental features API.

* PlatformGTK.cmake:
* UIProcess/API/gtk/WebKitSettings.cpp:
(webKitSettingsConstructed):
* UIProcess/gtk/ExperimentalFeatures.cpp: Removed.
* UIProcess/gtk/ExperimentalFeatures.h: Removed.

2017-01-30 Carlos Garcia Campos <cgarcia@igalia.com>

[GTK] Add API to handle the accelerated compositing policy
@@ -309,7 +309,6 @@ list(APPEND WebKit2_SOURCES
UIProcess/gtk/AcceleratedBackingStoreWayland.cpp
UIProcess/gtk/AcceleratedBackingStoreX11.cpp
UIProcess/gtk/DragAndDropHandler.cpp
UIProcess/gtk/ExperimentalFeatures.cpp
UIProcess/gtk/GestureController.cpp
UIProcess/gtk/InputMethodFilter.cpp
UIProcess/gtk/KeyBindingTranslator.cpp
@@ -31,7 +31,6 @@
#include "config.h"
#include "WebKitSettings.h"

#include "ExperimentalFeatures.h"
#include "WebKitEnumTypes.h"
#include "WebKitPrivate.h"
#include "WebKitSettingsPrivate.h"
@@ -156,10 +155,6 @@ static void webKitSettingsConstructed(GObject* object)

WebPreferences* prefs = WEBKIT_SETTINGS(object)->priv->preferences.get();
prefs->setShouldRespectImageOrientation(true);
ExperimentalFeatures features;
bool cssGridLayoutEnabled = features.isEnabled(ExperimentalFeatures::CSSGridLayout);
if (prefs->cssGridLayoutEnabled() != cssGridLayoutEnabled)
prefs->setCSSGridLayoutEnabled(cssGridLayoutEnabled);
}

static void webKitSettingsSetProperty(GObject* object, guint propId, const GValue* value, GParamSpec* paramSpec)

This file was deleted.

This file was deleted.

0 comments on commit 4779f84

Please sign in to comment.