IDL compiler: Special interfaces configuration

30 => 27

BUG=239771
R=haraken
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166380 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: rename GetShadowObjectTemplate => getShadowObjectTemplate

Cleanup, per request:
https://codereview.chromium.org/153403002/#msg2

TBR=haraken

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166381 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: v8SetReturnValueForMainWorld

Used on attributes and methods with interface return types
and [PerWorldBindings] in Node interfaces.
(Added test cases.)

27 => 23

BUG=239771
R=haraken
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166382 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL (Python): allow optional values to be undefined in overload resolution

Python side to:
IDL: allow optional values to be undefined in overload resolution
https://codereview.chromium.org/152413005/

BUG=340458
TBR=haraken
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166383 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add plumbing for ServiceWorker's WorkerGlobalScope to talk back to client/chromium

Also adding a placeholder method (didHandleInstallEvent) to the Client class to notify that dispatching an InstallEvent is finished. (It'll be going to have more similar methods like didHandleFetchEvent etc)

The communication path from ServiceWorker's script context to chromium would look like:
WebCore::ServiceWorkerGlobalScope
=> WebCore::ServiceWorkerGlobalScopeClient
=> blink::WebServiceWorkerGlobalScopeClient
=> content::ServiceWorkerScriptContext
=> browser process

While the communication path from chromium to ServiceWorker's script context is:
browser process
=> content::ServiceWorkerScriptContext
=> blink::WebServiceWorkerGlobalScopeProxy
=> blink::ServiceWorkerGlobalScopeProxy
=> WebCore::ServiceWorkerGlobalScope

BUG=313530
TEST=to be added

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

git-svn-id: svn://svn.chromium.org/blink/trunk@166384 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add adoptRefCountedGarbageCollected method and transition version thereof.

When returning a raw pointer instead of a PassRefPtr to something that is
RefCountedGarbageCollected we need to make sure that we 'adopt' the ref.

BUG=

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

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