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

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

Issue 2289273002: Eraser tool type plumbing from ui/events to web events and PPAPI. (Closed)
Patch Set: cleanup Created 4 years, 3 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
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 // by accessibility code first before normal input event processing. 180 // by accessibility code first before normal input event processing.
181 IsTouchAccessibility = 1 << 13, 181 IsTouchAccessibility = 1 << 13,
182 182
183 IsComposing = 1 << 14, 183 IsComposing = 1 << 14,
184 184
185 AltGrKey = 1 << 15, 185 AltGrKey = 1 << 15,
186 FnKey = 1 << 16, 186 FnKey = 1 << 16,
187 SymbolKey = 1 << 17, 187 SymbolKey = 1 << 17,
188 188
189 ScrollLockOn = 1 << 18, 189 ScrollLockOn = 1 << 18,
190
191 // Indicates that a stylys event is using an eraser tool instead of a
192 // pen tool. Used by PPAPI.
193 IsEraser = 1 << 19
bradnelson 2016/08/30 18:19:29 Maybe keep this contiguous with the others? So the
denniskempin 2016/08/30 18:27:41 I think ideally we would not need this flag here,
dtapuska 2016/08/30 18:37:45 I'd break the contract in event_conversion.cpp of
denniskempin 2016/08/30 20:49:35 Done.
190 }; 194 };
191 195
192 // Indicates whether the browser needs to block on the ACK result for 196 // Indicates whether the browser needs to block on the ACK result for
193 // this event, and if not why note (for metrics/diagnostics purposes). 197 // this event, and if not why note (for metrics/diagnostics purposes).
194 // These values are direct mappings of the values in PlatformEvent 198 // These values are direct mappings of the values in PlatformEvent
195 // so the values can be cast between the enumerations. static_asserts 199 // so the values can be cast between the enumerations. static_asserts
196 // checking this are in web/WebInputEventConversion.cpp. 200 // checking this are in web/WebInputEventConversion.cpp.
197 enum DispatchType { 201 enum DispatchType {
198 // Event can be canceled. 202 // Event can be canceled.
199 Blocking, 203 Blocking,
(...skipping 443 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 , uniqueTouchEventId(0) 647 , uniqueTouchEventId(0)
644 { 648 {
645 } 649 }
646 }; 650 };
647 651
648 #pragma pack(pop) 652 #pragma pack(pop)
649 653
650 } // namespace blink 654 } // namespace blink
651 655
652 #endif 656 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698