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

Side by Side Diff: content/browser/renderer_host/input/input_queue_client.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 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 <vector>
9
10 #include "base/basictypes.h"
11 #include "base/memory/scoped_vector.h"
12 #include "content/common/input/input_event_disposition.h"
13
14 namespace content {
15
16 class EventPacket;
17
18 class InputQueueClient {
19 public:
20 virtual ~InputQueueClient() {}
21
22 // Used by the flush process for sending batched events to the desired target.
23 virtual void Deliver(const EventPacket& packet) = 0;
24
25 // Signalled when the InputQueue has received and dispatched
26 // event ACK's from the previous flush.
27 virtual void DidFinishFlush() = 0;
28
29 // Signalled when the InputQueue receives an input event.
30 virtual void SetNeedsFlush() = 0;
31 };
32
33 } // namespace content
34
35 #endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_INPUT_QUEUE_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/input/input_queue.cc ('k') | content/browser/renderer_host/input/input_queue_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698