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

Unified Diff: content/common/view_messages.h

Issue 525523003: Remove two unnecessary params in ViewHostMsg_UpdateRect_Params (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android build Created 6 years, 4 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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index fe4140d4a0d2c7106c42dd064e25bf541bd870c4..8e719cfb49b9359ed8fd990dce76a49fe3df9341 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -374,9 +374,6 @@ IPC_STRUCT_BEGIN(ViewHostMsg_TextInputState_Params)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(ViewHostMsg_UpdateRect_Params)
- // The scroll offset of the render view.
- IPC_STRUCT_MEMBER(gfx::Vector2d, scroll_offset)
-
// The size of the RenderView when this message was generated. This is
// included so the host knows how large the view is from the perspective of
// the renderer process. This is necessary in case a resize operation is in
@@ -401,10 +398,6 @@ IPC_STRUCT_BEGIN(ViewHostMsg_UpdateRect_Params)
// which would indicate that this paint message is an ACK for multiple
// request messages.
IPC_STRUCT_MEMBER(int, flags)
-
- // All the above coordinates are in DIP. This is the scale factor needed
- // to convert them to pixels.
- IPC_STRUCT_MEMBER(float, scale_factor)
IPC_STRUCT_END()
IPC_STRUCT_BEGIN(ViewMsg_New_Params)
« no previous file with comments | « content/common/browser_plugin/browser_plugin_messages.h ('k') | content/public/browser/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698