Chromium Code Reviews| 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 953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 964 | 964 |
| 965 case PrefixedPerformanceSetResourceTimingBufferSize: | 965 case PrefixedPerformanceSetResourceTimingBufferSize: |
| 966 return replacedBy("Performance.webkitSetResourceTimingBufferSize", "Perf ormance.setResourceTimingBufferSize"); | 966 return replacedBy("Performance.webkitSetResourceTimingBufferSize", "Perf ormance.setResourceTimingBufferSize"); |
| 967 | 967 |
| 968 case PrefixedPerformanceResourceTimingBufferFull: | 968 case PrefixedPerformanceResourceTimingBufferFull: |
| 969 return replacedBy("Performance.onwebkitresourcetimingbufferfull", "Perfo rmance.onresourcetimingbufferfull"); | 969 return replacedBy("Performance.onwebkitresourcetimingbufferfull", "Perfo rmance.onresourcetimingbufferfull"); |
| 970 | 970 |
| 971 case FetchAPIRequestContext: | 971 case FetchAPIRequestContext: |
| 972 return "Request.context is deprecated and will be removed in M46 (see: h ttps://www.chromestatus.com/feature/5534702526005248)."; | 972 return "Request.context is deprecated and will be removed in M46 (see: h ttps://www.chromestatus.com/feature/5534702526005248)."; |
| 973 | 973 |
| 974 case FetchHeaderValue: | |
| 975 return "isValidHTTPHeaderValue() will be deprecated and will be removed in future."; | |
|
hiroshige
2015/08/27 11:38:07
How about "Header values not matching RFC 7230 wil
shiva.jm
2015/09/01 08:26:51
Done.
| |
| 976 | |
| 974 // Features that aren't deprecated don't have a deprecation message. | 977 // Features that aren't deprecated don't have a deprecation message. |
| 975 default: | 978 default: |
| 976 return String(); | 979 return String(); |
| 977 } | 980 } |
| 978 } | 981 } |
| 979 | 982 |
| 980 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 983 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) |
| 981 { | 984 { |
| 982 ASSERT(feature >= firstCSSProperty); | 985 ASSERT(feature >= firstCSSProperty); |
| 983 ASSERT(feature <= lastUnresolvedCSSProperty); | 986 ASSERT(feature <= lastUnresolvedCSSProperty); |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 1011 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 1014 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 1012 { | 1015 { |
| 1013 // FIXME: We may want to handle stylesheets that have multiple owners | 1016 // FIXME: We may want to handle stylesheets that have multiple owners |
| 1014 // http://crbug.com/242125 | 1017 // http://crbug.com/242125 |
| 1015 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 1018 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 1016 return getFrom(sheetContents->singleOwnerDocument()); | 1019 return getFrom(sheetContents->singleOwnerDocument()); |
| 1017 return 0; | 1020 return 0; |
| 1018 } | 1021 } |
| 1019 | 1022 |
| 1020 } // namespace blink | 1023 } // namespace blink |
| OLD | NEW |