diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2012-11-07 11:22:47 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2012-11-07 11:22:47 +0100 |
commit | cfd86b747d32ac22246a1aa908eaa720c63a88c1 (patch) | |
tree | 24d68c6f61c464ecba1e05670b80390ea3b0e50c /Source/WebKit2/WebProcess/Notifications/WebNotificationManager.h | |
parent | 69d7c744c9de19d152dbe2d8e46eb7dfd4511d1a (diff) | |
download | qtwebkit-cfd86b747d32ac22246a1aa908eaa720c63a88c1.tar.gz |
Imported WebKit commit 20271caf2e2c016d5cef40184cddeefeac4f1876 (http://svn.webkit.org/repository/webkit/trunk@133733)
New snapshot that contains all previous fixes as well as build fix for latest QtMultimedia API changes.
Diffstat (limited to 'Source/WebKit2/WebProcess/Notifications/WebNotificationManager.h')
-rw-r--r-- | Source/WebKit2/WebProcess/Notifications/WebNotificationManager.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Source/WebKit2/WebProcess/Notifications/WebNotificationManager.h b/Source/WebKit2/WebProcess/Notifications/WebNotificationManager.h index a3f658f24..9f505aa90 100644 --- a/Source/WebKit2/WebProcess/Notifications/WebNotificationManager.h +++ b/Source/WebKit2/WebProcess/Notifications/WebNotificationManager.h @@ -26,7 +26,7 @@ #ifndef WebNotificationManager_h #define WebNotificationManager_h -#include "MessageID.h" +#include "MessageReceiver.h" #include <WebCore/NotificationClient.h> #include <wtf/HashMap.h> #include <wtf/Noncopyable.h> @@ -34,11 +34,6 @@ #include <wtf/Vector.h> #include <wtf/text/StringHash.h> -namespace CoreIPC { -class Connection; -class MessageDecoder; -} - namespace WebCore { class Notification; class SecurityOrigin; @@ -49,7 +44,7 @@ namespace WebKit { class WebPage; class WebProcess; -class WebNotificationManager { +class WebNotificationManager : private CoreIPC::MessageReceiver { WTF_MAKE_NONCOPYABLE(WebNotificationManager); public: explicit WebNotificationManager(WebProcess*); @@ -63,7 +58,6 @@ public: // This callback comes from WebCore, not messaged from the UI process. void didDestroyNotification(WebCore::Notification*, WebPage*); - void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&); void didUpdateNotificationDecision(const String& originString, bool allowed); // Looks in local cache for permission. If not found, returns DefaultDenied. @@ -73,6 +67,9 @@ public: uint64_t notificationIDForTesting(WebCore::Notification*); private: + // CoreIPC::MessageReceiver + void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&) OVERRIDE; + // Implemented in generated WebNotificationManagerMessageReceiver.cpp void didReceiveWebNotificationManagerMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::MessageDecoder&); |