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

Unified Diff: chrome/browser/renderer_host/render_widget_host.cc

Issue 5526008: Simplify the magic required to create IPC message headers a bit. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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 | « chrome/browser/importer/importer_messages_internal.h ('k') | chrome/browser/ui/views/about_ipc_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_widget_host.cc
===================================================================
--- chrome/browser/renderer_host/render_widget_host.cc (revision 68536)
+++ chrome/browser/renderer_host/render_widget_host.cc (working copy)
@@ -843,7 +843,7 @@
if (dib) {
if (dib->size() < size) {
DLOG(WARNING) << "Transport DIB too small for given rectangle";
- process()->ReceivedBadMessage(ViewHostMsg_UpdateRect__ID);
+ process()->ReceivedBadMessage(ViewHostMsg_UpdateRect::ID);
} else {
// Scroll the backing store.
if (!params.scroll_rect.IsEmpty()) {
@@ -951,12 +951,12 @@
void RenderWidgetHost::OnMsgFocus() {
// Only RenderViewHost can deal with that message.
- process()->ReceivedBadMessage(ViewHostMsg_Focus__ID);
+ process()->ReceivedBadMessage(ViewHostMsg_Focus::ID);
}
void RenderWidgetHost::OnMsgBlur() {
// Only RenderViewHost can deal with that message.
- process()->ReceivedBadMessage(ViewHostMsg_Blur__ID);
+ process()->ReceivedBadMessage(ViewHostMsg_Blur::ID);
}
void RenderWidgetHost::OnMsgSetCursor(const WebCursor& cursor) {
« no previous file with comments | « chrome/browser/importer/importer_messages_internal.h ('k') | chrome/browser/ui/views/about_ipc_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698