| 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 899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 910 | 910 |
| 911 case PrefixedTouchForce: | 911 case PrefixedTouchForce: |
| 912 return "'Touch.webkitForce' is deprecated and will be removed in M47, ar
ound November 2015. Please use 'Touch.force' instead."; | 912 return "'Touch.webkitForce' is deprecated and will be removed in M47, ar
ound November 2015. Please use 'Touch.force' instead."; |
| 913 | 913 |
| 914 case CSSDeepCombinator: | 914 case CSSDeepCombinator: |
| 915 return "/deep/ combinator is deprecated. See https://www.chromestatus.co
m/features/6750456638341120 for more details."; | 915 return "/deep/ combinator is deprecated. See https://www.chromestatus.co
m/features/6750456638341120 for more details."; |
| 916 | 916 |
| 917 case CSSSelectorPseudoShadow: | 917 case CSSSelectorPseudoShadow: |
| 918 return "::shadow pseudo-element is deprecated. See https://www.chromesta
tus.com/features/6750456638341120 for more details."; | 918 return "::shadow pseudo-element is deprecated. See https://www.chromesta
tus.com/features/6750456638341120 for more details."; |
| 919 | 919 |
| 920 case PrefixedMouseEventMovementX: |
| 921 return replacedBy("webkitMovementX", "movementX"); |
| 922 |
| 923 case PrefixedMouseEventMovementY: |
| 924 return replacedBy("webkitMovementY", "movementY"); |
| 925 |
| 920 // Features that aren't deprecated don't have a deprecation message. | 926 // Features that aren't deprecated don't have a deprecation message. |
| 921 default: | 927 default: |
| 922 return String(); | 928 return String(); |
| 923 } | 929 } |
| 924 } | 930 } |
| 925 | 931 |
| 926 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 932 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) |
| 927 { | 933 { |
| 928 ASSERT(feature >= firstCSSProperty); | 934 ASSERT(feature >= firstCSSProperty); |
| 929 ASSERT(feature <= lastUnresolvedCSSProperty); | 935 ASSERT(feature <= lastUnresolvedCSSProperty); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 957 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 963 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 958 { | 964 { |
| 959 // FIXME: We may want to handle stylesheets that have multiple owners | 965 // FIXME: We may want to handle stylesheets that have multiple owners |
| 960 // http://crbug.com/242125 | 966 // http://crbug.com/242125 |
| 961 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 967 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 962 return getFrom(sheetContents->singleOwnerDocument()); | 968 return getFrom(sheetContents->singleOwnerDocument()); |
| 963 return 0; | 969 return 0; |
| 964 } | 970 } |
| 965 | 971 |
| 966 } // namespace blink | 972 } // namespace blink |
| OLD | NEW |