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 976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
987 | 987 |
988 case RTCPeerConnectionCreateAnswerLegacyNoFailureCallback: | 988 case RTCPeerConnectionCreateAnswerLegacyNoFailureCallback: |
989 return "RTCPeerConnection.CreateAnswer without a failure callback is dep
recated. The failure callback will be a required parameter in M50. See https://w
ww.chromestatus.com/feature/5663288008376320 for more details"; | 989 return "RTCPeerConnection.CreateAnswer without a failure callback is dep
recated. The failure callback will be a required parameter in M50. See https://w
ww.chromestatus.com/feature/5663288008376320 for more details"; |
990 | 990 |
991 case RTCPeerConnectionCreateOfferLegacyNoFailureCallback: | 991 case RTCPeerConnectionCreateOfferLegacyNoFailureCallback: |
992 return "RTCPeerConnection.CreateOffer without a failure callback is depr
ecated. The failure callback will be a required parameter in M50. See https://ww
w.chromestatus.com/feature/5663288008376320 for more details"; | 992 return "RTCPeerConnection.CreateOffer without a failure callback is depr
ecated. The failure callback will be a required parameter in M50. See https://ww
w.chromestatus.com/feature/5663288008376320 for more details"; |
993 | 993 |
994 case ObjectObserve: | 994 case ObjectObserve: |
995 return willBeRemoved("'Object.observe'", 50, "6147094632988672"); | 995 return willBeRemoved("'Object.observe'", 50, "6147094632988672"); |
996 | 996 |
| 997 case DeprecateSVGZoomEvent: |
| 998 return willBeRemoved("'SVGZoomEvent'", 52, "5760883808534528"); |
| 999 |
997 // Features that aren't deprecated don't have a deprecation message. | 1000 // Features that aren't deprecated don't have a deprecation message. |
998 default: | 1001 default: |
999 return String(); | 1002 return String(); |
1000 } | 1003 } |
1001 } | 1004 } |
1002 | 1005 |
1003 void UseCounter::count(CSSParserMode cssParserMode, CSSPropertyID feature) | 1006 void UseCounter::count(CSSParserMode cssParserMode, CSSPropertyID feature) |
1004 { | 1007 { |
1005 ASSERT(feature >= firstCSSProperty); | 1008 ASSERT(feature >= firstCSSProperty); |
1006 ASSERT(feature <= lastUnresolvedCSSProperty); | 1009 ASSERT(feature <= lastUnresolvedCSSProperty); |
(...skipping 27 matching lines...) Expand all Loading... |
1034 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 1037 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
1035 { | 1038 { |
1036 // FIXME: We may want to handle stylesheets that have multiple owners | 1039 // FIXME: We may want to handle stylesheets that have multiple owners |
1037 // https://crbug.com/242125 | 1040 // https://crbug.com/242125 |
1038 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 1041 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
1039 return getFrom(sheetContents->singleOwnerDocument()); | 1042 return getFrom(sheetContents->singleOwnerDocument()); |
1040 return 0; | 1043 return 0; |
1041 } | 1044 } |
1042 | 1045 |
1043 } // namespace blink | 1046 } // namespace blink |
OLD | NEW |