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 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
870 | 870 |
871 case SVGSVGElementUnsuspendRedraw: | 871 case SVGSVGElementUnsuspendRedraw: |
872 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)."; | 872 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)."; |
873 | 873 |
874 case SVGSVGElementUnsuspendRedrawAll: | 874 case SVGSVGElementUnsuspendRedrawAll: |
875 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)."; | 875 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)."; |
876 | 876 |
877 case ServiceWorkerClientPostMessage: | 877 case ServiceWorkerClientPostMessage: |
878 return "'Client.postMessage()' is an experimental API and may change. Se
e https://github.com/slightlyoff/ServiceWorker/issues/609."; | 878 return "'Client.postMessage()' is an experimental API and may change. Se
e https://github.com/slightlyoff/ServiceWorker/issues/609."; |
879 | 879 |
880 case AttrChildAccess: | |
881 case AttrChildChange: | |
882 return "Attr child nodes are deprecated and will be removed in M45, arou
nd August 2015. Please use 'Attr.value' instead."; | |
883 | |
884 case CSSKeyframesRuleInsertRule: | 880 case CSSKeyframesRuleInsertRule: |
885 return "'CSSKeyframesRule.insertRule()' is deprecated and will be remove
d in M45, around August 2015. Please use 'CSSKeyframesRule.appendRule()' instead
."; | 881 return "'CSSKeyframesRule.insertRule()' is deprecated and will be remove
d in M45, around August 2015. Please use 'CSSKeyframesRule.appendRule()' instead
."; |
886 | 882 |
887 // Powerful features on insecure origins (https://goo.gl/rStTGz) | 883 // Powerful features on insecure origins (https://goo.gl/rStTGz) |
888 case GeolocationInsecureOrigin: | 884 case GeolocationInsecureOrigin: |
889 return "getCurrentPosition() and watchPosition() are deprecated on insec
ure origins, and support will be removed in the future. You should consider swit
ching your application to a secure origin, such as HTTPS. See https://goo.gl/rSt
TGz for more details."; | 885 return "getCurrentPosition() and watchPosition() are deprecated on insec
ure origins, and support will be removed in the future. You should consider swit
ching your application to a secure origin, such as HTTPS. See https://goo.gl/rSt
TGz for more details."; |
890 | 886 |
891 case GetUserMediaInsecureOrigin: | 887 case GetUserMediaInsecureOrigin: |
892 return "getUserMedia() is deprecated on insecure origins, and support wi
ll be removed in the future. You should consider switching your application to a
secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details."; | 888 return "getUserMedia() is deprecated on insecure origins, and support wi
ll be removed in the future. You should consider switching your application to a
secure origin, such as HTTPS. See https://goo.gl/rStTGz for more details."; |
893 | 889 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
943 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 939 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
944 { | 940 { |
945 // FIXME: We may want to handle stylesheets that have multiple owners | 941 // FIXME: We may want to handle stylesheets that have multiple owners |
946 // http://crbug.com/242125 | 942 // http://crbug.com/242125 |
947 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 943 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
948 return getFrom(sheetContents->singleOwnerDocument()); | 944 return getFrom(sheetContents->singleOwnerDocument()); |
949 return 0; | 945 return 0; |
950 } | 946 } |
951 | 947 |
952 } // namespace blink | 948 } // namespace blink |
OLD | NEW |