2011-03-10 Gyuyoung Kim <gyuyoung.kim@samsung.com>
[WebKit-https.git] / Source / WebCore / platform / efl / ContextMenuItemEfl.cpp
index 5ce8fabb5c4113e68e663d372b411acd600c0ec3..48ac253b056889447406413c78eff3fcff819fa6 100644 (file)
 
 namespace WebCore {
 
-ContextMenuItem::ContextMenuItem(void* const&)
-{
-    notImplemented();
-}
-
 ContextMenuItem::ContextMenuItem(ContextMenuItemType, ContextMenuAction, const String&, ContextMenu*)
 {
     notImplemented();
@@ -49,11 +44,13 @@ ContextMenuItem::~ContextMenuItem()
     notImplemented();
 }
 
+#if USE(CROSS_PLATFORM_CONTEXT_MENUS)
 void* ContextMenuItem::nativeMenuItem() const
 {
     notImplemented();
     return 0;
 }
+#endif
 
 ContextMenuItemType ContextMenuItem::type() const
 {