summaryrefslogtreecommitdiffstats
path: root/WebCore/page/EditorClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/page/EditorClient.h')
-rw-r--r--WebCore/page/EditorClient.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/WebCore/page/EditorClient.h b/WebCore/page/EditorClient.h
index 4a192d7..97b0902 100644
--- a/WebCore/page/EditorClient.h
+++ b/WebCore/page/EditorClient.h
@@ -37,12 +37,16 @@
#if PLATFORM(MAC)
#ifdef __OBJC__
@class NSArray;
+@class NSAttributedString;
@class NSData;
+@class NSPasteboard;
@class NSString;
@class NSURL;
#else
class NSArray;
+class NSAttributedString;
class NSData;
+class NSPasteboard;
class NSString;
class NSURL;
#endif
@@ -50,7 +54,9 @@ class NSURL;
namespace WebCore {
+class ArchiveResource;
class CSSStyleDeclaration;
+class DocumentFragment;
class EditCommand;
class Editor;
class Element;
@@ -147,6 +153,8 @@ public:
#if PLATFORM(MAC)
virtual NSString* userVisibleString(NSURL*) = 0;
+ virtual DocumentFragment* documentFragmentFromAttributedString(NSAttributedString*, Vector< RefPtr<ArchiveResource> >&) = 0;
+ virtual void setInsertionPasteboard(NSPasteboard*) = 0;
#ifdef BUILDING_ON_TIGER
virtual NSArray* pasteboardTypesForSelection(Frame*) = 0;
#endif
@@ -183,6 +191,7 @@ public:
#if PLATFORM(MAC) && !defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD) && !defined(BUILDING_ON_SNOW_LEOPARD)
virtual void showCorrectionPanel(const FloatRect& boundingBoxOfReplacedString, const String& replacedString, const String& replacmentString, Editor*) = 0;
virtual void dismissCorrectionPanel(bool correctionAccepted) = 0;
+ virtual bool isShowingCorrectionPanel() = 0;
#endif
virtual void updateSpellingUIWithGrammarString(const String&, const GrammarDetail& detail) = 0;