Commit 8ada0609 authored by vsevik@chromium.org's avatar vsevik@chromium.org

DevTools: Add workerShadowPageLoaded method to shared/service worker clients...

DevTools: Add workerShadowPageLoaded method to shared/service worker clients for further plumbing into the browser.

This method is going to be used as a new signal for opening worker frontend when 'debug on start' option is enabled.

BUG=404355

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

git-svn-id: svn://svn.chromium.org/blink/trunk@180480 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 70dbc2fb
...@@ -71,6 +71,9 @@ public: ...@@ -71,6 +71,9 @@ public:
// WebEmbeddedWorker.resumeAfterDownload() is invoked. // WebEmbeddedWorker.resumeAfterDownload() is invoked.
virtual void didPauseAfterDownload() { } virtual void didPauseAfterDownload() { }
// ServiceWorker has prepared everything for script loading and is now ready for inspection.
virtual void workerReadyForInspection() { }
// A new WorkerGlobalScope is created and started to run on the // A new WorkerGlobalScope is created and started to run on the
// worker thread. // worker thread.
// This also gives back a proxy to the client to talk to the // This also gives back a proxy to the client to talk to the
......
...@@ -50,6 +50,7 @@ class WebSharedWorkerClient { ...@@ -50,6 +50,7 @@ class WebSharedWorkerClient {
public: public:
virtual void workerContextClosed() = 0; virtual void workerContextClosed() = 0;
virtual void workerContextDestroyed() = 0; virtual void workerContextDestroyed() = 0;
virtual void workerReadyForInspection() { }
virtual void workerScriptLoaded() = 0; virtual void workerScriptLoaded() = 0;
virtual void workerScriptLoadFailed() = 0; virtual void workerScriptLoadFailed() = 0;
virtual void selectAppCacheID(long long) = 0; virtual void selectAppCacheID(long long) = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment