| 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 910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 921 | 921 |
| 922 case CSSSelectorPseudoShadow: | 922 case CSSSelectorPseudoShadow: |
| 923 return "::shadow pseudo-element is deprecated. See https://www.chromesta
tus.com/features/6750456638341120 for more details."; | 923 return "::shadow pseudo-element is deprecated. See https://www.chromesta
tus.com/features/6750456638341120 for more details."; |
| 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: |
| 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 |
| 931 // Features that aren't deprecated don't have a deprecation message. | 934 // Features that aren't deprecated don't have a deprecation message. |
| 932 default: | 935 default: |
| 933 return String(); | 936 return String(); |
| 934 } | 937 } |
| 935 } | 938 } |
| 936 | 939 |
| 937 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 940 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) |
| 938 { | 941 { |
| 939 ASSERT(feature >= firstCSSProperty); | 942 ASSERT(feature >= firstCSSProperty); |
| 940 ASSERT(feature <= lastUnresolvedCSSProperty); | 943 ASSERT(feature <= lastUnresolvedCSSProperty); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 968 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 971 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 969 { | 972 { |
| 970 // FIXME: We may want to handle stylesheets that have multiple owners | 973 // FIXME: We may want to handle stylesheets that have multiple owners |
| 971 // http://crbug.com/242125 | 974 // http://crbug.com/242125 |
| 972 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 975 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 973 return getFrom(sheetContents->singleOwnerDocument()); | 976 return getFrom(sheetContents->singleOwnerDocument()); |
| 974 return 0; | 977 return 0; |
| 975 } | 978 } |
| 976 | 979 |
| 977 } // namespace blink | 980 } // namespace blink |
| OLD | NEW |