Title: [102590] trunk/Source/WebCore
Revision
102590
Author
commit-qu...@webkit.org
Date
2011-12-12 08:47:49 -0800 (Mon, 12 Dec 2011)

Log Message

Upstream 3 files into WebCore/platform/blackberry
https://bugs.webkit.org/show_bug.cgi?id=74275

Patch by Mary Wu <mary...@torchmobile.com.cn> on 2011-12-12
Reviewed by Rob Buis.

Initial upstream, no new tests.

* platform/blackberry/ContextMenuBlackBerry.cpp: Added.
* platform/blackberry/ContextMenuItemBlackBerry.cpp: Added.
* platform/blackberry/TemporaryLinkStubs.cpp: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (102589 => 102590)


--- trunk/Source/WebCore/ChangeLog	2011-12-12 16:44:31 UTC (rev 102589)
+++ trunk/Source/WebCore/ChangeLog	2011-12-12 16:47:49 UTC (rev 102590)
@@ -1,3 +1,16 @@
+2011-12-12  Mary Wu  <mary...@torchmobile.com.cn>
+
+        Upstream 3 files into WebCore/platform/blackberry
+        https://bugs.webkit.org/show_bug.cgi?id=74275
+
+        Reviewed by Rob Buis.
+
+        Initial upstream, no new tests.
+
+        * platform/blackberry/ContextMenuBlackBerry.cpp: Added.
+        * platform/blackberry/ContextMenuItemBlackBerry.cpp: Added.
+        * platform/blackberry/TemporaryLinkStubs.cpp: Added.
+
 2011-12-12  Pierre Rossi  <pierre.ro...@gmail.com>
 
         [Qt] Rendering issues with sliders and QStyle

Added: trunk/Source/WebCore/platform/blackberry/ContextMenuBlackBerry.cpp (0 => 102590)


--- trunk/Source/WebCore/platform/blackberry/ContextMenuBlackBerry.cpp	                        (rev 0)
+++ trunk/Source/WebCore/platform/blackberry/ContextMenuBlackBerry.cpp	2011-12-12 16:47:49 UTC (rev 102590)
@@ -0,0 +1,46 @@
+/*
+ * Copyright (C) 2009 Research In Motion Limited. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ */
+
+#include "config.h"
+#include "ContextMenu.h"
+
+#include "NotImplemented.h"
+
+namespace WebCore {
+
+ContextMenu::ContextMenu()
+{
+    notImplemented();
+}
+
+ContextMenu::~ContextMenu()
+{
+    notImplemented();
+}
+
+void ContextMenu::appendItem(ContextMenuItem&)
+{
+    notImplemented();
+}
+
+void ContextMenu::setPlatformDescription(void*)
+{
+    notImplemented();
+}
+
+} // namespace WebCore

Added: trunk/Source/WebCore/platform/blackberry/ContextMenuItemBlackBerry.cpp (0 => 102590)


--- trunk/Source/WebCore/platform/blackberry/ContextMenuItemBlackBerry.cpp	                        (rev 0)
+++ trunk/Source/WebCore/platform/blackberry/ContextMenuItemBlackBerry.cpp	2011-12-12 16:47:49 UTC (rev 102590)
@@ -0,0 +1,75 @@
+/*
+ * Copyright (C) 2009 Research In Motion Limited. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ */
+
+#include "config.h"
+#include "ContextMenuItem.h"
+
+#include "ContextMenu.h"
+#include "NotImplemented.h"
+
+namespace WebCore {
+
+ContextMenuItem::ContextMenuItem(ContextMenuItemType, ContextMenuAction, String const&, ContextMenu*)
+{
+    notImplemented();
+}
+
+ContextMenuItem::~ContextMenuItem()
+{
+    notImplemented();
+}
+
+void ContextMenuItem::setChecked(bool)
+{
+    notImplemented();
+}
+
+void ContextMenuItem::setEnabled(bool)
+{
+    notImplemented();
+}
+
+void ContextMenuItem::setSubMenu(ContextMenu*)
+{
+    notImplemented();
+}
+
+void ContextMenuItem::setTitle(String const&)
+{
+    notImplemented();
+}
+
+ContextMenuAction ContextMenuItem::action() const
+{
+    notImplemented();
+    return ContextMenuItemTagNoAction;
+}
+
+ContextMenuItemType ContextMenuItem::type() const
+{
+    notImplemented();
+    return ActionType;
+}
+
+String ContextMenuItem::title() const
+{
+    notImplemented();
+    return String();
+}
+
+} // namespace WebCore

Added: trunk/Source/WebCore/platform/blackberry/TemporaryLinkStubs.cpp (0 => 102590)


--- trunk/Source/WebCore/platform/blackberry/TemporaryLinkStubs.cpp	                        (rev 0)
+++ trunk/Source/WebCore/platform/blackberry/TemporaryLinkStubs.cpp	2011-12-12 16:47:49 UTC (rev 102590)
@@ -0,0 +1,37 @@
+/*
+ * Copyright (C) 2009 Research In Motion Limited. All rights reserved.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ */
+
+#include "config.h"
+
+#include "NotImplemented.h"
+
+#include "PlatformString.h"
+
+namespace WebCore {
+
+void prefetchDNS(String const&)
+{
+    notImplemented();
+}
+
+void setCookieStoragePrivateBrowsingEnabled(bool)
+{
+    notImplemented();
+}
+
+} // namespace WebCore
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to