| Index: cc/input/event_listener_properties.h
|
| diff --git a/cc/input/event_listener_properties.h b/cc/input/event_listener_properties.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..543254e62ae7f0d3399d0af6d21c29eee6be3b14
|
| --- /dev/null
|
| +++ b/cc/input/event_listener_properties.h
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2016 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef CC_INPUT_EVENT_LISTENER_PROPERTIES_H_
|
| +#define CC_INPUT_EVENT_LISTENER_PROPERTIES_H_
|
| +
|
| +namespace cc {
|
| +
|
| +enum class EventListenerClass { kTouch, kMouseWheel, kNumClasses };
|
| +
|
| +struct EventListenerProperties {
|
| + enum : uint32_t { kNone = 0 };
|
| + enum : uint32_t { kBlocking = 1 << 0 };
|
| + enum : uint32_t { kPassive = 1 << 1 };
|
| + enum : uint32_t { kMax = kPassive | kBlocking };
|
| +};
|
| +
|
| +} // namespace cc
|
| +
|
| +#endif // CC_INPUT_EVENT_LISTENER_PROPERTIES_H_
|
|
|