| 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 901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 912 | 912 |
| 913 case ElementCreateShadowRootMultipleWithUserAgentShadowRoot: | 913 case ElementCreateShadowRootMultipleWithUserAgentShadowRoot: |
| 914 return "Calling Element.createShadowRoot() for an element which already
hosts a user-agent shadow root is deprecated. See https://www.chromestatus.com/f
eatures/4668884095336448 for more details."; | 914 return "Calling Element.createShadowRoot() for an element which already
hosts a user-agent shadow root is deprecated. See https://www.chromestatus.com/f
eatures/4668884095336448 for more details."; |
| 915 | 915 |
| 916 case CSSDeepCombinator: | 916 case CSSDeepCombinator: |
| 917 return "/deep/ combinator is deprecated. See https://www.chromestatus.co
m/features/6750456638341120 for more details."; | 917 return "/deep/ combinator is deprecated. See https://www.chromestatus.co
m/features/6750456638341120 for more details."; |
| 918 | 918 |
| 919 case CSSSelectorPseudoShadow: | 919 case CSSSelectorPseudoShadow: |
| 920 return "::shadow pseudo-element is deprecated. See https://www.chromesta
tus.com/features/6750456638341120 for more details."; | 920 return "::shadow pseudo-element is deprecated. See https://www.chromesta
tus.com/features/6750456638341120 for more details."; |
| 921 | 921 |
| 922 case PrefixedMouseEventMovementX: | |
| 923 return replacedBy("'webkitMovementX'", "'movementX'"); | |
| 924 | |
| 925 case PrefixedMouseEventMovementY: | |
| 926 return replacedBy("'webkitMovementY'", "'movementY'"); | |
| 927 | |
| 928 case SVGSMILElementInDocument: | 922 case SVGSMILElementInDocument: |
| 929 case SVGSMILAnimationInImageRegardlessOfCache: | 923 case SVGSMILAnimationInImageRegardlessOfCache: |
| 930 return "SVG's SMIL animations (<animate>, <set>, etc.) are deprecated an
d will be removed. Please use CSS animations or Web animations instead."; | 924 return "SVG's SMIL animations (<animate>, <set>, etc.) are deprecated an
d will be removed. Please use CSS animations or Web animations instead."; |
| 931 | 925 |
| 932 case PrefixedPerformanceClearResourceTimings: | 926 case PrefixedPerformanceClearResourceTimings: |
| 933 return replacedBy("'Performance.webkitClearResourceTimings'", "'Performa
nce.clearResourceTimings'"); | 927 return replacedBy("'Performance.webkitClearResourceTimings'", "'Performa
nce.clearResourceTimings'"); |
| 934 | 928 |
| 935 case PrefixedPerformanceSetResourceTimingBufferSize: | 929 case PrefixedPerformanceSetResourceTimingBufferSize: |
| 936 return replacedBy("'Performance.webkitSetResourceTimingBufferSize'", "'P
erformance.setResourceTimingBufferSize'"); | 930 return replacedBy("'Performance.webkitSetResourceTimingBufferSize'", "'P
erformance.setResourceTimingBufferSize'"); |
| 937 | 931 |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1008 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 1002 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 1009 { | 1003 { |
| 1010 // FIXME: We may want to handle stylesheets that have multiple owners | 1004 // FIXME: We may want to handle stylesheets that have multiple owners |
| 1011 // https://crbug.com/242125 | 1005 // https://crbug.com/242125 |
| 1012 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 1006 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 1013 return getFrom(sheetContents->singleOwnerDocument()); | 1007 return getFrom(sheetContents->singleOwnerDocument()); |
| 1014 return 0; | 1008 return 0; |
| 1015 } | 1009 } |
| 1016 | 1010 |
| 1017 } // namespace blink | 1011 } // namespace blink |
| OLD | NEW |