Tighten up the allowable-child criteria in RenderSVGInline

BUG=337607,338109

Review URL: https://codereview.chromium.org/148343003

git-svn-id: svn://svn.chromium.org/blink/trunk@165876 bbb929c8-8fbe-4397-9dbb-9b2b20218538
(Re)organize handling of CORS access control during resource loading.

Common up and simplify the various pieces of code that handles CORS
access control, avoiding per resource type handling.

That is, a ResourceLoader's host will now be called upon by the loader
when it receives the initial response. The host deciding if a response
should be allowed loaded or not:

  bool ResourceLoaderHost::canAccessResource(Resource*, const KURL&);

If not, the loader cancels the loading of the resource and signals an
error. The loader host is responsible for emitting a suitable console
error message.

Switch over the 'loader' resource clients to rely on that, avoiding
custom CORS checks (and error reporting) for scripts, imports, images,
text tracks.

As the resource loader now needs to know if a load operation is CORS
enabled or not, this is now/again recorded by ResourceLoaderOptions.

R=abarth@chromium.org,japhet@chromium.org
BUG=178787

Review URL: https://codereview.chromium.org/137983010

git-svn-id: svn://svn.chromium.org/blink/trunk@165877 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use public class WebHelperPlugin instead of WebHelperPluginImpl.

Change the references to WebHelperPluginImpl to use the public class
WebHelperPlugin instead.

BUG=336520
TEST=EncryptedMedia browser_tests succeed

Review URL: https://codereview.chromium.org/140323017

git-svn-id: svn://svn.chromium.org/blink/trunk@165878 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r165862

http://src.chromium.org/viewvc/blink?view=revision&revision=165862

BUG=41457
TBR=bungeman@chromium.org

Review URL: https://codereview.chromium.org/148273004

git-svn-id: svn://svn.chromium.org/blink/trunk@165879 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[SVG] Remove existing event listeners when eventBase conditions are cleared

This patch fixes a regression from [1] where we are not removing event listeners when eventBase conditions are cleared.

[1] http://src.chromium.org/viewvc/blink?view=rev&revision=164697

R=pdr@chromium.org, schenney@chromium.org, dschulze@chromium.org, fmalita@chromium.org, rob.buis@samsung.com
BUG=338124

Review URL: https://codereview.chromium.org/145583005

git-svn-id: svn://svn.chromium.org/blink/trunk@165880 bbb929c8-8fbe-4397-9dbb-9b2b20218538