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 863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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: | 880 case AttrChildAccess: |
881 case AttrChildChange: | 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."; | 882 return "Attr child nodes are deprecated and will be removed in M45, arou
nd August 2015. Please use 'Attr.value' instead."; |
883 | 883 |
884 case CSSKeyframesRuleInsertRule: | |
885 return "'CSSKeyframesRule.insertRule()' is deprecated and will be remove
d in M45, around August 2015. Please use 'CSSKeyframesRule.appendRule()' instead
."; | |
886 | |
887 // Powerful features on insecure origins (https://goo.gl/rStTGz) | 884 // Powerful features on insecure origins (https://goo.gl/rStTGz) |
888 case GeolocationInsecureOrigin: | 885 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."; | 886 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 | 887 |
891 case GetUserMediaInsecureOrigin: | 888 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."; | 889 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 | 890 |
894 case FullscreenInsecureOrigin: | 891 case FullscreenInsecureOrigin: |
895 return "requestFullscreen() is deprecated on insecure origins, and suppo
rt will 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."
; | 892 return "requestFullscreen() is deprecated on insecure origins, and suppo
rt will 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."
; |
896 | 893 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
943 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 940 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
944 { | 941 { |
945 // FIXME: We may want to handle stylesheets that have multiple owners | 942 // FIXME: We may want to handle stylesheets that have multiple owners |
946 // http://crbug.com/242125 | 943 // http://crbug.com/242125 |
947 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 944 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
948 return getFrom(sheetContents->singleOwnerDocument()); | 945 return getFrom(sheetContents->singleOwnerDocument()); |
949 return 0; | 946 return 0; |
950 } | 947 } |
951 | 948 |
952 } // namespace blink | 949 } // namespace blink |
OLD | NEW |