Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(658)

Unified Diff: Source/core/editing/Editor.cpp

Issue 806223002: Remove unused/unneeded code from core/editing. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/editing/Editor.h ('k') | Source/core/editing/TextCheckingHelper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/Editor.cpp
diff --git a/Source/core/editing/Editor.cpp b/Source/core/editing/Editor.cpp
index d90b8333e80e28c61a282dc6da697621fea5db20..2c188ce19604c771b3324ed47b3cdcd66be4824b 100644
--- a/Source/core/editing/Editor.cpp
+++ b/Source/core/editing/Editor.cpp
@@ -202,11 +202,6 @@ bool Editor::canDHTMLCopy()
return !frame().selection().isInPasswordField() && !dispatchCPPEvent(EventTypeNames::beforecopy, DataTransferNumb);
}
-bool Editor::canDHTMLPaste()
-{
- return !dispatchCPPEvent(EventTypeNames::beforepaste, DataTransferNumb);
-}
-
bool Editor::canCut() const
{
return canCopy() && canDelete();
« no previous file with comments | « Source/core/editing/Editor.h ('k') | Source/core/editing/TextCheckingHelper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698