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 920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
931 case PrefixedMouseEventMovementY: | 931 case PrefixedMouseEventMovementY: |
932 return replacedBy("webkitMovementY", "movementY"); | 932 return replacedBy("webkitMovementY", "movementY"); |
933 | 933 |
934 case VideoFullscreenAllowedExemption: | 934 case VideoFullscreenAllowedExemption: |
935 return "Entering fullscreen in an <iframe> with no allowfullscreen attri
bute is deprecated and will stop working in M46, around October 2015. Please use
the allowfullscreen attribute."; | 935 return "Entering fullscreen in an <iframe> with no allowfullscreen attri
bute is deprecated and will stop working in M46, around October 2015. Please use
the allowfullscreen attribute."; |
936 | 936 |
937 case SVGSMILElementInDocument: | 937 case SVGSMILElementInDocument: |
938 case SVGSMILAnimationInImageRegardlessOfCache: | 938 case SVGSMILAnimationInImageRegardlessOfCache: |
939 return "SVG's SMIL animations (<animate>, <set>, etc.) are deprecated an
d will be removed. Please use CSS animations or Web animations instead."; | 939 return "SVG's SMIL animations (<animate>, <set>, etc.) are deprecated an
d will be removed. Please use CSS animations or Web animations instead."; |
940 | 940 |
| 941 case MediaStreamLabel: |
| 942 return "'MediaStream.label' is deprecated and will be removed in M47, ar
ound November 2015. Please use 'MediaStream.id' instead."; |
| 943 |
| 944 case MediaStreamStop: |
| 945 return "'MediaStream.stop()' is deprecated and will be removed in M47, a
round November 2015. Please use 'MediaStream.active' instead."; |
| 946 |
| 947 case MediaStreamEnded: |
| 948 return "'MediaStream.ended' is deprecated and will be removed in M47, ar
ound November 2015. Please use 'MediaStream.active' instead."; |
| 949 |
941 // Features that aren't deprecated don't have a deprecation message. | 950 // Features that aren't deprecated don't have a deprecation message. |
942 default: | 951 default: |
943 return String(); | 952 return String(); |
944 } | 953 } |
945 } | 954 } |
946 | 955 |
947 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 956 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) |
948 { | 957 { |
949 ASSERT(feature >= firstCSSProperty); | 958 ASSERT(feature >= firstCSSProperty); |
950 ASSERT(feature <= lastUnresolvedCSSProperty); | 959 ASSERT(feature <= lastUnresolvedCSSProperty); |
(...skipping 27 matching lines...) Expand all Loading... |
978 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 987 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
979 { | 988 { |
980 // FIXME: We may want to handle stylesheets that have multiple owners | 989 // FIXME: We may want to handle stylesheets that have multiple owners |
981 // http://crbug.com/242125 | 990 // http://crbug.com/242125 |
982 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 991 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
983 return getFrom(sheetContents->singleOwnerDocument()); | 992 return getFrom(sheetContents->singleOwnerDocument()); |
984 return 0; | 993 return 0; |
985 } | 994 } |
986 | 995 |
987 } // namespace blink | 996 } // namespace blink |
OLD | NEW |