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 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
919 return "SVG's SMIL animations (<animate>, <set>, etc.) are deprecated an
d will be removed. Please use CSS animations or Web animations instead."; | 919 return "SVG's SMIL animations (<animate>, <set>, etc.) are deprecated an
d will be removed. Please use CSS animations or Web animations instead."; |
920 case PrefixedPerformanceClearResourceTimings: | 920 case PrefixedPerformanceClearResourceTimings: |
921 return replacedBy("Performance.webkitClearResourceTimings", "Performance
.clearResourceTimings"); | 921 return replacedBy("Performance.webkitClearResourceTimings", "Performance
.clearResourceTimings"); |
922 | 922 |
923 case PrefixedPerformanceSetResourceTimingBufferSize: | 923 case PrefixedPerformanceSetResourceTimingBufferSize: |
924 return replacedBy("Performance.webkitSetResourceTimingBufferSize", "Perf
ormance.setResourceTimingBufferSize"); | 924 return replacedBy("Performance.webkitSetResourceTimingBufferSize", "Perf
ormance.setResourceTimingBufferSize"); |
925 | 925 |
926 case PrefixedPerformanceResourceTimingBufferFull: | 926 case PrefixedPerformanceResourceTimingBufferFull: |
927 return replacedBy("Performance.onwebkitresourcetimingbufferfull", "Perfo
rmance.onresourcetimingbufferfull"); | 927 return replacedBy("Performance.onwebkitresourcetimingbufferfull", "Perfo
rmance.onresourcetimingbufferfull"); |
928 | 928 |
929 case FetchAPIRequestContext: | |
930 return "Request.context is deprecated and will be removed in M46 (see: h
ttps://www.chromestatus.com/feature/5534702526005248)."; | |
931 | |
932 case HeaderValueNotMatchingRFC7230: | 929 case HeaderValueNotMatchingRFC7230: |
933 return "Header values not matching to RFC 7230, will be deprecated (see:
https://www.chromestatus.com/feature/6457425448140800)."; | 930 return "Header values not matching to RFC 7230, will be deprecated (see:
https://www.chromestatus.com/feature/6457425448140800)."; |
934 | 931 |
935 // Features that aren't deprecated don't have a deprecation message. | 932 // Features that aren't deprecated don't have a deprecation message. |
936 default: | 933 default: |
937 return String(); | 934 return String(); |
938 } | 935 } |
939 } | 936 } |
940 | 937 |
941 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 938 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) |
(...skipping 30 matching lines...) Expand all Loading... |
972 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 969 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
973 { | 970 { |
974 // FIXME: We may want to handle stylesheets that have multiple owners | 971 // FIXME: We may want to handle stylesheets that have multiple owners |
975 // http://crbug.com/242125 | 972 // http://crbug.com/242125 |
976 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 973 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
977 return getFrom(sheetContents->singleOwnerDocument()); | 974 return getFrom(sheetContents->singleOwnerDocument()); |
978 return 0; | 975 return 0; |
979 } | 976 } |
980 | 977 |
981 } // namespace blink | 978 } // namespace blink |
OLD | NEW |