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 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 933 | 933 |
| 934 case V8SVGElement_OffsetHeight_AttributeGetter: | 934 case V8SVGElement_OffsetHeight_AttributeGetter: |
| 935 return "'SVGElement.offsetHeight' is deprecated and will be removed in M 50, around April 2016. See https://www.chromestatus.com/features/572491246757478 4 for more details."; | 935 return "'SVGElement.offsetHeight' is deprecated and will be removed in M 50, around April 2016. See https://www.chromestatus.com/features/572491246757478 4 for more details."; |
| 936 | 936 |
| 937 case MediaStreamTrackGetSources: | 937 case MediaStreamTrackGetSources: |
| 938 return "MediaStreamTrack.getSources is deprecated. See https://www.chrom estatus.com/feature/4765305641369600 for more details."; | 938 return "MediaStreamTrack.getSources is deprecated. See https://www.chrom estatus.com/feature/4765305641369600 for more details."; |
| 939 | 939 |
| 940 case CSSXGetComputedStyleQueries: | 940 case CSSXGetComputedStyleQueries: |
| 941 return "'getComputedStyle(e).cssXx' (except .cssFloat) is deprecated and will be removed in M50, around April 2016. Please use 'getComputedStyle(e).xx' instead."; | 941 return "'getComputedStyle(e).cssXx' (except .cssFloat) is deprecated and will be removed in M50, around April 2016. Please use 'getComputedStyle(e).xx' instead."; |
| 942 | 942 |
| 943 case V8TouchEvent_InitTouchEvent_Method: | |
| 944 return "'TouchEvent.initTouchEvent' is deprecated and will be removed in M53, around September 2016. Please use TouchEvent constructor instead. See http s://www.chromestatus.com/features/5730982598541312 for more details."; | |
|
Rick Byers
2015/12/18 17:16:10
nit: s/use TouchEvent constructor/use the TouchEve
chongz
2015/12/21 22:54:34
Done.
| |
| 945 | |
| 943 // Features that aren't deprecated don't have a deprecation message. | 946 // Features that aren't deprecated don't have a deprecation message. |
| 944 default: | 947 default: |
| 945 return String(); | 948 return String(); |
| 946 } | 949 } |
| 947 } | 950 } |
| 948 | 951 |
| 949 void UseCounter::count(CSSParserMode cssParserMode, CSSPropertyID feature) | 952 void UseCounter::count(CSSParserMode cssParserMode, CSSPropertyID feature) |
| 950 { | 953 { |
| 951 ASSERT(feature >= firstCSSProperty); | 954 ASSERT(feature >= firstCSSProperty); |
| 952 ASSERT(feature <= lastUnresolvedCSSProperty); | 955 ASSERT(feature <= lastUnresolvedCSSProperty); |
| (...skipping 27 matching lines...) Expand all Loading... | |
| 980 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 983 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 981 { | 984 { |
| 982 // FIXME: We may want to handle stylesheets that have multiple owners | 985 // FIXME: We may want to handle stylesheets that have multiple owners |
| 983 // https://crbug.com/242125 | 986 // https://crbug.com/242125 |
| 984 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 987 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 985 return getFrom(sheetContents->singleOwnerDocument()); | 988 return getFrom(sheetContents->singleOwnerDocument()); |
| 986 return 0; | 989 return 0; |
| 987 } | 990 } |
| 988 | 991 |
| 989 } // namespace blink | 992 } // namespace blink |
| OLD | NEW |