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

Unified Diff: content/browser/renderer_host/render_widget_host_view_win.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
« no previous file with comments | « content/browser/renderer_host/render_widget_host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_win.cc
===================================================================
--- content/browser/renderer_host/render_widget_host_view_win.cc (revision 101850)
+++ content/browser/renderer_host/render_widget_host_view_win.cc (working copy)
@@ -762,8 +762,7 @@
void RenderWidgetHostViewWin::SetBackground(const SkBitmap& background) {
RenderWidgetHostView::SetBackground(background);
- Send(new ViewMsg_SetBackground(render_widget_host_->routing_id(),
- background));
+ render_widget_host_->SetBackground(background);
}
void RenderWidgetHostViewWin::SetVisuallyDeemphasized(const SkColor* color,
@@ -1630,16 +1629,14 @@
if (!render_widget_host_)
return;
- render_widget_host_->Send(new ViewMsg_SetAccessibilityFocus(
- render_widget_host_->routing_id(), acc_obj_id));
+ render_widget_host_->AccessibilitySetFocus(acc_obj_id);
}
void RenderWidgetHostViewWin::AccessibilityDoDefaultAction(int acc_obj_id) {
if (!render_widget_host_)
return;
- render_widget_host_->Send(new ViewMsg_AccessibilityDoDefaultAction(
- render_widget_host_->routing_id(), acc_obj_id));
+ render_widget_host_->AccessibilityDoDefaultAction(acc_obj_id);
}
IAccessible* RenderWidgetHostViewWin::GetIAccessible() {
« no previous file with comments | « content/browser/renderer_host/render_widget_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698