diff options
Diffstat (limited to 'Source/WebKit2/UIProcess/WebGeolocationManagerProxy.h')
| -rw-r--r-- | Source/WebKit2/UIProcess/WebGeolocationManagerProxy.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/Source/WebKit2/UIProcess/WebGeolocationManagerProxy.h b/Source/WebKit2/UIProcess/WebGeolocationManagerProxy.h index 65d7b7a7e..8f4102b61 100644 --- a/Source/WebKit2/UIProcess/WebGeolocationManagerProxy.h +++ b/Source/WebKit2/UIProcess/WebGeolocationManagerProxy.h @@ -27,21 +27,16 @@ #define WebGeolocationManagerProxy_h #include "APIObject.h" -#include "MessageID.h" +#include "MessageReceiver.h" #include "WebGeolocationProvider.h" #include <wtf/text/WTFString.h> -namespace CoreIPC { -class ArgumentDecoder; -class Connection; -} - namespace WebKit { class WebContext; class WebGeolocationPosition; -class WebGeolocationManagerProxy : public APIObject { +class WebGeolocationManagerProxy : public APIObject, private CoreIPC::MessageReceiver { public: static const Type APIType = TypeGeolocationManager; @@ -56,13 +51,14 @@ public: void providerDidChangePosition(WebGeolocationPosition*); void providerDidFailToDeterminePosition(const String& errorMessage = String()); - void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*); - private: explicit WebGeolocationManagerProxy(WebContext*); virtual Type type() const { return APIType; } + // CoreIPC::MessageReceiver + virtual void didReceiveMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*) OVERRIDE; + // Implemented in generated WebGeolocationManagerProxyMessageReceiver.cpp void didReceiveWebGeolocationManagerProxyMessage(CoreIPC::Connection*, CoreIPC::MessageID, CoreIPC::ArgumentDecoder*); |
