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

Side by Side Diff: third_party/WebKit/public/platform/WebEventListenerProperties.h

Issue 1577263004: Communicate whether passive event listeners exist to cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_passive_listeners
Patch Set: Rebase Created 4 years, 10 months 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WebEventListenerProperties_h
6 #define WebEventListenerProperties_h
7
8 #include "WebCommon.h"
9
10 namespace blink {
11
12 enum class WebEventListenerClass {
Rick Byers 2016/02/02 21:44:46 mention here that "touch" includes pointer event l
dtapuska 2016/02/03 16:30:58 Done.
13 Touch,
14 MouseWheel
15 };
16
17 enum class WebEventListenerProperties {
Rick Byers 2016/02/02 21:44:46 Please add a brief comment (in particular I find t
dtapuska 2016/02/03 16:30:58 Done.
18 Nothing = 0x0, // This should be "None"; but None #defined in X11's X.h
19 Blocking = 0x1,
20 Passive = 0x2,
Rick Byers 2016/02/02 21:44:46 Do you really need to differentiate the 'Blocking|
dtapuska 2016/02/03 16:30:58 Done.
21 };
22 inline WebEventListenerProperties operator| (WebEventListenerProperties a, WebEv entListenerProperties b) { return static_cast<WebEventListenerProperties>(static _cast<int32_t>(a) | static_cast<int32_t>(b)); }
23 inline WebEventListenerProperties& operator|= (WebEventListenerProperties& a, We bEventListenerProperties b) { return a = a | b; }
24 inline WebEventListenerProperties operator&(WebEventListenerProperties a, WebEve ntListenerProperties b) { return static_cast<WebEventListenerProperties>(static_ cast<int32_t>(a) & static_cast<int32_t>(b)); }
25 inline WebEventListenerProperties& operator&= (WebEventListenerProperties& a, We bEventListenerProperties b) { return a = a & b; }
26
27 } // namespace blink
28
29 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698