Title: [101465] trunk/Source/WebCore
- Revision
- 101465
- Author
- [email protected]
- Date
- 2011-11-30 01:41:36 -0800 (Wed, 30 Nov 2011)
Log Message
Upstream BlackBerry porting of WebCore/editing.
https://bugs.webkit.org/show_bug.cgi?id=73275
Patch by Jacky Jiang <[email protected]> on 2011-11-30
Reviewed by Daniel Bates.
Initial upstream, no new tests.
* editing/blackberry/EditorBlackBerry.cpp: Added.
(WebCore::Editor::newGeneralClipboard):
* editing/blackberry/SmartReplaceBlackBerry.cpp: Added.
(WebCore::isCharacterSmartReplaceExempt):
Modified Paths
Added Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (101464 => 101465)
--- trunk/Source/WebCore/ChangeLog 2011-11-30 09:37:51 UTC (rev 101464)
+++ trunk/Source/WebCore/ChangeLog 2011-11-30 09:41:36 UTC (rev 101465)
@@ -1,3 +1,17 @@
+2011-11-30 Jacky Jiang <[email protected]>
+
+ Upstream BlackBerry porting of WebCore/editing.
+ https://bugs.webkit.org/show_bug.cgi?id=73275
+
+ Reviewed by Daniel Bates.
+
+ Initial upstream, no new tests.
+
+ * editing/blackberry/EditorBlackBerry.cpp: Added.
+ (WebCore::Editor::newGeneralClipboard):
+ * editing/blackberry/SmartReplaceBlackBerry.cpp: Added.
+ (WebCore::isCharacterSmartReplaceExempt):
+
2011-11-30 Noel Gordon <[email protected]>
JPEGImageDecoder: Code input color space case entries in numerical order
Added: trunk/Source/WebCore/editing/blackberry/EditorBlackBerry.cpp (0 => 101465)
--- trunk/Source/WebCore/editing/blackberry/EditorBlackBerry.cpp (rev 0)
+++ trunk/Source/WebCore/editing/blackberry/EditorBlackBerry.cpp 2011-11-30 09:41:36 UTC (rev 101465)
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/
+ * Copyright (C) 2010, 2011 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 "Editor.h"
+
+#include "ClipboardBlackBerry.h"
+#include <wtf/PassRefPtr.h>
+
+namespace WebCore {
+
+PassRefPtr<Clipboard> Editor::newGeneralClipboard(ClipboardAccessPolicy policy, Frame*)
+{
+ return ClipboardBlackBerry::create(policy);
+}
+
+} // namespace WebCore
Added: trunk/Source/WebCore/editing/blackberry/SmartReplaceBlackBerry.cpp (0 => 101465)
--- trunk/Source/WebCore/editing/blackberry/SmartReplaceBlackBerry.cpp (rev 0)
+++ trunk/Source/WebCore/editing/blackberry/SmartReplaceBlackBerry.cpp 2011-11-30 09:41:36 UTC (rev 101465)
@@ -0,0 +1,32 @@
+/*
+ * Copyright (C) 2010, 2011 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 "SmartReplace.h"
+
+#include "NotImplemented.h"
+
+namespace WebCore {
+
+bool isCharacterSmartReplaceExempt(UChar32, bool)
+{
+ notImplemented();
+ return false;
+}
+
+} // namespace WebCore
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes