Title: [184417] trunk/Source/WebCore
- Revision
- 184417
- Author
- bda...@apple.com
- Date
- 2015-05-15 14:31:25 -0700 (Fri, 15 May 2015)
Log Message
Prefix force on MouseEvent and add constants for click and force click values
https://bugs.webkit.org/show_bug.cgi?id=145065
-and corresponding-
rdar://problem/20770052
Reviewed by Tim Horton.
(WebCore::MouseEvent::webkitForce):
* dom/MouseEvent.idl:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (184416 => 184417)
--- trunk/Source/WebCore/ChangeLog 2015-05-15 21:30:18 UTC (rev 184416)
+++ trunk/Source/WebCore/ChangeLog 2015-05-15 21:31:25 UTC (rev 184417)
@@ -1,3 +1,15 @@
+2015-05-15 Beth Dakin <bda...@apple.com>
+
+ Prefix force on MouseEvent and add constants for click and force click values
+ https://bugs.webkit.org/show_bug.cgi?id=145065
+ -and corresponding-
+ rdar://problem/20770052
+
+ Reviewed by Tim Horton.
+
+ (WebCore::MouseEvent::webkitForce):
+ * dom/MouseEvent.idl:
+
2015-05-15 Jer Noble <jer.no...@apple.com>
[MediaControls] Refactor media controls & bring improvements made to iOS controls to Mac.
Modified: trunk/Source/WebCore/dom/MouseEvent.idl (184416 => 184417)
--- trunk/Source/WebCore/dom/MouseEvent.idl 2015-05-15 21:30:18 UTC (rev 184416)
+++ trunk/Source/WebCore/dom/MouseEvent.idl 2015-05-15 21:31:25 UTC (rev 184417)
@@ -20,7 +20,13 @@
[
ConstructorConditional=DOM4_EVENTS_CONSTRUCTOR,
ConstructorTemplate=Event,
+ DoNotCheckConstants,
] interface MouseEvent : UIEvent {
+#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
+ [Conditional=MOUSE_FORCE_EVENTS] const double WEBKIT_FORCE_AT_MOUSE_DOWN = 1;
+ [Conditional=MOUSE_FORCE_EVENTS] const double WEBKIT_FORCE_AT_FORCE_MOUSE_DOWN = 2;
+#endif
+
[InitializedByEventConstructor] readonly attribute long screenX;
[InitializedByEventConstructor] readonly attribute long screenY;
[InitializedByEventConstructor] readonly attribute long clientX;
@@ -33,7 +39,9 @@
[InitializedByEventConstructor] readonly attribute EventTarget relatedTarget;
[Conditional=POINTER_LOCK] readonly attribute long movementX;
[Conditional=POINTER_LOCK] readonly attribute long movementY;
- [Conditional=MOUSE_FORCE_EVENTS]readonly attribute double force;
+#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
+ [Conditional=MOUSE_FORCE_EVENTS, ImplementedAs=force]readonly attribute double webkitForce;
+#endif
[ObjCLegacyUnnamedParameters] void initMouseEvent([Default=Undefined] optional DOMString type,
[Default=Undefined] optional boolean canBubble,
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes