| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google, Inc. All rights reserved. | 2 * Copyright (C) 2012 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 877 case SVGSVGElementSuspendRedraw: | 877 case SVGSVGElementSuspendRedraw: |
| 878 return "'SVGSVGElement.suspendRedraw()' is deprecated, please do not use
it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__svg_
_SVGSVGElement__suspendRedraw)."; | 878 return "'SVGSVGElement.suspendRedraw()' is deprecated, please do not use
it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__svg_
_SVGSVGElement__suspendRedraw)."; |
| 879 | 879 |
| 880 case SVGSVGElementUnsuspendRedraw: | 880 case SVGSVGElementUnsuspendRedraw: |
| 881 return "'SVGSVGElement.unsuspendRedraw()' is deprecated, please do not u
se it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__sv
g__SVGSVGElement__unsuspendRedraw)."; | 881 return "'SVGSVGElement.unsuspendRedraw()' is deprecated, please do not u
se it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__sv
g__SVGSVGElement__unsuspendRedraw)."; |
| 882 | 882 |
| 883 case SVGSVGElementUnsuspendRedrawAll: | 883 case SVGSVGElementUnsuspendRedrawAll: |
| 884 return "'SVGSVGElement.unsuspendRedrawAll()' is deprecated, please do no
t use it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#_
_svg__SVGSVGElement__unsuspendRedrawAll)."; | 884 return "'SVGSVGElement.unsuspendRedrawAll()' is deprecated, please do no
t use it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#_
_svg__SVGSVGElement__unsuspendRedrawAll)."; |
| 885 | 885 |
| 886 case ServiceWorkerClientPostMessage: | 886 case ServiceWorkerClientPostMessage: |
| 887 return "'Client.postMessage()' is an experimental API and may change. Se
e https://github.com/slightlyoff/ServiceWorker/issues/609."; | 887 return "'Client.postMessage()' will change to fire an event on 'navigato
r.serviceWorker' instead of 'window' in M45 (see: https://www.chromestatus.com/f
eature/5163630974730240)."; |
| 888 | 888 |
| 889 case AttrChildAccess: | 889 case AttrChildAccess: |
| 890 case AttrChildChange: | 890 case AttrChildChange: |
| 891 return "Attr child nodes are deprecated and will be removed in M45, arou
nd August 2015. Please use 'Attr.value' instead."; | 891 return "Attr child nodes are deprecated and will be removed in M45, arou
nd August 2015. Please use 'Attr.value' instead."; |
| 892 | 892 |
| 893 case CSSKeyframesRuleInsertRule: | 893 case CSSKeyframesRuleInsertRule: |
| 894 return "'CSSKeyframesRule.insertRule()' is deprecated and will be remove
d in M45, around August 2015. Please use 'CSSKeyframesRule.appendRule()' instead
."; | 894 return "'CSSKeyframesRule.insertRule()' is deprecated and will be remove
d in M45, around August 2015. Please use 'CSSKeyframesRule.appendRule()' instead
."; |
| 895 | 895 |
| 896 // Powerful features on insecure origins (https://goo.gl/rStTGz) | 896 // Powerful features on insecure origins (https://goo.gl/rStTGz) |
| 897 case GeolocationInsecureOrigin: | 897 case GeolocationInsecureOrigin: |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 958 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 958 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 959 { | 959 { |
| 960 // FIXME: We may want to handle stylesheets that have multiple owners | 960 // FIXME: We may want to handle stylesheets that have multiple owners |
| 961 // http://crbug.com/242125 | 961 // http://crbug.com/242125 |
| 962 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 962 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 963 return getFrom(sheetContents->singleOwnerDocument()); | 963 return getFrom(sheetContents->singleOwnerDocument()); |
| 964 return 0; | 964 return 0; |
| 965 } | 965 } |
| 966 | 966 |
| 967 } // namespace blink | 967 } // namespace blink |
| OLD | NEW |