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

Issue 1008913002: Remove RenderViewHost parameter from WebContentsObserver::Did{Start|Stop}Loading. (Closed)

Created:
5 years, 9 months ago by Fabrice (no longer in Chrome)
Modified:
5 years, 9 months ago
Reviewers:
Fady Samuel, Nico, nasko, Finnur
CC:
chromium-reviews, davidben+watch_chromium.org, extensions-reviews_chromium.org, cbentzel+watch_chromium.org, nasko+codewatch_chromium.org, creis+watch_chromium.org, zea+watch_chromium.org, pvalenzuela+watch_chromium.org, tburkard+watch_chromium.org, grt+watch_chromium.org, maxbogue+watch_chromium.org, jam, Avi (use Gerrit), gavinp+prer_chromium.org, darin-cc_chromium.org, jkarlin+watch_chromium.org, ajwong+watch_chromium.org, chromium-apps-reviews_chromium.org, gcasto+watchlist_chromium.org, mkwst+watchlist-passwords_chromium.org, tim+watch_chromium.org, maniscalco+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove RenderViewHost parameter from WebContentsObserver::Did{Start|Stop}Loading. This parameter is unused in almost every class derived from WebContentsObserver. This will make refactoring the OnDid{Start|Stop}Loading IPCs from WebContentsImpl to RenderFrameHostImpl simpler. BUG=429399, 450799 Committed: https://crrev.com/6ce28f57d686337e99099a7a97354f45d22ca2f6 Cr-Commit-Position: refs/heads/master@{#321341}

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 6

Patch Set 3 : Fix Android + Review comments #

Total comments: 2

Patch Set 4 : Nits #

Patch Set 5 : Rebase #

Patch Set 6 : Rebase #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -122 lines) Patch
M chrome/browser/background/background_contents.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/background/background_contents.cc View 1 2 3 4 5 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_tab_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/captive_portal/captive_portal_tab_helper.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/identity/web_auth_flow.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/identity/web_auth_flow.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/policy/policy_browsertest.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/prerender/prerender_browsertest.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M chrome/browser/prerender/prerender_contents.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prerender/prerender_contents.cc View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/prerender/prerender_tab_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/prerender/prerender_tab_helper.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/printing/print_view_manager_base.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/printing/print_view_manager_base.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/safe_browsing/client_side_detection_host_unittest.cc View 1 chunk +1 line, -3 lines 0 comments Download
M chrome/browser/tab_contents/navigation_metrics_recorder.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tab_contents/navigation_metrics_recorder.cc View 2 chunks +5 lines, -6 lines 0 comments Download
M chrome/browser/thumbnails/thumbnail_tab_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/thumbnails/thumbnail_tab_helper.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/ui/tab_contents/core_tab_helper.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/tab_contents/core_tab_helper.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/password_manager_internals/password_manager_internals_ui.h View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/password_manager_internals/password_manager_internals_ui.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M content/browser/android/web_contents_observer_proxy.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/android/web_contents_observer_proxy.cc View 1 2 2 chunks +2 lines, -4 lines 0 comments Download
M content/browser/frame_host/interstitial_page_impl.cc View 1 2 3 4 5 6 2 chunks +2 lines, -4 lines 0 comments Download
M content/browser/frame_host/navigation_controller_delegate.h View 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_browsertest.cc View 1 2 3 4 5 6 2 chunks +2 lines, -4 lines 0 comments Download
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/aura/overscroll_navigation_overlay.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/aura/overscroll_navigation_overlay.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 5 chunks +6 lines, -11 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_browsertest.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/web_contents/web_contents_impl_unittest.cc View 1 2 3 4 5 1 chunk +2 lines, -6 lines 0 comments Download
M content/public/browser/web_contents_observer.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/public/test/browser_test_utils.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/public/test/browser_test_utils.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M content/public/test/test_navigation_observer.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/test_web_contents.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/extension_host.h View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M extensions/browser/extension_host.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/guest_view/extension_options/extension_options_guest.h View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/guest_view/extension_options/extension_options_guest.cc View 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/guest_view/guest_view_base.h View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M extensions/browser/guest_view/guest_view_base.cc View 1 2 3 4 5 6 1 chunk +11 lines, -10 lines 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M extensions/browser/guest_view/web_view/web_view_guest.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 29 (10 generated)
Fabrice (no longer in Chrome)
As discussed, PTAL. Almost all of these are purely mechanical changes, except for these 2 ...
5 years, 9 months ago (2015-03-13 17:22:23 UTC) #2
nasko
Just nits to replace NULL with nullptr, while refactoring. Added Fady to look over the ...
5 years, 9 months ago (2015-03-14 00:01:04 UTC) #4
Fady Samuel
guest_view lgtm + nit. https://codereview.chromium.org/1008913002/diff/40001/extensions/browser/guest_view/guest_view_base.cc File extensions/browser/guest_view/guest_view_base.cc (left): https://codereview.chromium.org/1008913002/diff/40001/extensions/browser/guest_view/guest_view_base.cc#oldcode522 extensions/browser/guest_view/guest_view_base.cc:522: if (IsPreferredSizeModeEnabled()) { nit: Could ...
5 years, 9 months ago (2015-03-14 04:25:02 UTC) #5
Fabrice (no longer in Chrome)
finnur@chromium.org: Please review changes in extensions/ thakis@chromium.org: Please review changes in chrome/ Thanks for the ...
5 years, 9 months ago (2015-03-16 11:01:46 UTC) #7
Fabrice (no longer in Chrome)
https://codereview.chromium.org/1008913002/diff/40001/extensions/browser/guest_view/guest_view_base.cc File extensions/browser/guest_view/guest_view_base.cc (left): https://codereview.chromium.org/1008913002/diff/40001/extensions/browser/guest_view/guest_view_base.cc#oldcode522 extensions/browser/guest_view/guest_view_base.cc:522: if (IsPreferredSizeModeEnabled()) { On 2015/03/14 04:25:02, Fady Samuel wrote: ...
5 years, 9 months ago (2015-03-16 11:56:13 UTC) #8
Finnur
Looking. In the meantime, is there a bug for this initiative?
5 years, 9 months ago (2015-03-16 15:27:43 UTC) #9
Finnur
extensions/ LGTM
5 years, 9 months ago (2015-03-16 15:29:19 UTC) #10
Fabrice (no longer in Chrome)
On 2015/03/16 15:27:43, Finnur wrote: > Looking. In the meantime, is there a bug for ...
5 years, 9 months ago (2015-03-16 15:42:34 UTC) #11
nasko
On 2015/03/16 15:42:34, Fabrice wrote: > On 2015/03/16 15:27:43, Finnur wrote: > > Looking. In ...
5 years, 9 months ago (2015-03-16 16:25:10 UTC) #12
Fabrice (no longer in Chrome)
On 2015/03/16 16:25:10, nasko wrote: > Let's add 450799 to the bug list, which is ...
5 years, 9 months ago (2015-03-18 13:29:46 UTC) #13
nasko
Thanks for taking care of this Fabrice! It is a nice cleanup. LGTM
5 years, 9 months ago (2015-03-18 17:42:36 UTC) #14
Nico
chrome lgtm
5 years, 9 months ago (2015-03-19 04:41:18 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1008913002/100001
5 years, 9 months ago (2015-03-19 09:49:18 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/50732)
5 years, 9 months ago (2015-03-19 09:55:54 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1008913002/120001
5 years, 9 months ago (2015-03-19 10:03:29 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/3538)
5 years, 9 months ago (2015-03-19 11:36:49 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1008913002/120001
5 years, 9 months ago (2015-03-19 12:07:34 UTC) #27
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 9 months ago (2015-03-19 12:52:34 UTC) #28
commit-bot: I haz the power
5 years, 9 months ago (2015-03-19 12:54:07 UTC) #29
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/6ce28f57d686337e99099a7a97354f45d22ca2f6
Cr-Commit-Position: refs/heads/master@{#321341}

Powered by Google App Engine
This is Rietveld 408576698