diff options
Diffstat (limited to 'Source/WebKit/chromium/src/EditorClientImpl.cpp')
-rw-r--r-- | Source/WebKit/chromium/src/EditorClientImpl.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Source/WebKit/chromium/src/EditorClientImpl.cpp b/Source/WebKit/chromium/src/EditorClientImpl.cpp index 3dc3a6a..38d4f5e 100644 --- a/Source/WebKit/chromium/src/EditorClientImpl.cpp +++ b/Source/WebKit/chromium/src/EditorClientImpl.cpp @@ -187,11 +187,6 @@ int EditorClientImpl::spellCheckerDocumentTag() return 0; } -bool EditorClientImpl::isEditable() -{ - return false; -} - bool EditorClientImpl::shouldBeginEditing(Range* range) { if (m_webView->client()) @@ -324,6 +319,16 @@ void EditorClientImpl::clearUndoRedoOperations() m_redoStack.clear(); } +bool EditorClientImpl::canCopyCut(bool defaultValue) const +{ + return defaultValue; +} + +bool EditorClientImpl::canPaste(bool defaultValue) const +{ + return defaultValue; +} + bool EditorClientImpl::canUndo() const { return !m_undoStack.isEmpty(); |