| 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 913 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 924 | 924 |
| 925 case PrefixedMouseEventMovementX: | 925 case PrefixedMouseEventMovementX: |
| 926 return replacedBy("webkitMovementX", "movementX"); | 926 return replacedBy("webkitMovementX", "movementX"); |
| 927 | 927 |
| 928 case PrefixedMouseEventMovementY: | 928 case PrefixedMouseEventMovementY: |
| 929 return replacedBy("webkitMovementY", "movementY"); | 929 return replacedBy("webkitMovementY", "movementY"); |
| 930 | 930 |
| 931 case VideoFullscreenAllowedExemption: | 931 case VideoFullscreenAllowedExemption: |
| 932 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."; | 932 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."; |
| 933 | 933 |
| 934 case SVGSMILElementInDocument: |
| 935 case SVGSMILAnimationInImageRegardlessOfCache: |
| 936 return "SVG's SMIL animations (<animate>, <set>, etc.) are deprecated an
d will be removed. Please use CSS animations or Web animations instead."; |
| 937 |
| 934 // Features that aren't deprecated don't have a deprecation message. | 938 // Features that aren't deprecated don't have a deprecation message. |
| 935 default: | 939 default: |
| 936 return String(); | 940 return String(); |
| 937 } | 941 } |
| 938 } | 942 } |
| 939 | 943 |
| 940 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 944 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) |
| 941 { | 945 { |
| 942 ASSERT(feature >= firstCSSProperty); | 946 ASSERT(feature >= firstCSSProperty); |
| 943 ASSERT(feature <= lastUnresolvedCSSProperty); | 947 ASSERT(feature <= lastUnresolvedCSSProperty); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 971 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 975 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 972 { | 976 { |
| 973 // FIXME: We may want to handle stylesheets that have multiple owners | 977 // FIXME: We may want to handle stylesheets that have multiple owners |
| 974 // http://crbug.com/242125 | 978 // http://crbug.com/242125 |
| 975 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 979 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 976 return getFrom(sheetContents->singleOwnerDocument()); | 980 return getFrom(sheetContents->singleOwnerDocument()); |
| 977 return 0; | 981 return 0; |
| 978 } | 982 } |
| 979 | 983 |
| 980 } // namespace blink | 984 } // namespace blink |
| OLD | NEW |