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 PrefixedMouseEventMovementX: | 911 case PrefixedMouseEventMovementX: |
912 return replacedBy("webkitMovementX", "movementX"); | 912 return replacedBy("webkitMovementX", "movementX"); |
913 | 913 |
914 case PrefixedMouseEventMovementY: | 914 case PrefixedMouseEventMovementY: |
915 return replacedBy("webkitMovementY", "movementY"); | 915 return replacedBy("webkitMovementY", "movementY"); |
916 | 916 |
917 case SVGSMILElementInDocument: | 917 case SVGSMILElementInDocument: |
918 case SVGSMILAnimationInImageRegardlessOfCache: | 918 case SVGSMILAnimationInImageRegardlessOfCache: |
919 return "SVG's SMIL animations (<animate>, <set>, etc.) are deprecated an
d will be removed. Please use CSS animations or Web animations instead."; | 919 return "SVG's SMIL animations (<animate>, <set>, etc.) are deprecated an
d will be removed. Please use CSS animations or Web animations instead."; |
920 | |
921 case MediaStreamLabel: | |
922 return "'MediaStream.label' is deprecated and will be removed in M47, ar
ound November 2015. Please use 'MediaStream.id' instead."; | |
923 | |
924 case MediaStreamStop: | |
925 return "'MediaStream.stop()' is deprecated and will be removed in M47, a
round November 2015. Please use 'MediaStream.active' instead."; | |
926 | |
927 case MediaStreamEnded: | |
928 return "'MediaStream.ended' is deprecated and will be removed in M47, ar
ound November 2015. Please use 'MediaStream.active' instead."; | |
929 | |
930 case PrefixedPerformanceClearResourceTimings: | 920 case PrefixedPerformanceClearResourceTimings: |
931 return replacedBy("Performance.webkitClearResourceTimings", "Performance
.clearResourceTimings"); | 921 return replacedBy("Performance.webkitClearResourceTimings", "Performance
.clearResourceTimings"); |
932 | 922 |
933 case PrefixedPerformanceSetResourceTimingBufferSize: | 923 case PrefixedPerformanceSetResourceTimingBufferSize: |
934 return replacedBy("Performance.webkitSetResourceTimingBufferSize", "Perf
ormance.setResourceTimingBufferSize"); | 924 return replacedBy("Performance.webkitSetResourceTimingBufferSize", "Perf
ormance.setResourceTimingBufferSize"); |
935 | 925 |
936 case PrefixedPerformanceResourceTimingBufferFull: | 926 case PrefixedPerformanceResourceTimingBufferFull: |
937 return replacedBy("Performance.onwebkitresourcetimingbufferfull", "Perfo
rmance.onresourcetimingbufferfull"); | 927 return replacedBy("Performance.onwebkitresourcetimingbufferfull", "Perfo
rmance.onresourcetimingbufferfull"); |
938 | 928 |
939 case FetchAPIRequestContext: | 929 case FetchAPIRequestContext: |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
982 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 972 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
983 { | 973 { |
984 // FIXME: We may want to handle stylesheets that have multiple owners | 974 // FIXME: We may want to handle stylesheets that have multiple owners |
985 // http://crbug.com/242125 | 975 // http://crbug.com/242125 |
986 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 976 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
987 return getFrom(sheetContents->singleOwnerDocument()); | 977 return getFrom(sheetContents->singleOwnerDocument()); |
988 return 0; | 978 return 0; |
989 } | 979 } |
990 | 980 |
991 } // namespace blink | 981 } // namespace blink |
OLD | NEW |