Add support for using the current text selection as the find string on iOS
[WebKit-https.git] / Source / WebCore / editing / Editor.h
index 7cad220..05cc1b8 100644 (file)
@@ -485,9 +485,8 @@ public:
 #if PLATFORM(COCOA)
     WEBCORE_EXPORT String stringSelectionForPasteboard();
     String stringSelectionForPasteboardWithImageAltText();
-#if !PLATFORM(IOS_FAMILY)
-    bool canCopyExcludingStandaloneImages();
     void takeFindStringFromSelection();
+#if !PLATFORM(IOS_FAMILY)
     WEBCORE_EXPORT void readSelectionFromPasteboard(const String& pasteboardName);
     WEBCORE_EXPORT void replaceNodeFromPasteboard(Node*, const String& pasteboardName);
     WEBCORE_EXPORT RefPtr<SharedBuffer> dataSelectionForPasteboard(const String& pasteboardName);
@@ -495,6 +494,8 @@ public:
     WEBCORE_EXPORT void replaceSelectionWithAttributedString(NSAttributedString *, MailBlockquoteHandling = MailBlockquoteHandling::RespectBlockquote);
 #endif
 
+    bool canCopyExcludingStandaloneImages() const;
+
     String clientReplacementURLForResource(Ref<SharedBuffer>&& resourceData, const String& mimeType);
 
 #if !PLATFORM(WIN)