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

Unified Diff: content/renderer/render_view_impl.cc

Issue 297333002: Get rid of unused API function WebViewClient:: didExecuteCommand (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months 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 | « content/renderer/render_view_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 904716824bf6f98e2bb0b81e04e897f1f1b3a3c9..b67f6038fb4fc638ce57e52af57c320eb59dd5f6 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -1559,15 +1559,6 @@ void RenderViewImpl::didCancelCompositionOnSelectionChange() {
Send(new ViewHostMsg_ImeCancelComposition(routing_id()));
}
-void RenderViewImpl::didExecuteCommand(const WebString& command_name) {
- const std::string& name = base::UTF16ToUTF8(command_name);
- if (StartsWithASCII(name, "Move", true) ||
- StartsWithASCII(name, "Insert", true) ||
- StartsWithASCII(name, "Delete", true))
- return;
- RenderThreadImpl::current()->RecordComputedAction(name);
-}
-
bool RenderViewImpl::handleCurrentKeyboardEvent() {
if (edit_commands_.empty())
return false;
« no previous file with comments | « content/renderer/render_view_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698