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

Issue 2457503002: Send input message acks for swapped out renderers. (Closed)

Created:
4 years, 1 month ago by dtapuska
Modified:
4 years, 1 month ago
CC:
chromium-reviews, nasko+codewatch_chromium.org, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Send input message acks for swapped out renderers. If we are discarding input events make sure that we send acks for them indicating we aren't handling them. Otherwise the input event count the browser sees will get through off. BUG=615090 Committed: https://crrev.com/1b0fcc3202979d4eededd36e6d3326769690696f Cr-Commit-Position: refs/heads/master@{#428425}

Patch Set 1 #

Patch Set 2 : Add histogram #

Total comments: 3

Patch Set 3 : Move histogram into conditional #

Total comments: 7

Patch Set 4 : Fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -1 line) Patch
M content/renderer/render_view_impl.h View 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 2 chunks +28 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (10 generated)
dtapuska
Charlie, this is what we talked about before. Let me know if you are ok ...
4 years, 1 month ago (2016-10-26 18:27:59 UTC) #2
Charlie Reis
[+kenrb] Thanks for putting this together. Maybe Ken can help me understand how input events ...
4 years, 1 month ago (2016-10-26 19:17:46 UTC) #5
kenrb
I am not aware of any way that an InputMsg can get sent to a ...
4 years, 1 month ago (2016-10-26 20:38:24 UTC) #6
Charlie Reis
On 2016/10/26 20:38:24, kenrb wrote: > I am not aware of any way that an ...
4 years, 1 month ago (2016-10-26 21:30:20 UTC) #7
dtapuska
On 2016/10/26 21:30:20, Charlie Reis wrote: > On 2016/10/26 20:38:24, kenrb wrote: > > I ...
4 years, 1 month ago (2016-10-27 01:03:30 UTC) #8
dtapuska
4 years, 1 month ago (2016-10-27 16:26:02 UTC) #10
dtapuska
On 2016/10/27 01:03:30, dtapuska wrote: > On 2016/10/26 21:30:20, Charlie Reis wrote: > > On ...
4 years, 1 month ago (2016-10-27 16:26:21 UTC) #11
Charlie Reis
I'm ok skipping the DCHECK/NOTREACHED if we have the UMA stat-- we can investigate separately ...
4 years, 1 month ago (2016-10-27 16:57:00 UTC) #12
dtapuska
https://codereview.chromium.org/2457503002/diff/20001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/2457503002/diff/20001/content/renderer/render_view_impl.cc#newcode1308 content/renderer/render_view_impl.cc:1308: UMA_HISTOGRAM_BOOLEAN("Event.RenderView.DiscardInput", discard_input); On 2016/10/27 16:57:00, Charlie Reis wrote: > ...
4 years, 1 month ago (2016-10-27 18:55:36 UTC) #13
Charlie Reis
https://codereview.chromium.org/2457503002/diff/20001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/2457503002/diff/20001/content/renderer/render_view_impl.cc#newcode1308 content/renderer/render_view_impl.cc:1308: UMA_HISTOGRAM_BOOLEAN("Event.RenderView.DiscardInput", discard_input); On 2016/10/27 18:55:36, dtapuska wrote: > On ...
4 years, 1 month ago (2016-10-27 19:28:59 UTC) #14
dtapuska
On 2016/10/27 19:28:59, Charlie Reis wrote: > https://codereview.chromium.org/2457503002/diff/20001/content/renderer/render_view_impl.cc > File content/renderer/render_view_impl.cc (right): > > https://codereview.chromium.org/2457503002/diff/20001/content/renderer/render_view_impl.cc#newcode1308 ...
4 years, 1 month ago (2016-10-27 19:31:13 UTC) #15
Charlie Reis
LGTM. Ilya, can you review for histograms approval? https://codereview.chromium.org/2457503002/diff/40001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/2457503002/diff/40001/content/renderer/render_view_impl.cc#newcode1304 content/renderer/render_view_impl.cc:1304: // ...
4 years, 1 month ago (2016-10-27 19:35:18 UTC) #16
Ilya Sherman
metrics lgtm % nits: https://codereview.chromium.org/2457503002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2457503002/diff/40001/tools/metrics/histograms/histograms.xml#newcode14352 tools/metrics/histograms/histograms.xml:14352: +<histogram name="Event.RenderView.DiscardInput" enum="Boolean"> On 2016/10/27 ...
4 years, 1 month ago (2016-10-28 02:10:06 UTC) #17
dtapuska
https://codereview.chromium.org/2457503002/diff/40001/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/2457503002/diff/40001/content/renderer/render_view_impl.cc#newcode1304 content/renderer/render_view_impl.cc:1304: // produces results true. See crbug.com/615090 On 2016/10/27 19:35:17, ...
4 years, 1 month ago (2016-10-28 14:56:56 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2457503002/60001
4 years, 1 month ago (2016-10-28 14:57:33 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/307016)
4 years, 1 month ago (2016-10-28 15:57:49 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2457503002/60001
4 years, 1 month ago (2016-10-28 17:21:53 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-10-28 18:08:57 UTC) #27
commit-bot: I haz the power
4 years, 1 month ago (2016-10-28 18:22:36 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/1b0fcc3202979d4eededd36e6d3326769690696f
Cr-Commit-Position: refs/heads/master@{#428425}

Powered by Google App Engine
This is Rietveld 408576698