| 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 957 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 968 | 968 |
| 969 case PrefixedPerformanceResourceTimingBufferFull: | 969 case PrefixedPerformanceResourceTimingBufferFull: |
| 970 return replacedBy("Performance.onwebkitresourcetimingbufferfull", "Perfo
rmance.onresourcetimingbufferfull"); | 970 return replacedBy("Performance.onwebkitresourcetimingbufferfull", "Perfo
rmance.onresourcetimingbufferfull"); |
| 971 | 971 |
| 972 case FetchAPIRequestContext: | 972 case FetchAPIRequestContext: |
| 973 return "Request.context is deprecated and will be removed in M46 (see: h
ttps://www.chromestatus.com/feature/5534702526005248)."; | 973 return "Request.context is deprecated and will be removed in M46 (see: h
ttps://www.chromestatus.com/feature/5534702526005248)."; |
| 974 | 974 |
| 975 case HeaderValueNotMatchingRFC7230: | 975 case HeaderValueNotMatchingRFC7230: |
| 976 return "Header values not matching to RFC 7230, will be deprecated (see:
https://www.chromestatus.com/feature/6457425448140800)."; | 976 return "Header values not matching to RFC 7230, will be deprecated (see:
https://www.chromestatus.com/feature/6457425448140800)."; |
| 977 | 977 |
| 978 case DOMStringListContains: |
| 979 return "'DOMStringList.contains()' is deprecated, and will be removed."; |
| 980 |
| 981 case V8DOMStringList_Item_Method: |
| 982 return "'DOMStringList.item(n)' is deprecated, and will be removed. Plea
se use indexing instead, e.g.: list[n]"; |
| 983 |
| 978 // Features that aren't deprecated don't have a deprecation message. | 984 // Features that aren't deprecated don't have a deprecation message. |
| 979 default: | 985 default: |
| 980 return String(); | 986 return String(); |
| 981 } | 987 } |
| 982 } | 988 } |
| 983 | 989 |
| 984 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 990 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) |
| 985 { | 991 { |
| 986 ASSERT(feature >= firstCSSProperty); | 992 ASSERT(feature >= firstCSSProperty); |
| 987 ASSERT(feature <= lastUnresolvedCSSProperty); | 993 ASSERT(feature <= lastUnresolvedCSSProperty); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 1015 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 1021 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 1016 { | 1022 { |
| 1017 // FIXME: We may want to handle stylesheets that have multiple owners | 1023 // FIXME: We may want to handle stylesheets that have multiple owners |
| 1018 // http://crbug.com/242125 | 1024 // http://crbug.com/242125 |
| 1019 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 1025 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 1020 return getFrom(sheetContents->singleOwnerDocument()); | 1026 return getFrom(sheetContents->singleOwnerDocument()); |
| 1021 return 0; | 1027 return 0; |
| 1022 } | 1028 } |
| 1023 | 1029 |
| 1024 } // namespace blink | 1030 } // namespace blink |
| OLD | NEW |