Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.h |
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.h b/third_party/WebKit/Source/web/WebFrameWidgetImpl.h |
index cf573f272a72ccb9af79d16c38c0186f1e471d3a..5184b50813c252a85869c390d1774071904c97ec 100644 |
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.h |
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.h |
@@ -83,7 +83,7 @@ public: |
void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; |
void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) override; |
void themeChanged() override; |
- bool handleInputEvent(const WebInputEvent&) override; |
+ WebInputEventResult handleInputEvent(const WebInputEvent&) override; |
void setCursorVisibilityState(bool isVisible) override; |
bool hasTouchEventHandlersAt(const WebPoint&) override; |
@@ -170,10 +170,10 @@ private: |
HitTestResult hitTestResultForRootFramePos(const IntPoint& posInRootFrame); |
// Returns true if the event was actually processed. |
- bool keyEventDefault(const WebKeyboardEvent&); |
+ WebInputEventResult keyEventDefault(const WebKeyboardEvent&); |
// Returns true if the view was scrolled. |
- bool scrollViewWithKeyboard(int keyCode, int modifiers); |
+ WebInputEventResult scrollViewWithKeyboard(int keyCode, int modifiers); |
void initializeLayerTreeView(); |
@@ -188,10 +188,10 @@ private: |
void handleMouseLeave(LocalFrame&, const WebMouseEvent&) override; |
void handleMouseDown(LocalFrame&, const WebMouseEvent&) override; |
void handleMouseUp(LocalFrame&, const WebMouseEvent&) override; |
- bool handleMouseWheel(LocalFrame&, const WebMouseWheelEvent&) override; |
- bool handleGestureEvent(const WebGestureEvent&) override; |
- bool handleKeyEvent(const WebKeyboardEvent&) override; |
- bool handleCharEvent(const WebKeyboardEvent&) override; |
+ WebInputEventResult handleMouseWheel(LocalFrame&, const WebMouseWheelEvent&) override; |
+ WebInputEventResult handleGestureEvent(const WebGestureEvent&) override; |
+ WebInputEventResult handleKeyEvent(const WebKeyboardEvent&) override; |
+ WebInputEventResult handleCharEvent(const WebKeyboardEvent&) override; |
WebViewImpl* view() const { return m_localRoot->viewImpl(); } |