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

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

Issue 20356003: Provided batched input delivery with a BufferedInputRouter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review Created 7 years, 4 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_ack_observer.h
diff --git a/content/browser/renderer_host/input/input_ack_observer.h b/content/browser/renderer_host/input/input_ack_observer.h
new file mode 100644
index 0000000000000000000000000000000000000000..ddcb6da8d9fac5c989e7506f2aba4f2228e5c933
--- /dev/null
+++ b/content/browser/renderer_host/input/input_ack_observer.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ACK_OBSERVER_H_
+#define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_ACK_OBSERVER_H_
+
+#include "base/basictypes.h"
+
+namespace content {
+
+class InputEvent;
+
+// Queued with an InputEvent to allow customized ack response.
+class InputAckObserver {
+ public:
+ virtual ~InputAckObserver() { }
+
+ virtual void OnInputEventAck(const InputEvent& acked_event) = 0;
+};
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_EVENT_ACK_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698