summaryrefslogtreecommitdiffstats
path: root/webkit/api/public/WebWorkerClient.h
diff options
context:
space:
mode:
authorjohnnyg@google.com <johnnyg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-01 00:32:57 +0000
committerjohnnyg@google.com <johnnyg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-01 00:32:57 +0000
commitcb9d58c8e5ed717851302378bf61cbf6d93d827a (patch)
treedaa1315e77cb67f46374805c262001905199b0c2 /webkit/api/public/WebWorkerClient.h
parente425000d631f35bc0c387a2f53167e92d38a1cec (diff)
downloadchromium_src-cb9d58c8e5ed717851302378bf61cbf6d93d827a.zip
chromium_src-cb9d58c8e5ed717851302378bf61cbf6d93d827a.tar.gz
chromium_src-cb9d58c8e5ed717851302378bf61cbf6d93d827a.tar.bz2
New WebKit API interfaces for desktop notifications.
Everything is still currently disabled under compile-time flag. BUG=none TEST=none Review URL: http://codereview.chromium.org/174104 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24989 0039d316-1c4b-4281-b951-d872f2087c98
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;