[GTK] Implement connected and disconnected events of GAMEPAD API with libmanette
[WebKit-https.git] / Source / WebCore / platform / gamepad / GamepadProviderClient.h
index 1ea102a..06ec49a 100644 (file)
 
 #if ENABLE(GAMEPAD)
 
+#include <wtf/Forward.h>
+
 namespace WebCore {
 
 class PlatformGamepad;
 
 class GamepadProviderClient {
 public:
-    virtual ~GamepadProviderClient() { }
+    virtual ~GamepadProviderClient() = default;
 
+    virtual void setInitialConnectedGamepads(const Vector<PlatformGamepad*>&) { }
     virtual void platformGamepadConnected(PlatformGamepad&) = 0;
     virtual void platformGamepadDisconnected(PlatformGamepad&) = 0;
-    virtual void platformGamepadInputActivity() = 0;
+    virtual void platformGamepadInputActivity(bool shouldMakeGamepadVisible) = 0;
 };
 
 } // namespace WebCore