| 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 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 904 | 904 |
| 905 case PrefixedTouchRadiusY: | 905 case PrefixedTouchRadiusY: |
| 906 return "'Touch.webkitRadiusY' is deprecated and will be removed in M47,
around November 2015. Please use 'Touch.radiusY' instead."; | 906 return "'Touch.webkitRadiusY' is deprecated and will be removed in M47,
around November 2015. Please use 'Touch.radiusY' instead."; |
| 907 | 907 |
| 908 case PrefixedTouchRotationAngle: | 908 case PrefixedTouchRotationAngle: |
| 909 return "'Touch.webkitRotationAngle' is deprecated and will be removed in
M47, around November 2015. Please use 'Touch.rotationAngle' instead."; | 909 return "'Touch.webkitRotationAngle' is deprecated and will be removed in
M47, around November 2015. Please use 'Touch.rotationAngle' instead."; |
| 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: |
| 915 return "/deep/ combinator is deprecated. See https://www.chromestatus.co
m/features/6750456638341120 for more details."; |
| 916 |
| 917 case CSSSelectorPseudoShadow: |
| 918 return "::shadow pseudo-element is deprecated. See https://www.chromesta
tus.com/features/6750456638341120 for more details."; |
| 919 |
| 914 // Features that aren't deprecated don't have a deprecation message. | 920 // Features that aren't deprecated don't have a deprecation message. |
| 915 default: | 921 default: |
| 916 return String(); | 922 return String(); |
| 917 } | 923 } |
| 918 } | 924 } |
| 919 | 925 |
| 920 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 926 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) |
| 921 { | 927 { |
| 922 ASSERT(feature >= firstCSSProperty); | 928 ASSERT(feature >= firstCSSProperty); |
| 923 ASSERT(feature <= lastUnresolvedCSSProperty); | 929 ASSERT(feature <= lastUnresolvedCSSProperty); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 951 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 957 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 952 { | 958 { |
| 953 // FIXME: We may want to handle stylesheets that have multiple owners | 959 // FIXME: We may want to handle stylesheets that have multiple owners |
| 954 // http://crbug.com/242125 | 960 // http://crbug.com/242125 |
| 955 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 961 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 956 return getFrom(sheetContents->singleOwnerDocument()); | 962 return getFrom(sheetContents->singleOwnerDocument()); |
| 957 return 0; | 963 return 0; |
| 958 } | 964 } |
| 959 | 965 |
| 960 } // namespace blink | 966 } // namespace blink |
| OLD | NEW |