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

Side by Side Diff: content/common/input/input_event_state.h

Issue 19624005: Add InputEvent and EventPacket types for batched input delivery (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Separate InputEvent types for events based on WebKit::WebInputEvent 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_COMMON_INPUT_INPUT_EVENT_STATE_H_
6 #define CONTENT_COMMON_INPUT_INPUT_EVENT_STATE_H_
7
8 namespace content {
9
10 // State of input events as they are handled and passed between the browser and
11 // renderer.
12 enum InputEventState {
nduca 2013/08/15 01:22:46 InputEventDisposition or InputEventHandlingResult?
jdduke (slow) 2013/08/15 15:23:45 Hmm... Disposition sounds good.
13 INPUT_EVENT_UNHANDLED,
14
15 INPUT_EVENT_IMPL_THREAD_ABSORBED,
16 INPUT_EVENT_IMPL_THREAD_NO_CONSUMER_EXISTS,
17 INPUT_EVENT_IMPL_THREAD_BOUNCE_TO_MAIN,
18 INPUT_EVENT_IMPL_THREAD_COULD_NOT_DELIVER,
19
20 INPUT_EVENT_MAIN_THREAD_ABSORBED,
21 INPUT_EVENT_MAIN_THREAD_PREVENT_DEFAULTED,
22 INPUT_EVENT_MAIN_THREAD_NOT_PREVENT_DEFAULTED,
23 INPUT_EVENT_MAIN_THREAD_NO_HANDLER_EXISTS,
24 INPUT_EVENT_MAIN_THREAD_COULD_NOT_DELIVER,
25 };
26
27 } // namespace content
28
29 #endif // CONTENT_COMMON_INPUT_INPUT_EVENT_STATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698