[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
benm at google.com
benm at google.com
Wed Dec 22 15:44:10 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 1b8b1a615918b093dd3b61fa4b20299af159d9b2
Author: benm at google.com <benm at google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Nov 11 13:49:14 2010 +0000
2010-11-11 Ben Murdoch <benm at google.com>
Reviewed by Darin Fisher.
document.createTouch and document.createTouchList should specify EnabledAtRuntime
https://bugs.webkit.org/show_bug.cgi?id=49324
The createTouch and createTouchList APIs added to Document.idl in
http://trac.webkit.org/changeset/70047 should have EnabledAtRuntime
specified as touch related features are controlled by a
RuntimeEnabledFeature flag in addition to a compile time guard.
No new tests. This should have been part of r70047 and
that revision provided adequate tests of the new feature.
* bindings/generic/RuntimeEnabledFeatures.h:
(WebCore::RuntimeEnabledFeatures::createTouchEnabled):
(WebCore::RuntimeEnabledFeatures::createTouchListEnabled):
* dom/Document.idl: Add EnabledAtRuntime specifier to the
idl methods.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71813 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index f020e72..60a57cf 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,24 @@
+2010-11-11 Ben Murdoch <benm at google.com>
+
+ Reviewed by Darin Fisher.
+
+ document.createTouch and document.createTouchList should specify EnabledAtRuntime
+ https://bugs.webkit.org/show_bug.cgi?id=49324
+
+ The createTouch and createTouchList APIs added to Document.idl in
+ http://trac.webkit.org/changeset/70047 should have EnabledAtRuntime
+ specified as touch related features are controlled by a
+ RuntimeEnabledFeature flag in addition to a compile time guard.
+
+ No new tests. This should have been part of r70047 and
+ that revision provided adequate tests of the new feature.
+
+ * bindings/generic/RuntimeEnabledFeatures.h:
+ (WebCore::RuntimeEnabledFeatures::createTouchEnabled):
+ (WebCore::RuntimeEnabledFeatures::createTouchListEnabled):
+ * dom/Document.idl: Add EnabledAtRuntime specifier to the
+ idl methods.
+
2010-11-09 Pavel Feldman <pfeldman at chromium.org>
Reviewed by Yury Semikhatsky.
diff --git a/WebCore/bindings/generic/RuntimeEnabledFeatures.h b/WebCore/bindings/generic/RuntimeEnabledFeatures.h
index 4a9a420..0ab5120 100644
--- a/WebCore/bindings/generic/RuntimeEnabledFeatures.h
+++ b/WebCore/bindings/generic/RuntimeEnabledFeatures.h
@@ -124,6 +124,8 @@ public:
static bool ontouchmoveEnabled() { return isTouchEnabled; }
static bool ontouchendEnabled() { return isTouchEnabled; }
static bool ontouchcancelEnabled() { return isTouchEnabled; }
+ static bool createTouchEnabled() { return isTouchEnabled; }
+ static bool createTouchListEnabled() { return isTouchEnabled; }
#endif
static void setDeviceMotionEnabled(bool isEnabled) { isDeviceMotionEnabled = isEnabled; }
diff --git a/WebCore/dom/Document.idl b/WebCore/dom/Document.idl
index 4a37acc..138757f 100644
--- a/WebCore/dom/Document.idl
+++ b/WebCore/dom/Document.idl
@@ -325,15 +325,15 @@ module core {
#endif
#if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS
- [ReturnsNew] Touch createTouch(in DOMWindow window,
- in EventTarget target,
- in long identifier,
- in long pageX,
- in long pageY,
- in long ScreenX,
- in long screenY)
+ [ReturnsNew, EnabledAtRuntime] Touch createTouch(in DOMWindow window,
+ in EventTarget target,
+ in long identifier,
+ in long pageX,
+ in long pageY,
+ in long ScreenX,
+ in long screenY)
raises (DOMException);
- [ReturnsNew] TouchList createTouchList()
+ [ReturnsNew, EnabledAtRuntime] TouchList createTouchList()
raises (DOMException);
#endif
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list