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

Unified Diff: content/renderer/browser_plugin/browser_plugin.h

Issue 2479123003: WIP Add getCoalescedEvents API using vector of WebInputEvents (Closed)
Patch Set: Creating CoalescedWebInputEvent Created 4 years, 1 month 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: content/renderer/browser_plugin/browser_plugin.h
diff --git a/content/renderer/browser_plugin/browser_plugin.h b/content/renderer/browser_plugin/browser_plugin.h
index 68286d849f4b08730eefc4b378a3208265f8abed..8ea8e638bf0a4aa7a790d07cc83a21cbcd32a272 100644
--- a/content/renderer/browser_plugin/browser_plugin.h
+++ b/content/renderer/browser_plugin/browser_plugin.h
@@ -24,6 +24,10 @@ class SurfaceId;
struct SurfaceSequence;
}
+namespace blink {
+class CoalescedWebInputEvent;
+}
+
namespace content {
class BrowserPluginDelegate;
@@ -96,7 +100,7 @@ class CONTENT_EXPORT BrowserPlugin :
void updateFocus(bool focused, blink::WebFocusType focus_type) override;
void updateVisibility(bool visible) override;
blink::WebInputEventResult handleInputEvent(
- const blink::WebInputEvent& event,
+ const blink::CoalescedWebInputEvent& event,
blink::WebCursorInfo& cursor_info) override;
bool handleDragStatusUpdate(blink::WebDragStatus drag_status,
const blink::WebDragData& drag_data,

Powered by Google App Engine
This is Rietveld 408576698