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

Issue 1308623003: Assume crashed RenderWidgetHost to be invisible (Closed)

Created:
5 years, 4 months ago by Jaekyun Seok (inactive)
Modified:
5 years, 3 months ago
Reviewers:
no sievers, Maria
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, creis+watch_chromium.org, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Assume crashed RenderWidgetHost to be invisible On Android, we assume dead RenderWidgetHost to be invisible to correctly keep the priority of a restored renderer. Instead, we set the correct visibility when it is restored. BUG=522795 Committed: https://crrev.com/a163192a8629025a3dd21b9684354b244ce354a2 Cr-Commit-Position: refs/heads/master@{#347883}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : Assume dead RenderWidgetHost to be invisible #

Total comments: 4

Patch Set 5 : Do not assume the visibility of dead RenderWidgetHost #

Patch Set 6 : Revive patch set 4 #

Total comments: 4

Patch Set 7 : Apply the change to all platforms #

Total comments: 10

Patch Set 8 : Apply Daniel's comments #

Total comments: 2

Patch Set 9 : Check dest_render_frame_host->render_view_host()->is_hidden() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -10 lines) Patch
M chrome/android/javatests/src/org/chromium/chrome/browser/BindingManagerIntegrationTest.java View 1 2 3 4 5 6 7 2 chunks +84 lines, -0 lines 0 comments Download
A chrome/test/data/android/bindingmanager/shared_renderer1.html View 1 chunk +15 lines, -0 lines 0 comments Download
A chrome/test/data/android/bindingmanager/shared_renderer2.html View 1 1 chunk +8 lines, -0 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager.cc View 1 2 3 4 5 6 7 8 2 chunks +14 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 1 2 3 4 5 6 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 46 (8 generated)
Jaekyun Seok (inactive)
sievers@, please review this CL.
5 years, 4 months ago (2015-08-21 04:01:31 UTC) #2
Jaekyun Seok (inactive)
On 2015/08/21 04:01:31, Jaekyun Seok wrote: > sievers@, please review this CL. Ping?
5 years, 4 months ago (2015-08-25 22:22:15 UTC) #3
no sievers
this is a good find, let's discuss in the bug. i think it's not necesarily ...
5 years, 3 months ago (2015-08-26 18:58:02 UTC) #4
Jaekyun Seok (inactive)
PTAL. I modified codes to assume dead RenderWidgetHost to be invisible on Android.
5 years, 3 months ago (2015-08-31 06:15:07 UTC) #5
Jaekyun Seok (inactive)
On 2015/08/31 06:15:07, Jaekyun Seok wrote: > PTAL. > > I modified codes to assume ...
5 years, 3 months ago (2015-09-01 01:38:36 UTC) #6
no sievers
https://codereview.chromium.org/1308623003/diff/60001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/1308623003/diff/60001/content/browser/frame_host/render_frame_host_manager.cc#newcode430 content/browser/frame_host/render_frame_host_manager.cc:430: #if defined(OS_ANDROID) Can we remove the ifdef Android? There ...
5 years, 3 months ago (2015-09-01 18:30:54 UTC) #7
Jaekyun Seok (inactive)
PTAL. https://codereview.chromium.org/1308623003/diff/60001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/1308623003/diff/60001/content/browser/frame_host/render_frame_host_manager.cc#newcode430 content/browser/frame_host/render_frame_host_manager.cc:430: #if defined(OS_ANDROID) On 2015/09/01 18:30:54, sievers wrote: > ...
5 years, 3 months ago (2015-09-02 01:25:50 UTC) #8
Jaekyun Seok (inactive)
On 2015/09/02 01:25:50, Jaekyun Seok wrote: > PTAL. > > https://codereview.chromium.org/1308623003/diff/60001/content/browser/frame_host/render_frame_host_manager.cc > File content/browser/frame_host/render_frame_host_manager.cc (right): ...
5 years, 3 months ago (2015-09-03 22:04:00 UTC) #9
no sievers
On 2015/09/03 22:04:00, Jaekyun Seok wrote: > On 2015/09/02 01:25:50, Jaekyun Seok wrote: > > ...
5 years, 3 months ago (2015-09-04 01:51:47 UTC) #10
Jaekyun Seok (inactive)
On 2015/09/04 01:51:47, sievers wrote: > On 2015/09/03 22:04:00, Jaekyun Seok wrote: > > On ...
5 years, 3 months ago (2015-09-04 02:11:45 UTC) #11
Jaekyun Seok (inactive)
On 2015/09/04 02:11:45, Jaekyun Seok wrote: > On 2015/09/04 01:51:47, sievers wrote: > > On ...
5 years, 3 months ago (2015-09-04 02:14:54 UTC) #12
Jaekyun Seok (inactive)
PTAL. I revived patch set 4.
5 years, 3 months ago (2015-09-04 02:59:30 UTC) #13
Jaekyun Seok (inactive)
On 2015/09/04 02:59:30, Jaekyun Seok wrote: > PTAL. > > I revived patch set 4. ...
5 years, 3 months ago (2015-09-04 08:17:09 UTC) #14
no sievers
https://codereview.chromium.org/1308623003/diff/100001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/1308623003/diff/100001/content/browser/frame_host/render_frame_host_manager.cc#newcode436 content/browser/frame_host/render_frame_host_manager.cc:436: if (dest_render_frame_host->GetView()->IsShowing() == Instead of the if-condition, does it ...
5 years, 3 months ago (2015-09-04 16:18:04 UTC) #15
Jaekyun Seok (inactive)
PTAL. https://codereview.chromium.org/1308623003/diff/100001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/1308623003/diff/100001/content/browser/frame_host/render_frame_host_manager.cc#newcode436 content/browser/frame_host/render_frame_host_manager.cc:436: if (dest_render_frame_host->GetView()->IsShowing() == On 2015/09/04 16:18:03, sievers wrote: ...
5 years, 3 months ago (2015-09-07 07:40:04 UTC) #16
Jaekyun Seok (inactive)
On 2015/09/07 07:40:04, Jaekyun Seok wrote: > PTAL. > > https://codereview.chromium.org/1308623003/diff/100001/content/browser/frame_host/render_frame_host_manager.cc > File content/browser/frame_host/render_frame_host_manager.cc (right): ...
5 years, 3 months ago (2015-09-07 23:22:18 UTC) #17
Jaekyun Seok (inactive)
On 2015/09/07 23:22:18, Jaekyun Seok wrote: > On 2015/09/07 07:40:04, Jaekyun Seok wrote: > > ...
5 years, 3 months ago (2015-09-08 04:57:31 UTC) #18
no sievers
thanks for testing that out, that's good to know that new tabs also go through ...
5 years, 3 months ago (2015-09-08 19:56:34 UTC) #19
Jaekyun Seok (inactive)
PTAL. https://codereview.chromium.org/1308623003/diff/120001/chrome/android/javatests/src/org/chromium/chrome/browser/BindingManagerIntegrationTest.java File chrome/android/javatests/src/org/chromium/chrome/browser/BindingManagerIntegrationTest.java (right): https://codereview.chromium.org/1308623003/diff/120001/chrome/android/javatests/src/org/chromium/chrome/browser/BindingManagerIntegrationTest.java#newcode486 chrome/android/javatests/src/org/chromium/chrome/browser/BindingManagerIntegrationTest.java:486: @Restriction(RESTRICTION_TYPE_NON_LOW_END_DEVICE) On 2015/09/08 19:56:34, sievers wrote: > Why ...
5 years, 3 months ago (2015-09-08 23:03:55 UTC) #20
no sievers
lgtm
5 years, 3 months ago (2015-09-08 23:15:37 UTC) #21
Jaekyun Seok (inactive)
mariakhomenko@, please review chrome/android/javatests/src/org/chromium/chrome/browser/BindingManagerIntegrationTest.java as an owner of chrome/android/.
5 years, 3 months ago (2015-09-08 23:19:14 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/1308623003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308623003/140001
5 years, 3 months ago (2015-09-08 23:20:25 UTC) #25
Maria
lgtm
5 years, 3 months ago (2015-09-08 23:25:44 UTC) #26
no sievers
i just tried this on Mac, and unfortunately it breaks visibility of crashed tabs after ...
5 years, 3 months ago (2015-09-08 23:58:22 UTC) #27
Jaekyun Seok (inactive)
On 2015/09/08 23:58:22, sievers wrote: > i just tried this on Mac, and unfortunately it ...
5 years, 3 months ago (2015-09-09 00:00:59 UTC) #28
no sievers
On 2015/09/09 00:00:59, Jaekyun Seok wrote: > On 2015/09/08 23:58:22, sievers wrote: > > i ...
5 years, 3 months ago (2015-09-09 00:01:56 UTC) #29
Jaekyun Seok (inactive)
On 2015/09/09 00:01:56, sievers wrote: > On 2015/09/09 00:00:59, Jaekyun Seok wrote: > > On ...
5 years, 3 months ago (2015-09-09 00:03:36 UTC) #30
no sievers
On 2015/09/09 00:03:36, Jaekyun Seok wrote: > On 2015/09/09 00:01:56, sievers wrote: > > On ...
5 years, 3 months ago (2015-09-09 00:05:45 UTC) #31
Jaekyun Seok (inactive)
On 2015/09/09 00:05:45, sievers wrote: > On 2015/09/09 00:03:36, Jaekyun Seok wrote: > > On ...
5 years, 3 months ago (2015-09-09 00:07:17 UTC) #32
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-09 00:35:16 UTC) #34
no sievers
https://codereview.chromium.org/1308623003/diff/140001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/1308623003/diff/140001/content/browser/frame_host/render_frame_host_manager.cc#newcode438 content/browser/frame_host/render_frame_host_manager.cc:438: if (dest_render_frame_host->GetView() && Ok the bug is that we're ...
5 years, 3 months ago (2015-09-09 01:35:00 UTC) #35
Jaekyun Seok (inactive)
PTAL. https://codereview.chromium.org/1308623003/diff/140001/content/browser/frame_host/render_frame_host_manager.cc File content/browser/frame_host/render_frame_host_manager.cc (right): https://codereview.chromium.org/1308623003/diff/140001/content/browser/frame_host/render_frame_host_manager.cc#newcode438 content/browser/frame_host/render_frame_host_manager.cc:438: if (dest_render_frame_host->GetView() && On 2015/09/09 01:34:59, sievers wrote: ...
5 years, 3 months ago (2015-09-09 01:42:46 UTC) #36
no sievers
lgtm
5 years, 3 months ago (2015-09-09 01:43:34 UTC) #38
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308623003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308623003/160001
5 years, 3 months ago (2015-09-09 01:43:47 UTC) #39
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-09 08:56:38 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1308623003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1308623003/160001
5 years, 3 months ago (2015-09-09 09:08:36 UTC) #44
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 3 months ago (2015-09-09 09:14:49 UTC) #45
commit-bot: I haz the power
5 years, 3 months ago (2015-09-09 09:15:44 UTC) #46
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/a163192a8629025a3dd21b9684354b244ce354a2
Cr-Commit-Position: refs/heads/master@{#347883}

Powered by Google App Engine
This is Rietveld 408576698