Partially revert 104427, change WebWidgetClient::didHandleGestureEvent semantics.
[WebKit-https.git] / Source / WebKit / chromium / public / WebWidgetClient.h
index 47191d757994e062bf4c2576a9f06a259e2a2ccc..10e173067619b60c3f63a7979a6fcbaa6ac4eb9b 100644 (file)
@@ -168,13 +168,7 @@ public:
     virtual bool isPointerLocked() { return false; }
 
     // Called when a gesture event is handled.
-    enum EventStatus {
-        EventStatusUnprocessed,
-        EventStatusProcessed,
-        EventStatusCancelled
-    };
-    virtual void didHandleGestureEvent(const WebGestureEvent& event, EventStatus) { }
-    virtual void didHandleGestureEvent(const WebGestureEvent& event, bool eventSwallowed) { } // deprecated
+    virtual void didHandleGestureEvent(const WebGestureEvent& event, bool eventCancelled) { }
 
 protected:
     ~WebWidgetClient() { }