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

Issue 525523003: Remove two unnecessary params in ViewHostMsg_UpdateRect_Params (Closed)

Created:
6 years, 3 months ago by Fady Samuel
Modified:
6 years, 3 months ago
Reviewers:
jamesr
CC:
chromium-reviews, creis+watch_chromium.org, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, nasko+codewatch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove two unnecessary params in ViewHostMsg_UpdateRect_Params scale_factor was not used at all. scroll_offset was not being used correctly. This CL now grabs the scroll offset from the CompositorFrameMetadata in RenderWidgetHostView. BUG=none TBR=kenrb@chromium.org for code deletion in view_messages.h + browser_plugin_messages.h Committed: https://crrev.com/15c487676ac5c50e1f59461d3c7c3f89cf27838d Cr-Commit-Position: refs/heads/master@{#292721}

Patch Set 1 #

Patch Set 2 : Update last scroll offset #

Patch Set 3 : Fixed unit tests #

Patch Set 4 : Fixed browser_plugin_browsertests #

Patch Set 5 : Fix Android build #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -32 lines) Patch
M chrome/browser/thumbnails/thumbnailing_context.cc View 3 chunks +3 lines, -2 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.h View 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_child_frame.cc View 1 2 chunks +5 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_widget_host_view_guest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 2 chunks +0 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 2 chunks +0 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 chunks +5 lines, -0 lines 0 comments Download
M content/common/browser_plugin/browser_plugin_messages.h View 1 chunk +0 lines, -4 lines 0 comments Download
M content/common/view_messages.h View 2 chunks +0 lines, -7 lines 0 comments Download
M content/public/browser/render_widget_host.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/public/browser/render_widget_host_view.h View 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/browser_plugin/browser_plugin_browsertest.cc View 1 2 3 3 chunks +0 lines, -3 lines 0 comments Download
M content/renderer/render_widget.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M content/test/test_render_view_host.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/test/test_render_view_host.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (2 generated)
Fady Samuel
James, this is the first cleanup CL of the things we talked about offline. This ...
6 years, 3 months ago (2014-08-29 21:19:48 UTC) #2
jamesr
What process the plugin moves messages? According to the comment (which may very well be ...
6 years, 3 months ago (2014-08-29 21:32:36 UTC) #3
Fady Samuel
On 2014/08/29 21:32:36, jamesr wrote: > What process the plugin moves messages? According to the ...
6 years, 3 months ago (2014-08-29 21:42:23 UTC) #4
jamesr
OK, so that'll race when the device scale changes. However, we don't support dynamic device ...
6 years, 3 months ago (2014-08-29 22:33:06 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fsamuel@chromium.org/525523003/80001
6 years, 3 months ago (2014-08-29 22:43:41 UTC) #7
commit-bot: I haz the power
Committed patchset #5 (id:80001) as 20931556c13c33b771de2b4c43d07a210767db92
6 years, 3 months ago (2014-08-29 23:53:22 UTC) #8
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:11:53 UTC) #9
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/15c487676ac5c50e1f59461d3c7c3f89cf27838d
Cr-Commit-Position: refs/heads/master@{#292721}

Powered by Google App Engine
This is Rietveld 408576698