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

Unified Diff: content/browser/renderer_host/render_widget_host_view_gtk.cc

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: content/browser/renderer_host/render_widget_host_view_gtk.cc
===================================================================
--- content/browser/renderer_host/render_widget_host_view_gtk.cc (revision 101850)
+++ content/browser/renderer_host/render_widget_host_view_gtk.cc (working copy)
@@ -929,7 +929,7 @@
void RenderWidgetHostViewGtk::SetBackground(const SkBitmap& background) {
RenderWidgetHostView::SetBackground(background);
- host_->Send(new ViewMsg_SetBackground(host_->routing_id(), background));
+ host_->SetBackground(background);
}
void RenderWidgetHostViewGtk::ModifyEventForEdgeDragging(
@@ -1192,8 +1192,7 @@
EditCommands edit_commands;
if (!event.skip_in_browser &&
key_bindings_handler_->Match(event, &edit_commands)) {
- host_->Send(new ViewMsg_SetEditCommandsForNextKeyEvent(
- host_->routing_id(), edit_commands));
+ host_->SetEditCommandsForNextKeyEvent(edit_commands);
NativeWebKeyboardEvent copy_event(event);
copy_event.match_edit_command = true;
host_->ForwardKeyboardEvent(copy_event);

Powered by Google App Engine
This is Rietveld 408576698