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

Unified Diff: components/test_runner/test_plugin.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: components/test_runner/test_plugin.h
diff --git a/components/test_runner/test_plugin.h b/components/test_runner/test_plugin.h
index bb4ebc358e430d444a7f0db5237dc255ed13bfa1..129dc2aabd09a05706eb3a02d4841bb329ad381e 100644
--- a/components/test_runner/test_plugin.h
+++ b/components/test_runner/test_plugin.h
@@ -73,8 +73,9 @@ class TestPlugin : public blink::WebPlugin, public cc::TextureLayerClient {
void updateFocus(bool focus, blink::WebFocusType focus_type) override {}
void updateVisibility(bool visibility) override {}
bool acceptsInputEvents() override;
- bool handleInputEvent(const blink::WebInputEvent& event,
- blink::WebCursorInfo& info) override;
+ blink::WebInputEventResult handleInputEvent(
+ const blink::WebInputEvent& event,
+ blink::WebCursorInfo& info) override;
bool handleDragStatusUpdate(blink::WebDragStatus drag_status,
const blink::WebDragData& data,
blink::WebDragOperationsMask mask,

Powered by Google App Engine
This is Rietveld 408576698