Title: [182731] trunk
Revision
182731
Author
[email protected]
Date
2015-04-13 07:11:32 -0700 (Mon, 13 Apr 2015)

Log Message

[cmake] Add ENABLE(ATTACHMENT_ELEMENT) to the build system
https://bugs.webkit.org/show_bug.cgi?id=143664

Reviewed by Gyuyoung Kim.

.:

* Source/cmake/OptionsEfl.cmake:
* Source/cmake/OptionsGTK.cmake:
* Source/cmake/WebKitFeatures.cmake:
* Source/cmakeconfig.h.cmake:

Source/WebCore:

* page/efl/DragControllerEfl.cpp:
(WebCore::DragController::declareAndWriteAttachment): Added stub implementation to fix the build.
* page/gtk/DragControllerGtk.cpp:
(WebCore::DragController::declareAndWriteAttachment): Added stub implementation to fix the build.

Tools:

* Scripts/webkitperl/FeatureList.pm:

Modified Paths

Diff

Modified: trunk/ChangeLog (182730 => 182731)


--- trunk/ChangeLog	2015-04-13 14:08:39 UTC (rev 182730)
+++ trunk/ChangeLog	2015-04-13 14:11:32 UTC (rev 182731)
@@ -1,3 +1,15 @@
+2015-04-13  Csaba Osztrogonác  <[email protected]>
+
+        [cmake] Add ENABLE(ATTACHMENT_ELEMENT) to the build system
+        https://bugs.webkit.org/show_bug.cgi?id=143664
+
+        Reviewed by Gyuyoung Kim.
+
+        * Source/cmake/OptionsEfl.cmake:
+        * Source/cmake/OptionsGTK.cmake:
+        * Source/cmake/WebKitFeatures.cmake:
+        * Source/cmakeconfig.h.cmake:
+
 2015-04-12  Gyuyoung Kim  <[email protected]>
 
         [EFL] Enable Media Source

Modified: trunk/Source/WebCore/ChangeLog (182730 => 182731)


--- trunk/Source/WebCore/ChangeLog	2015-04-13 14:08:39 UTC (rev 182730)
+++ trunk/Source/WebCore/ChangeLog	2015-04-13 14:11:32 UTC (rev 182731)
@@ -1,3 +1,15 @@
+2015-04-13  Csaba Osztrogonác  <[email protected]>
+
+        [cmake] Add ENABLE(ATTACHMENT_ELEMENT) to the build system
+        https://bugs.webkit.org/show_bug.cgi?id=143664
+
+        Reviewed by Gyuyoung Kim.
+
+        * page/efl/DragControllerEfl.cpp:
+        (WebCore::DragController::declareAndWriteAttachment): Added stub implementation to fix the build.
+        * page/gtk/DragControllerGtk.cpp:
+        (WebCore::DragController::declareAndWriteAttachment): Added stub implementation to fix the build.
+
 2015-04-13  Sungmann Cho  <[email protected]>
 
         [Curl] Small improvements to CurlCacheEntry::parseResponseHeaders()

Modified: trunk/Source/WebCore/page/efl/DragControllerEfl.cpp (182730 => 182731)


--- trunk/Source/WebCore/page/efl/DragControllerEfl.cpp	2015-04-13 14:08:39 UTC (rev 182730)
+++ trunk/Source/WebCore/page/efl/DragControllerEfl.cpp	2015-04-13 14:11:32 UTC (rev 182731)
@@ -73,4 +73,10 @@
 {
 }
 
+#if ENABLE(ATTACHMENT_ELEMENT)
+void DragController::declareAndWriteAttachment(DataTransfer&, Element&, const URL&)
+{
 }
+#endif
+
+}

Modified: trunk/Source/WebCore/page/gtk/DragControllerGtk.cpp (182730 => 182731)


--- trunk/Source/WebCore/page/gtk/DragControllerGtk.cpp	2015-04-13 14:08:39 UTC (rev 182730)
+++ trunk/Source/WebCore/page/gtk/DragControllerGtk.cpp	2015-04-13 14:11:32 UTC (rev 182731)
@@ -81,4 +81,10 @@
     frame->editor().writeImageToPasteboard(dataTransfer.pasteboard(), element, url, label);
 }
 
+#if ENABLE(ATTACHMENT_ELEMENT)
+void DragController::declareAndWriteAttachment(DataTransfer&, Element&, const URL&)
+{
 }
+#endif
+
+}

Modified: trunk/Source/cmake/OptionsEfl.cmake (182730 => 182731)


--- trunk/Source/cmake/OptionsEfl.cmake	2015-04-13 14:08:39 UTC (rev 182730)
+++ trunk/Source/cmake/OptionsEfl.cmake	2015-04-13 14:11:32 UTC (rev 182731)
@@ -68,6 +68,7 @@
 
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_3D_RENDERING ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ACCESSIBILITY ON)
+WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ATTACHMENT_ELEMENT OFF)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_BATTERY_STATUS ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS3_TEXT ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS_DEVICE_ADAPTATION ON)

Modified: trunk/Source/cmake/OptionsGTK.cmake (182730 => 182731)


--- trunk/Source/cmake/OptionsGTK.cmake	2015-04-13 14:08:39 UTC (rev 182730)
+++ trunk/Source/cmake/OptionsGTK.cmake	2015-04-13 14:11:32 UTC (rev 182731)
@@ -154,6 +154,7 @@
 # FIXME: We want to expose fewer options to downstream, but for now everything is public.
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_3D_RENDERING ON)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ACCESSIBILITY ON)
+WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_ATTACHMENT_ELEMENT OFF)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_BATTERY_STATUS OFF)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CANVAS_PATH OFF)
 WEBKIT_OPTION_DEFAULT_PORT_VALUE(ENABLE_CSS3_TEXT OFF)

Modified: trunk/Source/cmake/WebKitFeatures.cmake (182730 => 182731)


--- trunk/Source/cmake/WebKitFeatures.cmake	2015-04-13 14:08:39 UTC (rev 182730)
+++ trunk/Source/cmake/WebKitFeatures.cmake	2015-04-13 14:11:32 UTC (rev 182731)
@@ -30,6 +30,7 @@
     WEBKIT_OPTION_DEFINE(ENABLE_ACCELERATED_OVERFLOW_SCROLLING "Toggle accelerated scrolling support" OFF)
     WEBKIT_OPTION_DEFINE(ENABLE_ACCESSIBILITY "Toggle accessibility support" OFF)
     WEBKIT_OPTION_DEFINE(ENABLE_API_TESTS "Enable public API unit tests" OFF)
+    WEBKIT_OPTION_DEFINE(ENABLE_ATTACHMENT_ELEMENT "Toggle attachment element support" OFF)
     WEBKIT_OPTION_DEFINE(ENABLE_AVF_CAPTIONS "Toggle AVFoundation caption support" OFF)
     WEBKIT_OPTION_DEFINE(ENABLE_ASSEMBLER_WX_EXCLUSIVE "Toggle Assembler WX Exclusive support" OFF)
     WEBKIT_OPTION_DEFINE(ENABLE_BATTERY_STATUS "Toggle battery status API support" OFF)

Modified: trunk/Source/cmakeconfig.h.cmake (182730 => 182731)


--- trunk/Source/cmakeconfig.h.cmake	2015-04-13 14:08:39 UTC (rev 182730)
+++ trunk/Source/cmakeconfig.h.cmake	2015-04-13 14:11:32 UTC (rev 182731)
@@ -5,6 +5,7 @@
 #cmakedefine01 ENABLE_ACCELERATED_2D_CANVAS
 #cmakedefine01 ENABLE_ACCELERATED_OVERFLOW_SCROLLING
 #cmakedefine01 ENABLE_API_TESTS
+#cmakedefine01 ENABLE_ATTACHMENT_ELEMENT
 #cmakedefine01 ENABLE_AVF_CAPTIONS
 #cmakedefine01 ENABLE_ASSEMBLER_WX_EXCLUSIVE
 #cmakedefine01 ENABLE_BATTERY_STATUS

Modified: trunk/Tools/ChangeLog (182730 => 182731)


--- trunk/Tools/ChangeLog	2015-04-13 14:08:39 UTC (rev 182730)
+++ trunk/Tools/ChangeLog	2015-04-13 14:11:32 UTC (rev 182731)
@@ -1,3 +1,12 @@
+2015-04-13  Csaba Osztrogonác  <[email protected]>
+
+        [cmake] Add ENABLE(ATTACHMENT_ELEMENT) to the build system
+        https://bugs.webkit.org/show_bug.cgi?id=143664
+
+        Reviewed by Gyuyoung Kim.
+
+        * Scripts/webkitperl/FeatureList.pm:
+
 2015-04-12  Gyuyoung Kim  <[email protected]>
 
         [EFL] Enable Media Source

Modified: trunk/Tools/Scripts/webkitperl/FeatureList.pm (182730 => 182731)


--- trunk/Tools/Scripts/webkitperl/FeatureList.pm	2015-04-13 14:08:39 UTC (rev 182730)
+++ trunk/Tools/Scripts/webkitperl/FeatureList.pm	2015-04-13 14:11:32 UTC (rev 182731)
@@ -44,6 +44,7 @@
 my (
     $threeDRenderingSupport,
     $accelerated2DCanvasSupport,
+    $attachmentElementSupport,
     $batteryStatusSupport,
     $canvasPathSupport,
     $canvasProxySupport,
@@ -154,6 +155,9 @@
     { option => "accelerated-2d-canvas", desc => "Toggle Accelerated 2D Canvas support",
       define => "ENABLE_ACCELERATED_2D_CANVAS", default => isGtk(), value => \$accelerated2DCanvasSupport },
 
+    { option => "attachment-element", desc => "Toggle Attachment Element support",
+      define => "ENABLE_ATTACHMENT_ELEMENT", default => 0, value => \$attachmentElementSupport },
+
     { option => "battery-status", desc => "Toggle Battery Status support",
       define => "ENABLE_BATTERY_STATUS", default => isEfl(), value => \$batteryStatusSupport },
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to