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

Unified Diff: content/browser/renderer_host/input/input_router.h

Issue 19220002: [WIP] BufferedInputRouter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix client assignment Created 7 years, 3 months 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/browser/renderer_host/input/input_router.h
diff --git a/content/browser/renderer_host/input/input_router.h b/content/browser/renderer_host/input/input_router.h
index 2d8a4c6dd5d668b43008e61dfaddece56d028810..93b7b3f7b6a5413d541e1ddb69d5c6a4ff356cfe 100644
--- a/content/browser/renderer_host/input/input_router.h
+++ b/content/browser/renderer_host/input/input_router.h
@@ -24,10 +24,14 @@ class InputRouter : public IPC::Listener {
public:
virtual ~InputRouter() {}
+ // Should be called only in response to |SetNeedsFlush| requests made via
+ // the |InputRouterClient|.
+ virtual void Flush() = 0;
+
// Send and take ownership of the the given InputMsg_*. This should be used
// only for event types not associated with a WebInputEvent. Returns true on
// success and false otherwise.
- virtual bool SendInput(IPC::Message* message) = 0;
+ virtual bool SendInput(scoped_ptr<IPC::Message> message) = 0;
// WebInputEvents
virtual void SendMouseEvent(
« no previous file with comments | « content/browser/renderer_host/input/input_queue_unittest.cc ('k') | content/browser/renderer_host/input/input_router_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698