EditorWPE should be EditorLibWPE
authordon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Nov 2018 23:27:06 +0000 (23:27 +0000)
committerdon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 16 Nov 2018 23:27:06 +0000 (23:27 +0000)
https://bugs.webkit.org/show_bug.cgi?id=191774

Reviewed by Michael Catanzaro.

The platform specific implementations of Editor are all around the
platform's Pasteboard. Since the Pasteboard implementation is now based
around USE(LIBWPE) EditorWPE should be renamed to EditorLibWPE.

* SourcesWPE.txt:
* editing/libwpe/EditorLibWPE.cpp: Renamed from Source/WebCore/editing/wpe/EditorWPE.cpp.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@238317 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/SourcesWPE.txt
Source/WebCore/editing/libwpe/EditorLibWPE.cpp [moved from Source/WebCore/editing/wpe/EditorWPE.cpp with 98% similarity]

index d5dc24a..2b8fa02 100644 (file)
@@ -1,3 +1,17 @@
+2018-11-16  Don Olmstead  <don.olmstead@sony.com>
+
+        EditorWPE should be EditorLibWPE
+        https://bugs.webkit.org/show_bug.cgi?id=191774
+
+        Reviewed by Michael Catanzaro.
+
+        The platform specific implementations of Editor are all around the
+        platform's Pasteboard. Since the Pasteboard implementation is now based
+        around USE(LIBWPE) EditorWPE should be renamed to EditorLibWPE.
+
+        * SourcesWPE.txt:
+        * editing/libwpe/EditorLibWPE.cpp: Renamed from Source/WebCore/editing/wpe/EditorWPE.cpp.
+
 2018-11-16  Jeremy Jones  <jeremyj@apple.com>
 
         Include AirPlay destination name in AirPlay placard.
index 09fcc55..cb982e8 100644 (file)
@@ -24,7 +24,7 @@
 accessibility/wpe/AXObjectCacheWPE.cpp
 accessibility/wpe/AccessibilityObjectWPE.cpp
 
-editing/wpe/EditorWPE.cpp
+editing/libwpe/EditorLibWPE.cpp
 
 loader/soup/ResourceLoaderSoup.cpp
 
similarity index 98%
rename from Source/WebCore/editing/wpe/EditorWPE.cpp
rename to Source/WebCore/editing/libwpe/EditorLibWPE.cpp
index b50540a..5d15a64 100644 (file)
 #include "config.h"
 #include "Editor.h"
 
+#if USE(LIBWPE)
+
 #include "DocumentFragment.h"
 #include "Frame.h"
 #include "NotImplemented.h"
 #include "Pasteboard.h"
+#include "Settings.h"
 #include "markup.h"
 
 namespace WebCore {
@@ -91,3 +94,5 @@ void Editor::pasteWithPasteboard(Pasteboard* pasteboard, OptionSet<PasteOption>
 }
 
 } // namespace WebCore
+
+#endif // USE(LIBWPE)