diff options
Diffstat (limited to 'WebCore/editing/Editor.h')
-rw-r--r-- | WebCore/editing/Editor.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/WebCore/editing/Editor.h b/WebCore/editing/Editor.h index 5b0cc9c..17dd3bb 100644 --- a/WebCore/editing/Editor.h +++ b/WebCore/editing/Editor.h @@ -43,6 +43,7 @@ class EditorClient; class EditorInternalCommand; class HTMLElement; class HitTestResult; +class KillRing; class Pasteboard; class SimpleFontData; class Text; @@ -278,11 +279,7 @@ public: VisibleSelection selectionForCommand(Event*); - void appendToKillRing(const String&); - void prependToKillRing(const String&); - String yankFromKillRing(); - void startNewKillRingSequence(); - void setKillRingToYankedState(); + KillRing* killRing() const { return m_killRing.get(); } PassRefPtr<Range> selectedRange(); @@ -305,6 +302,7 @@ private: bool m_ignoreCompositionSelectionChange; bool m_shouldStartNewKillRingSequence; bool m_shouldStyleWithCSS; + OwnPtr<KillRing> m_killRing; bool canDeleteRange(Range*) const; bool canSmartReplaceWithPasteboard(Pasteboard*); |