diff options
author | johnnyg@google.com <johnnyg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-01 00:32:57 +0000 |
---|---|---|
committer | johnnyg@google.com <johnnyg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-01 00:32:57 +0000 |
commit | cb9d58c8e5ed717851302378bf61cbf6d93d827a (patch) | |
tree | daa1315e77cb67f46374805c262001905199b0c2 /webkit/api/public/WebWorkerClient.h | |
parent | e425000d631f35bc0c387a2f53167e92d38a1cec (diff) | |
download | chromium_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.h | 5 |
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; |