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

Issue 1132163004: Remove NOTIFICATION_RENDER_VIEW_HOST_CHANGED. (Closed)

Created:
5 years, 7 months ago by lazyboy
Modified:
5 years, 7 months ago
CC:
chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dcheng, Dmitry Titov, jam, jennb, jianli, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove NOTIFICATION_RENDER_VIEW_HOST_CHANGED. Use WebContentsObserver::RenderViewHostChanged() instead. BUG=170921 Test=No behavioral change. Sanity checked with JS speech, whether WebContentsTracker class gets created and destroyed properly. Committed: https://crrev.com/1cf60af0cc6019f03d4cb89c5b3c4788730d3a5e Cr-Commit-Position: refs/heads/master@{#330213}

Patch Set 1 #

Patch Set 2 : hopefully fix compile #

Patch Set 3 : clean up for review #

Patch Set 4 : remove web_contents_ from WebContentsTracker as we can get it from WCO #

Total comments: 4

Patch Set 5 : address comments #1 #

Total comments: 2

Patch Set 6 : removed explicitly invoking default WebContentsObserver ctor #

Total comments: 4

Patch Set 7 : Address comments from tommi@ #

Patch Set 8 : sync @tott #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -134 lines) Patch
M chrome/browser/file_select_helper.h View 1 2 4 chunks +13 lines, -4 lines 0 comments Download
M chrome/browser/file_select_helper.cc View 1 2 3 4 5 3 chunks +21 lines, -24 lines 0 comments Download
M chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc View 1 2 3 4 5 6 4 chunks +54 lines, -62 lines 0 comments Download
M chrome/browser/ui/panels/panel.h View 1 2 3 4 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/panels/panel.cc View 1 2 3 4 5 4 chunks +7 lines, -13 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_unittest.cc View 1 2 7 7 chunks +32 lines, -16 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -8 lines 0 comments Download
M content/public/browser/notification_types.h View 1 chunk +0 lines, -7 lines 0 comments Download

Messages

Total messages: 16 (4 generated)
lazyboy
Adding Avi for review.
5 years, 7 months ago (2015-05-11 18:34:07 UTC) #2
Avi (use Gerrit)
lgtm 🎉 https://chromiumcodereview.appspot.com/1132163004/diff/60001/chrome/browser/file_select_helper.cc File chrome/browser/file_select_helper.cc (right): https://chromiumcodereview.appspot.com/1132163004/diff/60001/chrome/browser/file_select_helper.cc#newcode554 chrome/browser/file_select_helper.cc:554: web_contents_ = NULL; nullptr https://chromiumcodereview.appspot.com/1132163004/diff/60001/chrome/browser/ui/panels/panel.h File chrome/browser/ui/panels/panel.h ...
5 years, 7 months ago (2015-05-11 19:05:00 UTC) #3
lazyboy
+tommi for chrome_speech_recognition_manager_delegate.cc +jianli for chrome/browser/ui/panels/* +thestig for chrome/browser/file_select_helper.* https://chromiumcodereview.appspot.com/1132163004/diff/60001/chrome/browser/file_select_helper.cc File chrome/browser/file_select_helper.cc (right): https://chromiumcodereview.appspot.com/1132163004/diff/60001/chrome/browser/file_select_helper.cc#newcode554 chrome/browser/file_select_helper.cc:554: ...
5 years, 7 months ago (2015-05-11 19:22:53 UTC) #5
Lei Zhang
lgtm https://chromiumcodereview.appspot.com/1132163004/diff/80001/chrome/browser/file_select_helper.cc File chrome/browser/file_select_helper.cc (right): https://chromiumcodereview.appspot.com/1132163004/diff/80001/chrome/browser/file_select_helper.cc#newcode88 chrome/browser/file_select_helper.cc:88: : content::WebContentsObserver(), Is this necessary?
5 years, 7 months ago (2015-05-11 19:52:58 UTC) #6
lazyboy
https://chromiumcodereview.appspot.com/1132163004/diff/80001/chrome/browser/file_select_helper.cc File chrome/browser/file_select_helper.cc (right): https://chromiumcodereview.appspot.com/1132163004/diff/80001/chrome/browser/file_select_helper.cc#newcode88 chrome/browser/file_select_helper.cc:88: : content::WebContentsObserver(), On 2015/05/11 19:52:58, Lei Zhang wrote: > ...
5 years, 7 months ago (2015-05-11 20:41:55 UTC) #7
lazyboy
ping @jianli and @tommi
5 years, 7 months ago (2015-05-13 15:17:15 UTC) #8
tommi (sloooow) - chröme
lgtm for chrome_speech_recognition_manager_delegate % minor requests https://chromiumcodereview.appspot.com/1132163004/diff/100001/chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc File chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc (right): https://chromiumcodereview.appspot.com/1132163004/diff/100001/chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc#newcode204 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc:204: int render_process_id() { ...
5 years, 7 months ago (2015-05-14 18:27:57 UTC) #9
lazyboy
https://chromiumcodereview.appspot.com/1132163004/diff/100001/chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc File chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc (right): https://chromiumcodereview.appspot.com/1132163004/diff/100001/chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc#newcode204 chrome/browser/speech/chrome_speech_recognition_manager_delegate.cc:204: int render_process_id() { return render_process_id_; } On 2015/05/14 18:27:57, ...
5 years, 7 months ago (2015-05-14 18:48:57 UTC) #10
jianli
lgtm
5 years, 7 months ago (2015-05-15 19:49:04 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1132163004/140001
5 years, 7 months ago (2015-05-15 22:07:31 UTC) #14
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 7 months ago (2015-05-15 22:17:15 UTC) #15
commit-bot: I haz the power
5 years, 7 months ago (2015-05-18 11:28:18 UTC) #16
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/1cf60af0cc6019f03d4cb89c5b3c4788730d3a5e
Cr-Commit-Position: refs/heads/master@{#330213}

Powered by Google App Engine
This is Rietveld 408576698