Changeset 120030 in webkit
- Timestamp:
- Jun 11, 2012 7:51:59 PM (12 years ago)
- Location:
- trunk/Source
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r120029 r120030 1 2012-06-11 Vincent Scheib <scheib@chromium.org> 2 3 Consolidate Pointer Lock runtime enabled flags to just one. 4 https://bugs.webkit.org/show_bug.cgi?id=88810 5 6 Reviewed by Dimitri Glazkov. 7 8 No new tests. 9 10 * bindings/generic/RuntimeEnabledFeatures.h: 11 (WebCore::RuntimeEnabledFeatures::pointerLockEnabled): 12 (WebCore::RuntimeEnabledFeatures::setPointerLockEnabled): 13 * dom/MouseEvent.idl: 14 * page/Navigator.idl: 15 1 16 2012-06-11 Alexis Menard <alexis.menard@openbossa.org> 2 17 -
trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h
r118484 r120030 97 97 98 98 #if ENABLE(POINTER_LOCK) 99 static bool webkitPointerLockEnabled() { return isPointerLockEnabled; } 100 static void setWebkitPointerLockEnabled(bool isEnabled) { isPointerLockEnabled = isEnabled; } 101 static bool webkitPointerEnabled() { return isPointerLockEnabled; } 102 static bool webkitMovementXEnabled() { return isPointerLockEnabled; } 103 static bool webkitMovementYEnabled() { return isPointerLockEnabled; } 99 static bool pointerLockEnabled() { return isPointerLockEnabled; } 100 static void setPointerLockEnabled(bool isEnabled) { isPointerLockEnabled = isEnabled; } 104 101 #endif 105 102 -
trunk/Source/WebCore/dom/Document.idl
r119895 r120030 335 335 attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwebkitfullscreenchange; 336 336 attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwebkitfullscreenerror; 337 attribute [NotEnumerable, Conditional=POINTER_LOCK ] EventListener onwebkitpointerlockchange;338 attribute [NotEnumerable, Conditional=POINTER_LOCK ] EventListener onwebkitpointerlockerror;337 attribute [NotEnumerable, Conditional=POINTER_LOCK, V8EnabledAtRuntime=pointerLock] EventListener onwebkitpointerlockchange; 338 attribute [NotEnumerable, Conditional=POINTER_LOCK, V8EnabledAtRuntime=pointerLock] EventListener onwebkitpointerlockerror; 339 339 #endif 340 340 -
trunk/Source/WebCore/dom/MouseEvent.idl
r107304 r120030 26 26 readonly attribute long clientX; 27 27 readonly attribute long clientY; 28 readonly attribute [Conditional=POINTER_LOCK, V8EnabledAtRuntime ] long webkitMovementX;29 readonly attribute [Conditional=POINTER_LOCK, V8EnabledAtRuntime ] long webkitMovementY;28 readonly attribute [Conditional=POINTER_LOCK, V8EnabledAtRuntime=pointerLock] long webkitMovementX; 29 readonly attribute [Conditional=POINTER_LOCK, V8EnabledAtRuntime=pointerLock] long webkitMovementY; 30 30 readonly attribute boolean ctrlKey; 31 31 readonly attribute boolean shiftKey; -
trunk/Source/WebCore/page/Navigator.idl
r108450 r120030 41 41 readonly attribute boolean onLine; 42 42 43 #if defined(ENABLE_POINTER_LOCK) && ENABLE_POINTER_LOCK 44 readonly attribute [ V8EnabledAtRuntime] PointerLock webkitPointer;43 #if defined(ENABLE_POINTER_LOCK) && ENABLE_POINTER_LOCK // FIXME: Remove reliance on PointerLock.idl when removing old Pointer Lock API. (https://bugs.webkit.org/show_bug.cgi?id=84402) 44 readonly attribute [Conditional=POINTER_LOCK, V8EnabledAtRuntime=pointerLock] PointerLock webkitPointer; 45 45 #endif 46 46 -
trunk/Source/WebKit/chromium/ChangeLog
r120029 r120030 1 2012-06-11 Vincent Scheib <scheib@chromium.org> 2 3 Consolidate Pointer Lock runtime enabled flags to just one. 4 https://bugs.webkit.org/show_bug.cgi?id=88810 5 6 Reviewed by Dimitri Glazkov. 7 8 * src/WebRuntimeFeatures.cpp: 9 (WebKit::WebRuntimeFeatures::enablePointerLock): 10 (WebKit::WebRuntimeFeatures::isPointerLockEnabled): 11 1 12 2012-06-11 Alexis Menard <alexis.menard@openbossa.org> 2 13 -
trunk/Source/WebKit/chromium/src/WebRuntimeFeatures.cpp
r115109 r120030 398 398 { 399 399 #if ENABLE(POINTER_LOCK) 400 RuntimeEnabledFeatures::set WebkitPointerLockEnabled(enable);400 RuntimeEnabledFeatures::setPointerLockEnabled(enable); 401 401 #else 402 402 UNUSED_PARAM(enable); … … 407 407 { 408 408 #if ENABLE(POINTER_LOCK) 409 return RuntimeEnabledFeatures:: webkitPointerLockEnabled();409 return RuntimeEnabledFeatures::pointerLockEnabled(); 410 410 #else 411 411 return false;
Note: See TracChangeset
for help on using the changeset viewer.