summaryrefslogtreecommitdiff
path: root/Source/WebKit2/UIProcess/WebGeolocationManagerProxy.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebKit2/UIProcess/WebGeolocationManagerProxy.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebKit2/UIProcess/WebGeolocationManagerProxy.h')
-rw-r--r--Source/WebKit2/UIProcess/WebGeolocationManagerProxy.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/Source/WebKit2/UIProcess/WebGeolocationManagerProxy.h b/Source/WebKit2/UIProcess/WebGeolocationManagerProxy.h
index 5668f9189..a4cb122cb 100644
--- a/Source/WebKit2/UIProcess/WebGeolocationManagerProxy.h
+++ b/Source/WebKit2/UIProcess/WebGeolocationManagerProxy.h
@@ -36,14 +36,14 @@
namespace WebKit {
-class WebContext;
class WebGeolocationPosition;
+class WebProcessPool;
class WebGeolocationManagerProxy : public API::ObjectImpl<API::Object::Type::GeolocationManager>, public WebContextSupplement, private IPC::MessageReceiver {
public:
static const char* supplementName();
- static PassRefPtr<WebGeolocationManagerProxy> create(WebContext*);
+ static PassRefPtr<WebGeolocationManagerProxy> create(WebProcessPool*);
void initializeProvider(const WKGeolocationProviderBase*);
@@ -57,24 +57,24 @@ public:
using API::Object::deref;
private:
- explicit WebGeolocationManagerProxy(WebContext*);
+ explicit WebGeolocationManagerProxy(WebProcessPool*);
// WebContextSupplement
- virtual void contextDestroyed() override;
- virtual void processDidClose(WebProcessProxy*) override;
- virtual void refWebContextSupplement() override;
- virtual void derefWebContextSupplement() override;
+ void processPoolDestroyed() override;
+ void processDidClose(WebProcessProxy*) override;
+ void refWebContextSupplement() override;
+ void derefWebContextSupplement() override;
// IPC::MessageReceiver
- virtual void didReceiveMessage(IPC::Connection*, IPC::MessageDecoder&) override;
+ void didReceiveMessage(IPC::Connection&, IPC::Decoder&) override;
bool isUpdating() const { return !m_updateRequesters.isEmpty(); }
bool isHighAccuracyEnabled() const { return !m_highAccuracyRequesters.isEmpty(); }
- void startUpdating(IPC::Connection*);
- void stopUpdating(IPC::Connection*);
+ void startUpdating(IPC::Connection&);
+ void stopUpdating(IPC::Connection&);
void removeRequester(const IPC::Connection::Client*);
- void setEnableHighAccuracy(IPC::Connection*, bool);
+ void setEnableHighAccuracy(IPC::Connection&, bool);
HashSet<const IPC::Connection::Client*> m_updateRequesters;
HashSet<const IPC::Connection::Client*> m_highAccuracyRequesters;