Diff
Modified: trunk/Source/WebKit/efl/ChangeLog (117659 => 117660)
--- trunk/Source/WebKit/efl/ChangeLog 2012-05-18 23:58:21 UTC (rev 117659)
+++ trunk/Source/WebKit/efl/ChangeLog 2012-05-19 00:04:32 UTC (rev 117660)
@@ -1,3 +1,14 @@
+2012-05-18 Raphael Kubo da Costa <[email protected]>
+
+ [EFL][DRT] Make it possible to enable CSS Grid Layout.
+ https://bugs.webkit.org/show_bug.cgi?id=86921
+
+ Reviewed by Tony Chang.
+
+ * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
+ (DumpRenderTreeSupportEfl::setCSSGridLayoutEnabled):
+ * WebCoreSupport/DumpRenderTreeSupportEfl.h:
+
2012-05-18 Christophe Dumez <[email protected]>
[EFL] Web Intents code is not compiling
Modified: trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp (117659 => 117660)
--- trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp 2012-05-18 23:58:21 UTC (rev 117659)
+++ trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp 2012-05-19 00:04:32 UTC (rev 117660)
@@ -420,6 +420,13 @@
return page->findString(text, options);
}
+void DumpRenderTreeSupportEfl::setCSSGridLayoutEnabled(const Evas_Object* ewkView, bool enabled)
+{
+ WebCore::Page* corePage = EWKPrivate::corePage(ewkView);
+ if (corePage)
+ corePage->settings()->setCSSGridLayoutEnabled(enabled);
+}
+
void DumpRenderTreeSupportEfl::setJavaScriptProfilingEnabled(const Evas_Object* ewkView, bool enabled)
{
#if ENABLE(_javascript__DEBUGGER) && ENABLE(INSPECTOR)
Modified: trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h (117659 => 117660)
--- trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h 2012-05-18 23:58:21 UTC (rev 117659)
+++ trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h 2012-05-19 00:04:32 UTC (rev 117660)
@@ -76,6 +76,7 @@
static void executeCoreCommandByName(const Evas_Object* ewkView, const char* name, const char* value);
static bool findString(const Evas_Object* ewkView, const String& text, WebCore::FindOptions);
static bool isCommandEnabled(const Evas_Object* ewkView, const char* name);
+ static void setCSSGridLayoutEnabled(const Evas_Object* ewkView, bool enabled);
static void setJavaScriptProfilingEnabled(const Evas_Object* ewkView, bool enabled);
static void setSmartInsertDeleteEnabled(Evas_Object* ewkView, bool enabled);
static void setSelectTrailingWhitespaceEnabled(Evas_Object* ewkView, bool enabled);
Modified: trunk/Tools/ChangeLog (117659 => 117660)
--- trunk/Tools/ChangeLog 2012-05-18 23:58:21 UTC (rev 117659)
+++ trunk/Tools/ChangeLog 2012-05-19 00:04:32 UTC (rev 117660)
@@ -1,3 +1,15 @@
+2012-05-18 Raphael Kubo da Costa <[email protected]>
+
+ [EFL][DRT] Make it possible to enable CSS Grid Layout.
+ https://bugs.webkit.org/show_bug.cgi?id=86921
+
+ Reviewed by Tony Chang.
+
+ * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
+ (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
+ * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
+ (LayoutTestController::overridePreference):
+
2012-05-18 Dirk Pranke <[email protected]>
scm.add() doesn't work properly with svn 1.7
Modified: trunk/Tools/DumpRenderTree/efl/DumpRenderTreeChrome.cpp (117659 => 117660)
--- trunk/Tools/DumpRenderTree/efl/DumpRenderTreeChrome.cpp 2012-05-18 23:58:21 UTC (rev 117659)
+++ trunk/Tools/DumpRenderTree/efl/DumpRenderTreeChrome.cpp 2012-05-19 00:04:32 UTC (rev 117660)
@@ -265,6 +265,7 @@
DumpRenderTreeSupportEfl::clearUserStyleSheets(mainView());
DumpRenderTreeSupportEfl::setInteractiveFormValidationEnabled(mainView(), true);
DumpRenderTreeSupportEfl::setAuthorAndUserStylesEnabled(mainView(), true);
+ DumpRenderTreeSupportEfl::setCSSGridLayoutEnabled(mainView(), false);
DumpRenderTreeSupportEfl::setSmartInsertDeleteEnabled(mainView(), false);
DumpRenderTreeSupportEfl::setSelectTrailingWhitespaceEnabled(mainView(), false);
DumpRenderTreeSupportEfl::setDefersLoading(mainView(), false);
Modified: trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp (117659 => 117660)
--- trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp 2012-05-18 23:58:21 UTC (rev 117659)
+++ trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp 2012-05-19 00:04:32 UTC (rev 117660)
@@ -681,6 +681,8 @@
ewk_view_setting_include_links_in_focus_chain_set(browser->mainView(), toBool(value));
else if (equals(key, "WebKitLoadSiteIconsKey"))
DumpRenderTreeSupportEfl::setLoadsSiteIconsIgnoringImageLoadingSetting(browser->mainView(), toBool(value));
+ else if (equals(key, "WebKitCSSGridLayoutEnabled"))
+ DumpRenderTreeSupportEfl::setCSSGridLayoutEnabled(browser->mainView(), toBool(value));
else
fprintf(stderr, "LayoutTestController::overridePreference tried to override unknown preference '%s'.\n", value->ustring().utf8().data());
}