Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(856)

Unified Diff: third_party/WebKit/Source/web/tests/FakeWebPlugin.h

Issue 1463823003: Return a enumeration of the state of handling of InputEvents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/tests/FakeWebPlugin.h
diff --git a/third_party/WebKit/Source/web/tests/FakeWebPlugin.h b/third_party/WebKit/Source/web/tests/FakeWebPlugin.h
index 2457f4039fc33ce5fc576a5267983d61213be1b6..6fd138e51719660d18242dbd1fdb7ebf248dc7a3 100644
--- a/third_party/WebKit/Source/web/tests/FakeWebPlugin.h
+++ b/third_party/WebKit/Source/web/tests/FakeWebPlugin.h
@@ -58,7 +58,7 @@ public:
void updateFocus(bool, WebFocusType) override { }
void updateVisibility(bool) override { }
bool acceptsInputEvents() override { return true; }
- bool handleInputEvent(const WebInputEvent&, WebCursorInfo&) override { return false; }
+ WebInputEventResult handleInputEvent(const WebInputEvent&, WebCursorInfo&) override { return WebInputEventResult::NotHandled; }
bool handleDragStatusUpdate(WebDragStatus, const WebDragData&, WebDragOperationsMask, const WebPoint& position, const WebPoint& screenPosition) override { return false; }
void didReceiveResponse(const WebURLResponse&) override { }
void didReceiveData(const char* data, int dataLength) override { }

Powered by Google App Engine
This is Rietveld 408576698