summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/public/platform/WebEventListenerProperties.h
blob: 56ec72fd5e317a52069c8b8329fb5cb9710ef525 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// 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 WebEventListenerProperties_h
#define WebEventListenerProperties_h

#include "WebCommon.h"

namespace blink {

enum class WebEventListenerClass {
    Touch, // This value includes "pointer" events.
    MouseWheel // This value includes "wheel" and "mousewheel" events.
};

// Indicates the variety of event listener types for a given WebEventListenerClass.
enum class WebEventListenerProperties {
    Nothing, // This should be "None"; but None #defined in X11's X.h
    Passive,
    Blocking, // This indicates >= 1 blocking listener (and >= 0 passive listeners)
};

} // namespace blink

#endif