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

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

Issue 2471523002: Make touch events uncancelable during fling when they are on the current active scroll layer (Closed)
Patch Set: clean up code Created 4 years, 1 month 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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698