summaryrefslogtreecommitdiffstats
path: root/webkit/api/public/WebWorkerClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/api/public/WebWorkerClient.h')
-rw-r--r--webkit/api/public/WebWorkerClient.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/api/public/WebWorkerClient.h b/webkit/api/public/WebWorkerClient.h
index b9d8cef..c0aa1bd 100644
--- a/webkit/api/public/WebWorkerClient.h
+++ b/webkit/api/public/WebWorkerClient.h
@@ -34,6 +34,7 @@
#include "WebMessagePortChannel.h"
namespace WebKit {
+ class WebNotificationPresenter;
class WebString;
class WebWorker;
@@ -64,6 +65,10 @@ namespace WebKit {
virtual void workerContextDestroyed() = 0;
+ // Returns the notification presenter for this worker context. Pointer
+ // is owned by the object implementing WebWorkerClient.
+ virtual WebNotificationPresenter* notificationPresenter() = 0;
+
// This can be called on any thread to create a nested worker.
virtual WebWorker* createWorker(WebWorkerClient* client) = 0;