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

Issue 1410313006: Separate RenderViewHost from RenderWidgetHost, part 5: move calls to the RenderWidgetHostDelegate. (Closed)

Created:
5 years, 1 month ago by Avi (use Gerrit)
Modified:
5 years, 1 month ago
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Separate RenderViewHost from RenderWidgetHost, part 5: move calls to the RenderWidgetHostDelegate. The WebContentsImpl is already a RenderWidgetHostDelegate, so there's no reason to detour through the RenderViewHostImpl. BUG=542477 TEST=all green Committed: https://crrev.com/c3aa84251652812e6db12710b5bc560a95fa4402 Cr-Commit-Position: refs/heads/master@{#358648}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : bad rebase #

Patch Set 4 : still fixing bad rebase #

Patch Set 5 : fixed, really #

Patch Set 6 : . #

Total comments: 8

Patch Set 7 : no functionality change #

Total comments: 2

Patch Set 8 : fix #

Patch Set 9 : some debugging #

Patch Set 10 : fix linux #

Patch Set 11 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -165 lines) Patch
M content/browser/frame_host/interstitial_page_impl.h View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M content/browser/frame_host/interstitial_page_impl.cc View 1 2 3 4 5 6 1 chunk +0 lines, -4 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host_delegate.h View 2 3 4 chunks +0 lines, -28 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +0 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 3 chunks +0 lines, -25 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_delegate.h View 1 2 3 4 5 6 7 8 9 10 4 chunks +32 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_delegate.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +0 lines, -28 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 8 chunks +19 lines, -22 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 1 2 3 4 5 17 chunks +21 lines, -22 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +10 lines, -7 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 8 9 10 10 chunks +42 lines, -18 lines 0 comments Download

Messages

Total messages: 67 (31 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313006/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313006/1
5 years, 1 month ago (2015-10-29 15:32:59 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/87599) ios_rel_device_ninja on ...
5 years, 1 month ago (2015-10-29 15:35:18 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313006/20001
5 years, 1 month ago (2015-10-29 18:39:00 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/151020) cast_shell_android on ...
5 years, 1 month ago (2015-10-29 18:50:02 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313006/40001
5 years, 1 month ago (2015-10-29 19:26:19 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/151064) linux_chromium_gn_chromeos_rel on ...
5 years, 1 month ago (2015-10-29 19:37:21 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313006/60001
5 years, 1 month ago (2015-10-29 19:42:17 UTC) #15
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/73052) linux_chromium_gn_chromeos_rel on ...
5 years, 1 month ago (2015-10-29 19:50:50 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313006/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313006/80001
5 years, 1 month ago (2015-10-29 19:57:06 UTC) #19
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/151084) cast_shell_android on ...
5 years, 1 month ago (2015-10-29 20:07:18 UTC) #21
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313006/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313006/100001
5 years, 1 month ago (2015-10-29 22:44:52 UTC) #23
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/133527)
5 years, 1 month ago (2015-10-29 23:39:34 UTC) #25
Avi (use Gerrit)
5 years, 1 month ago (2015-10-29 23:50:07 UTC) #27
ncarter (slow)
+dominickn for any thoughts https://codereview.chromium.org/1410313006/diff/100001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (left): https://codereview.chromium.org/1410313006/diff/100001/content/browser/renderer_host/render_widget_host_impl.cc#oldcode1989 content/browser/renderer_host/render_widget_host_impl.cc:1989: void RenderWidgetHostImpl::StartUserGesture() { Nice find. ...
5 years, 1 month ago (2015-10-30 04:08:12 UTC) #29
dominickn
Thanks for the CC, comments regarding OnUserGesture/UserInteraction inline. https://codereview.chromium.org/1410313006/diff/100001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/1410313006/diff/100001/content/browser/renderer_host/render_widget_host_impl.cc#newcode1866 content/browser/renderer_host/render_widget_host_impl.cc:1866: delegate_->OnUserInteraction(event.type); ...
5 years, 1 month ago (2015-10-30 04:38:41 UTC) #30
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313006/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313006/120001
5 years, 1 month ago (2015-10-30 18:38:01 UTC) #32
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/122789)
5 years, 1 month ago (2015-10-30 20:01:41 UTC) #34
Avi (use Gerrit)
https://codereview.chromium.org/1410313006/diff/100001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/1410313006/diff/100001/content/browser/renderer_host/render_widget_host_impl.cc#newcode1372 content/browser/renderer_host/render_widget_host_impl.cc:1372: void RenderWidgetHostImpl::RequestToLockMouse(bool user_gesture, On 2015/10/30 04:08:12, ncarter wrote: > ...
5 years, 1 month ago (2015-10-30 20:06:29 UTC) #35
ncarter (slow)
lgtm with one fix https://codereview.chromium.org/1410313006/diff/120001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/1410313006/diff/120001/content/browser/web_contents/web_contents_impl.cc#newcode1675 content/browser/web_contents/web_contents_impl.cc:1675: GotResponseToLockMouseRequest(false); Should be: render_widget_host->GotResponseToLockMouseRequest(false);
5 years, 1 month ago (2015-11-02 17:46:56 UTC) #36
Avi (use Gerrit)
https://codereview.chromium.org/1410313006/diff/120001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/1410313006/diff/120001/content/browser/web_contents/web_contents_impl.cc#newcode1675 content/browser/web_contents/web_contents_impl.cc:1675: GotResponseToLockMouseRequest(false); On 2015/11/02 17:46:56, ncarter wrote: > Should be: ...
5 years, 1 month ago (2015-11-02 18:42:13 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313006/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313006/140001
5 years, 1 month ago (2015-11-02 18:42:44 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/123381)
5 years, 1 month ago (2015-11-02 20:00:14 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313006/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313006/140001
5 years, 1 month ago (2015-11-04 20:34:21 UTC) #44
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/124638)
5 years, 1 month ago (2015-11-04 21:34:59 UTC) #46
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313006/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313006/140001
5 years, 1 month ago (2015-11-05 16:42:03 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/125120)
5 years, 1 month ago (2015-11-05 17:43:48 UTC) #50
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313006/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313006/160001
5 years, 1 month ago (2015-11-05 21:10:44 UTC) #52
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/136767)
5 years, 1 month ago (2015-11-05 21:28:37 UTC) #54
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313006/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313006/180001
5 years, 1 month ago (2015-11-06 15:56:35 UTC) #56
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/91149) ios_rel_device_ninja on ...
5 years, 1 month ago (2015-11-06 15:58:37 UTC) #58
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313006/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313006/200001
5 years, 1 month ago (2015-11-06 21:13:16 UTC) #60
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-06 22:15:00 UTC) #62
ncarter (slow)
lgtm
5 years, 1 month ago (2015-11-09 19:45:15 UTC) #63
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410313006/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410313006/200001
5 years, 1 month ago (2015-11-09 19:49:51 UTC) #65
commit-bot: I haz the power
Committed patchset #11 (id:200001)
5 years, 1 month ago (2015-11-09 20:57:32 UTC) #66
commit-bot: I haz the power
5 years, 1 month ago (2015-11-09 20:58:37 UTC) #67
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/c3aa84251652812e6db12710b5bc560a95fa4402
Cr-Commit-Position: refs/heads/master@{#358648}

Powered by Google App Engine
This is Rietveld 408576698