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

Issue 160494: Disable input events when a JS dialog is showing. (Closed)

Created:
11 years, 4 months ago by tony
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Disable input events when a JS dialog is showing. Prior to this patch, you could still send input events and they would get queued in the renderer to be handled after the JS dialog was dismissed. This makes our behavior more like other browsers. This also works around a linux/mac bug where the hung renderer dialog would appear when an alert is showing. BUG=12176

Patch Set 1 #

Patch Set 2 : beforeunload #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -1 line) Patch
M chrome/browser/renderer_host/render_process_host.h View 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_process_host.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/renderer_host/render_view_host.cc View 1 3 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host.cc View 3 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
tony
I'm sending this out mainly for feedback. Currently, if an alert is showing, you can ...
11 years, 4 months ago (2009-08-01 01:38:07 UTC) #1
tony
ping On 2009/08/01 01:38:07, tony wrote: > I'm sending this out mainly for feedback. > ...
11 years, 4 months ago (2009-08-03 20:51:58 UTC) #2
darin (slow to review)
LGTM But, with this change won't we end up in situations where we only get ...
11 years, 4 months ago (2009-08-03 20:58:21 UTC) #3
jam
lgtm, I don't see any issues with the approach.
11 years, 4 months ago (2009-08-03 21:01:51 UTC) #4
tony
On 2009/08/03 20:58:21, darin wrote: > LGTM > > But, with this change won't we ...
11 years, 4 months ago (2009-08-04 20:39:12 UTC) #5
darin (slow to review)
11 years, 4 months ago (2009-08-04 21:22:27 UTC) #6
LGTM

Powered by Google App Engine
This is Rietveld 408576698