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_PORT_COMMON_INPUT_EVENT_ACK_STATE_H_ | 5 #ifndef CONTENT_PORT_COMMON_INPUT_EVENT_ACK_STATE_H_ |
6 #define CONTENT_PORT_COMMON_INPUT_EVENT_ACK_STATE_H_ | 6 #define CONTENT_PORT_COMMON_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_NO_CONSUMER_EXISTS, | 15 INPUT_EVENT_ACK_STATE_NO_CONSUMER_EXISTS, |
| 16 INPUT_EVENT_ACK_STATE_MAX = INPUT_EVENT_ACK_STATE_NO_CONSUMER_EXISTS |
16 }; | 17 }; |
17 | 18 |
18 } // namespace content | 19 } // namespace content |
19 | 20 |
20 #endif // CONTENT_PORT_COMMON_INPUT_EVENT_ACK_STATE_H_ | 21 #endif // CONTENT_PORT_COMMON_INPUT_EVENT_ACK_STATE_H_ |
OLD | NEW |