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

Issue 2750313004: [Extensions] Un-filter-ify and Un-managed-ify webview events (Closed)

Created:
3 years, 9 months ago by Devlin
Modified:
3 years, 9 months ago
Reviewers:
paulmeyer, lazyboy
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Extensions] Un-filter-ify and Un-managed-ify webview events Extension events support "filters", which can be used to filter out uninteresting events. Currently, these are predominantly used in the webNavigation and webRequest events. For some reason, webview events support filters. They shouldn't, since the only events that require it (the webview version of webRequest) use a different event constructor. Additionally, webview events are currently considered "managed", which means they will notify the browser of added/removed listeners. Since all the dispatching appears to be done through JS "manually", we should be able to remove this as well. Removing these results in much simpler event logic being executed, avoidance of sending IPCs to the browser, and fewer jumps between JS and C++. BUG=None Review-Url: https://codereview.chromium.org/2750313004 Cr-Commit-Position: refs/heads/master@{#457840} Committed: https://chromium.googlesource.com/chromium/src/+/b448f058eaaad3baa7ad402d45885fb867e65c94

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -7 lines) Patch
M extensions/renderer/resources/guest_view/guest_view_events.js View 1 chunk +5 lines, -7 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
Devlin
lazyboy@, can you take a look? I traced this back (I think) to crrev.com/1869937705df919aff92cb54888527ccbaf62702, which ...
3 years, 9 months ago (2017-03-16 22:38:24 UTC) #7
lazyboy
lgtm, I think this is fine, but wanted another set of eyes to take a ...
3 years, 9 months ago (2017-03-17 18:21:16 UTC) #9
paulmeyer
On 2017/03/17 18:21:16, lazyboy wrote: > lgtm, I think this is fine, but wanted another ...
3 years, 9 months ago (2017-03-17 18:25:15 UTC) #10
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/2750313004/1
3 years, 9 months ago (2017-03-17 19:01:17 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/b448f058eaaad3baa7ad402d45885fb867e65c94
3 years, 9 months ago (2017-03-17 19:10:23 UTC) #15
Dmitry Titov
3 years, 9 months ago (2017-03-17 20:39:31 UTC) #16
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2760703002/ by dimich@chromium.org.

The reason for reverting is: WebView tests broken:
https://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%....

Powered by Google App Engine
This is Rietveld 408576698