Title: [119592] trunk/Source/WebKit2
Revision
119592
Author
[email protected]
Date
2012-06-06 08:57:16 -0700 (Wed, 06 Jun 2012)

Log Message

[WK2-Gtk]Compilation errors with flag CONTEXT_MENUS=0
https://bugs.webkit.org/show_bug.cgi?id=87842

Patch by chandra Shekar Vallala <[email protected]> on 2012-06-06
Reviewed by Martin Robinson.

Fix for compilation errors while building webkit2-gtk with CONTEXT_MENUS=0

* UIProcess/gtk/WebContextMenuProxyGtk.cpp: Added code under CONTEXT_MENUS CC
* UIProcess/gtk/WebContextMenuProxyGtk.h: Ditto
* WebProcess/WebCoreSupport/gtk/WebContextMenuClientGtk.cpp: Ditto

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (119591 => 119592)


--- trunk/Source/WebKit2/ChangeLog	2012-06-06 15:17:20 UTC (rev 119591)
+++ trunk/Source/WebKit2/ChangeLog	2012-06-06 15:57:16 UTC (rev 119592)
@@ -1,3 +1,16 @@
+2012-06-06  chandra Shekar Vallala  <[email protected]>
+
+        [WK2-Gtk]Compilation errors with flag CONTEXT_MENUS=0
+        https://bugs.webkit.org/show_bug.cgi?id=87842
+
+        Reviewed by Martin Robinson.
+
+        Fix for compilation errors while building webkit2-gtk with CONTEXT_MENUS=0
+
+        * UIProcess/gtk/WebContextMenuProxyGtk.cpp: Added code under CONTEXT_MENUS CC
+        * UIProcess/gtk/WebContextMenuProxyGtk.h: Ditto
+        * WebProcess/WebCoreSupport/gtk/WebContextMenuClientGtk.cpp: Ditto
+
 2012-06-06  Michael BrĂ¼ning  <[email protected]>
 
         [Qt][WK2] Add preferredMinimumContentsWidth to the viewport info in MiniBrowser.

Modified: trunk/Source/WebKit2/UIProcess/gtk/WebContextMenuProxyGtk.cpp (119591 => 119592)


--- trunk/Source/WebKit2/UIProcess/gtk/WebContextMenuProxyGtk.cpp	2012-06-06 15:17:20 UTC (rev 119591)
+++ trunk/Source/WebKit2/UIProcess/gtk/WebContextMenuProxyGtk.cpp	2012-06-06 15:57:16 UTC (rev 119592)
@@ -26,6 +26,8 @@
 #include "config.h"
 #include "WebContextMenuProxyGtk.h"
 
+#if ENABLE(CONTEXT_MENUS)
+
 #include "NativeWebMouseEvent.h"
 #include "WebContextMenuItemData.h"
 #include "WebPageProxy.h"
@@ -124,3 +126,4 @@
 }
 
 } // namespace WebKit
+#endif // ENABLE(CONTEXT_MENUS)

Modified: trunk/Source/WebKit2/UIProcess/gtk/WebContextMenuProxyGtk.h (119591 => 119592)


--- trunk/Source/WebKit2/UIProcess/gtk/WebContextMenuProxyGtk.h	2012-06-06 15:17:20 UTC (rev 119591)
+++ trunk/Source/WebKit2/UIProcess/gtk/WebContextMenuProxyGtk.h	2012-06-06 15:57:16 UTC (rev 119592)
@@ -26,6 +26,8 @@
 #ifndef WebContextMenuProxyGtk_h
 #define WebContextMenuProxyGtk_h
 
+#if ENABLE(CONTEXT_MENUS)
+
 #include "WebContextMenuProxy.h"
 #include <WebCore/IntPoint.h>
 
@@ -60,4 +62,5 @@
 
 } // namespace WebKit
 
+#endif // ENABLE(CONTEXT_MENUS)
 #endif // WebContextMenuProxyGtk_h

Modified: trunk/Source/WebKit2/WebProcess/WebCoreSupport/gtk/WebContextMenuClientGtk.cpp (119591 => 119592)


--- trunk/Source/WebKit2/WebProcess/WebCoreSupport/gtk/WebContextMenuClientGtk.cpp	2012-06-06 15:17:20 UTC (rev 119591)
+++ trunk/Source/WebKit2/WebProcess/WebCoreSupport/gtk/WebContextMenuClientGtk.cpp	2012-06-06 15:57:16 UTC (rev 119592)
@@ -27,6 +27,8 @@
 #include "config.h"
 #include "WebContextMenuClient.h"
 
+#if ENABLE(CONTEXT_MENUS)
+
 #include <WebCore/NotImplemented.h>
 
 using namespace WebCore;
@@ -55,3 +57,4 @@
 }
 
 } // namespace WebKit
+#endif // ENABLE(CONTEXT_MENUS)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to