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

Side by Side Diff: content/browser/renderer_host/input/input_queue_client.h

Issue 20356003: Provided batched input delivery with a BufferedInputRouter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: BufferedInputRouter unit tests 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_QUEUE_CLIENT_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_QUEUE_CLIENT_H_
7
8 #include "base/basictypes.h"
9
10 namespace content {
11
12 class EventPacket;
13
14 class InputQueueClient {
15 public:
16 virtual ~InputQueueClient() {}
17
18 // Used by the flush process for sending batched events to the desired target.
19 virtual void Deliver(const EventPacket& packet) = 0;
20
21 // Signalled when the InputQueue has received and dispatched
22 // event ACK's from the previous flush.
23 virtual void DidFlush() = 0;
24
25 // Signalled when the InputQueue receives an input event.
26 virtual void SetNeedsFlush() = 0;
27 };
28
29 } // namespace content
30
31 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_QUEUE_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698