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

Unified Diff: chrome/browser/ui/cocoa/rwhvm_editcommand_helper.mm

Issue 7972006: Removed sending of the content IPC messages from chrome and replaced them with corresponding APIs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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
Index: chrome/browser/ui/cocoa/rwhvm_editcommand_helper.mm
===================================================================
--- chrome/browser/ui/cocoa/rwhvm_editcommand_helper.mm (revision 101850)
+++ chrome/browser/ui/cocoa/rwhvm_editcommand_helper.mm (working copy)
@@ -8,7 +8,6 @@
#import "chrome/browser/renderer_host/render_widget_host_view_mac.h"
#include "content/browser/renderer_host/render_widget_host.h"
-#include "content/common/view_messages.h"
namespace {
// The names of all the objc selectors w/o ':'s added to an object by
@@ -140,7 +139,7 @@
// The second parameter is the core command value which isn't used here.
RenderWidgetHost* rwh = rwhv->GetRenderWidgetHost();
- rwh->Send(new ViewMsg_ExecuteEditCommand(rwh->routing_id(), command, ""));
+ rwh->ExecuteEditCommand(command, "");
}
} // namespace
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_views.cc ('k') | chrome/browser/ui/gtk/find_bar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698