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

Unified Diff: components/plugins/renderer/webview_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/plugins/renderer/webview_plugin.h
diff --git a/components/plugins/renderer/webview_plugin.h b/components/plugins/renderer/webview_plugin.h
index cfc991eed6d51cba7ac8d45fcefd8f466f8abbbb..75d079c982a5bc63f3d9a8b8176efdccafb0a9a9 100644
--- a/components/plugins/renderer/webview_plugin.h
+++ b/components/plugins/renderer/webview_plugin.h
@@ -101,8 +101,9 @@ class WebViewPlugin : public blink::WebPlugin,
void updateVisibility(bool) override {}
bool acceptsInputEvents() override;
- bool handleInputEvent(const blink::WebInputEvent& event,
- blink::WebCursorInfo& cursor_info) override;
+ blink::WebInputEventResult handleInputEvent(
+ const blink::WebInputEvent& event,
+ blink::WebCursorInfo& cursor_info) override;
void didReceiveResponse(const blink::WebURLResponse& response) override;
void didReceiveData(const char* data, int data_length) override;

Powered by Google App Engine
This is Rietveld 408576698