| Index: third_party/WebKit/Source/web/PageWidgetDelegate.h
|
| diff --git a/third_party/WebKit/Source/web/PageWidgetDelegate.h b/third_party/WebKit/Source/web/PageWidgetDelegate.h
|
| index cb0a288ff2cfb8a20561b2ae1d140db2aebcff42..31403630ad38385854e92a742067b3b4690cc6d2 100644
|
| --- a/third_party/WebKit/Source/web/PageWidgetDelegate.h
|
| +++ b/third_party/WebKit/Source/web/PageWidgetDelegate.h
|
| @@ -53,11 +53,11 @@ public:
|
| virtual void handleMouseLeave(LocalFrame& mainFrame, const WebMouseEvent&);
|
| virtual void handleMouseDown(LocalFrame& mainFrame, const WebMouseEvent&);
|
| virtual void handleMouseUp(LocalFrame& mainFrame, const WebMouseEvent&);
|
| - virtual bool handleMouseWheel(LocalFrame& mainFrame, const WebMouseWheelEvent&);
|
| - virtual bool handleKeyEvent(const WebKeyboardEvent&) = 0;
|
| - virtual bool handleCharEvent(const WebKeyboardEvent&) = 0;
|
| - virtual bool handleGestureEvent(const WebGestureEvent&) = 0;
|
| - virtual bool handleTouchEvent(LocalFrame& mainFrame, const WebTouchEvent&);
|
| + virtual WebInputEventResult handleMouseWheel(LocalFrame& mainFrame, const WebMouseWheelEvent&);
|
| + virtual WebInputEventResult handleKeyEvent(const WebKeyboardEvent&) = 0;
|
| + virtual WebInputEventResult handleCharEvent(const WebKeyboardEvent&) = 0;
|
| + virtual WebInputEventResult handleGestureEvent(const WebGestureEvent&) = 0;
|
| + virtual WebInputEventResult handleTouchEvent(LocalFrame& mainFrame, const WebTouchEvent&);
|
| virtual ~PageWidgetEventHandler() { }
|
| protected:
|
| const char* inputTypeToName(WebInputEvent::Type);
|
| @@ -80,7 +80,7 @@ public:
|
| static void paintIgnoringCompositing(Page&, WebCanvas*, const WebRect&, LocalFrame& root);
|
|
|
| // See FIXME in the function body about nullptr |root|.
|
| - static bool handleInputEvent(PageWidgetEventHandler&, const WebInputEvent&, LocalFrame* root);
|
| + static WebInputEventResult handleInputEvent(PageWidgetEventHandler&, const WebInputEvent&, LocalFrame* root);
|
|
|
| private:
|
| PageWidgetDelegate() { }
|
|
|