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

Issue 1411203010: Separate RenderViewHost from RenderWidgetHost, part 4: delegate (Closed)

Created:
5 years, 2 months ago by Avi (use Gerrit)
Modified:
5 years, 1 month ago
CC:
chromium-reviews, yusukes+watch_chromium.org, tzik, shuchen+watch_chromium.org, nasko+codewatch_chromium.org, dmazzoni+watch_chromium.org, extensions-reviews_chromium.org, aboxhall+watch_chromium.org, jam, nona+watch_chromium.org, je_julie, darin-cc_chromium.org, chromium-apps-reviews_chromium.org, creis+watch_chromium.org, nhiroki, yuzo+watch_chromium.org, plundblad+watch_chromium.org, Lei Zhang, nektar+watch_chromium.org, tommycli, dtseng+watch_chromium.org, James Su, kinuko+fileapi, 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 4: delegate This makes a delegate interface between the RenderViewHost and the RenderWidgetHost, which will eventually be used for their communication. This also allows the removal of the horrible terrible no-good RenderWidgetHost::IsRenderView(). BUG=542477 TEST=all green Committed: https://crrev.com/df38c95ae1ae5677cc9ed6f98872c45210109b5d Cr-Commit-Position: refs/heads/master@{#356286}

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : done #

Total comments: 12

Patch Set 4 : nick #

Total comments: 2

Patch Set 5 : oops #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+175 lines, -155 lines) Patch
M android_webview/native/aw_contents.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/apps/guest_view/web_view_interactive_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/virtual_keyboard_browsertest.cc View 1 2 1 chunk +6 lines, -9 lines 0 comments Download
M chrome/browser/extensions/api/processes/processes_api.cc View 1 chunk +0 lines, -2 lines 3 comments Download
M chrome/browser/media_galleries/fileapi/media_file_system_backend.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/memory_details.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm View 1 2 3 3 chunks +10 lines, -6 lines 0 comments Download
M chrome/browser/renderer_host/render_process_host_chrome_browsertest.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/task_manager/guest_information.cc View 1 chunk +4 lines, -6 lines 2 comments Download
M content/browser/accessibility/accessibility_ui.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/renderer_host/ime_adapter_android.cc View 1 3 chunks +6 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_process_host_impl.cc View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 4 chunks +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 3 3 chunks +13 lines, -9 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 5 chunks +14 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 6 chunks +17 lines, -28 lines 0 comments Download
A content/browser/renderer_host/render_widget_host_owner_delegate.h View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 4 chunks +32 lines, -25 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 3 chunks +9 lines, -12 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 2 chunks +11 lines, -13 lines 0 comments Download
M content/content_browser.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/public/browser/render_widget_host.h View 1 chunk +0 lines, -3 lines 0 comments Download
M content/public/browser/web_contents.h View 1 chunk +2 lines, -3 lines 0 comments Download
M extensions/shell/browser/shell_speech_recognition_manager_delegate.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 39 (15 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/1411203010/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411203010/1
5 years, 2 months ago (2015-10-25 02:38:04 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_android on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_android/builds/70470)
5 years, 2 months ago (2015-10-25 02:46:07 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/1411203010/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411203010/20001
5 years, 2 months ago (2015-10-25 03:24:32 UTC) #6
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/120118)
5 years, 2 months ago (2015-10-25 03:42:14 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411203010/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411203010/40001
5 years, 2 months ago (2015-10-25 04:02:35 UTC) #11
Avi (use Gerrit)
Nick and Daniel, for your amusement and consideration.
5 years, 2 months ago (2015-10-25 04:03:02 UTC) #13
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-25 05:29:21 UTC) #15
ncarter (slow)
Good idea, to make this step its own CL. https://codereview.chromium.org/1411203010/diff/40001/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm File chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm (right): https://codereview.chromium.org/1411203010/diff/40001/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm#newcode144 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm:144: ...
5 years, 1 month ago (2015-10-26 18:35:03 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411203010/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411203010/60001
5 years, 1 month ago (2015-10-26 19:10:10 UTC) #18
Avi (use Gerrit)
https://codereview.chromium.org/1411203010/diff/40001/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm File chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm (right): https://codereview.chromium.org/1411203010/diff/40001/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm#newcode144 chrome/browser/renderer_host/chrome_render_widget_host_view_mac_delegate.mm:144: RenderViewHost::From(renderWidgetHost_)); On 2015/10/26 18:35:02, ncarter wrote: > In the ...
5 years, 1 month ago (2015-10-26 19:41:28 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-10-26 20:15:57 UTC) #21
ncarter (slow)
lgtm https://codereview.chromium.org/1411203010/diff/60001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/1411203010/diff/60001/content/browser/web_contents/web_contents_impl.cc#newcode550 content/browser/web_contents/web_contents_impl.cc:550: std::set<WebContentsImpl*> web_contents_set; Delete this line.
5 years, 1 month ago (2015-10-26 20:27:35 UTC) #22
Avi (use Gerrit)
https://codereview.chromium.org/1411203010/diff/60001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/1411203010/diff/60001/content/browser/web_contents/web_contents_impl.cc#newcode550 content/browser/web_contents/web_contents_impl.cc:550: std::set<WebContentsImpl*> web_contents_set; On 2015/10/26 20:27:35, ncarter wrote: > Delete ...
5 years, 1 month ago (2015-10-26 20:36:57 UTC) #23
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411203010/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411203010/80001
5 years, 1 month ago (2015-10-26 20:37:27 UTC) #25
Avi (use Gerrit)
For review. Michael: aw_ Scott: chrome/ Ben: extensions Thanks!
5 years, 1 month ago (2015-10-26 20:39:46 UTC) #27
sky
https://codereview.chromium.org/1411203010/diff/80001/chrome/browser/extensions/api/processes/processes_api.cc File chrome/browser/extensions/api/processes/processes_api.cc (left): https://codereview.chromium.org/1411203010/diff/80001/chrome/browser/extensions/api/processes/processes_api.cc#oldcode122 chrome/browser/extensions/api/processes/processes_api.cc:122: if (!widget->IsRenderView()) How come this is safe? If widget ...
5 years, 1 month ago (2015-10-26 21:07:38 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-10-26 21:36:40 UTC) #30
Avi (use Gerrit)
https://codereview.chromium.org/1411203010/diff/80001/chrome/browser/extensions/api/processes/processes_api.cc File chrome/browser/extensions/api/processes/processes_api.cc (left): https://codereview.chromium.org/1411203010/diff/80001/chrome/browser/extensions/api/processes/processes_api.cc#oldcode122 chrome/browser/extensions/api/processes/processes_api.cc:122: if (!widget->IsRenderView()) On 2015/10/26 21:07:38, sky wrote: > How ...
5 years, 1 month ago (2015-10-26 23:20:14 UTC) #31
michaelbai
android_webview lgtm
5 years, 1 month ago (2015-10-26 23:55:02 UTC) #32
benwells
apps and extensions lgtm
5 years, 1 month ago (2015-10-27 00:34:21 UTC) #33
sky
LGTM https://codereview.chromium.org/1411203010/diff/80001/chrome/browser/extensions/api/processes/processes_api.cc File chrome/browser/extensions/api/processes/processes_api.cc (left): https://codereview.chromium.org/1411203010/diff/80001/chrome/browser/extensions/api/processes/processes_api.cc#oldcode122 chrome/browser/extensions/api/processes/processes_api.cc:122: if (!widget->IsRenderView()) On 2015/10/26 23:20:14, Avi wrote: > ...
5 years, 1 month ago (2015-10-27 13:12:33 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1411203010/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1411203010/80001
5 years, 1 month ago (2015-10-27 13:41:02 UTC) #37
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-10-27 13:45:20 UTC) #38
commit-bot: I haz the power
5 years, 1 month ago (2015-10-27 13:46:14 UTC) #39
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/df38c95ae1ae5677cc9ed6f98872c45210109b5d
Cr-Commit-Position: refs/heads/master@{#356286}

Powered by Google App Engine
This is Rietveld 408576698