mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
Bug 1165211: Add UseCounter for 'MouseEvent.mozPressure' and deprecate it. r=alchen,smaug
Differential Revision: https://phabricator.services.mozilla.com/D22302 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
36b25f6fb1
commit
48b39e6cf7
@ -50,3 +50,4 @@ DEPRECATED_OPERATION(MozRequestFullScreenDeprecatedPrefix)
|
||||
DEPRECATED_OPERATION(MozfullscreenchangeDeprecatedPrefix)
|
||||
DEPRECATED_OPERATION(MozfullscreenerrorDeprecatedPrefix)
|
||||
DEPRECATED_OPERATION(External_AddSearchProvider)
|
||||
DEPRECATED_OPERATION(MouseEvent_MozPressure)
|
||||
|
@ -372,3 +372,5 @@ MozfullscreenchangeDeprecatedPrefixWarning=onmozfullscreenchange is deprecated.
|
||||
MozfullscreenerrorDeprecatedPrefixWarning=onmozfullscreenerror is deprecated.
|
||||
# LOCALIZATION NOTE(External_AddSearchProviderWarning): Do not translate AddSearchProvider.
|
||||
External_AddSearchProviderWarning=AddSearchProvider is deprecated.
|
||||
# LOCALIZATION NOTE: Do not translate "MouseEvent.mozPressure" and "PointerEvent.pressure".
|
||||
MouseEvent_MozPressureWarning=MouseEvent.mozPressure is deprecated. Use PointerEvent.pressure instead.
|
||||
|
@ -79,6 +79,7 @@ partial interface MouseEvent
|
||||
{
|
||||
// Finger or touch pressure event value
|
||||
// ranges between 0.0 and 1.0
|
||||
[Deprecated="MouseEvent_MozPressure"]
|
||||
readonly attribute float mozPressure;
|
||||
|
||||
const unsigned short MOZ_SOURCE_UNKNOWN = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user