OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_COMMON_INPUT_INPUT_EVENT_ACK_STATE_H_ | 5 #ifndef CONTENT_COMMON_INPUT_INPUT_EVENT_ACK_STATE_H_ |
6 #define CONTENT_COMMON_INPUT_INPUT_EVENT_ACK_STATE_H_ | 6 #define CONTENT_COMMON_INPUT_INPUT_EVENT_ACK_STATE_H_ |
7 | 7 |
8 namespace content { | 8 namespace content { |
9 | 9 |
10 // Describes the state of the input event ACK coming back to the browser side. | 10 // Describes the state of the input event ACK coming back to the browser side. |
11 enum InputEventAckState { | 11 enum InputEventAckState { |
12 INPUT_EVENT_ACK_STATE_UNKNOWN, | 12 INPUT_EVENT_ACK_STATE_UNKNOWN, |
13 INPUT_EVENT_ACK_STATE_CONSUMED, | 13 INPUT_EVENT_ACK_STATE_CONSUMED, |
14 INPUT_EVENT_ACK_STATE_NOT_CONSUMED, | 14 INPUT_EVENT_ACK_STATE_NOT_CONSUMED, |
| 15 INPUT_EVENT_ACK_STATE_NOT_CONSUMED_NON_BLOCKING, |
15 INPUT_EVENT_ACK_STATE_NO_CONSUMER_EXISTS, | 16 INPUT_EVENT_ACK_STATE_NO_CONSUMER_EXISTS, |
16 INPUT_EVENT_ACK_STATE_IGNORED, | 17 INPUT_EVENT_ACK_STATE_IGNORED, |
17 INPUT_EVENT_ACK_STATE_SET_NON_BLOCKING, | 18 INPUT_EVENT_ACK_STATE_SET_NON_BLOCKING, |
18 INPUT_EVENT_ACK_STATE_MAX = INPUT_EVENT_ACK_STATE_SET_NON_BLOCKING | 19 INPUT_EVENT_ACK_STATE_MAX = INPUT_EVENT_ACK_STATE_SET_NON_BLOCKING |
19 }; | 20 }; |
20 | 21 |
21 } // namespace content | 22 } // namespace content |
22 | 23 |
23 #endif // CONTENT_COMMON_INPUT_INPUT_EVENT_ACK_STATE_H_ | 24 #endif // CONTENT_COMMON_INPUT_INPUT_EVENT_ACK_STATE_H_ |
OLD | NEW |