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 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 SVGSMILElementInDocument: | 931 case SVGSMILElementInDocument: |
932 case SVGSMILAnimationInImageRegardlessOfCache: | 932 case SVGSMILAnimationInImageRegardlessOfCache: |
933 return "SVG's SMIL animations (<animate>, <set>, etc.) are deprecated an
d will be removed. Please use CSS animations or Web animations instead."; | 933 return "SVG's SMIL animations (<animate>, <set>, etc.) are deprecated an
d will be removed. Please use CSS animations or Web animations instead."; |
934 | 934 |
935 case MediaStreamLabel: | |
936 return "'MediaStream.label' is deprecated and will be removed in M47, ar
ound November 2015. Please use 'MediaStream.id' instead."; | |
937 | |
938 case MediaStreamStop: | |
939 return "'MediaStream.stop()' is deprecated and will be removed in M47, a
round November 2015. Please use 'MediaStream.active' instead."; | |
940 | |
941 case MediaStreamEnded: | |
942 return "'MediaStream.ended' is deprecated and will be removed in M47, ar
ound November 2015. Please use 'MediaStream.active' instead."; | |
943 | |
944 case PermissionStatusStatus: | 935 case PermissionStatusStatus: |
945 return "PermissionStatus.status is deprecated and will be removed in M47
, around November 2015. Please use PermissionStatus.state instead."; | 936 return "PermissionStatus.status is deprecated and will be removed in M47
, around November 2015. Please use PermissionStatus.state instead."; |
946 | 937 |
947 case ElementOffsetParent: | 938 case ElementOffsetParent: |
948 return "'Element.offsetParent' is deprecated and will be removed in M47,
around November 2015. The offset* attributes are only standardized and widely s
upported for HTML elements."; | 939 return "'Element.offsetParent' is deprecated and will be removed in M47,
around November 2015. The offset* attributes are only standardized and widely s
upported for HTML elements."; |
949 | 940 |
950 case ElementOffsetTop: | 941 case ElementOffsetTop: |
951 return "'Element.offsetTop' is deprecated and will be removed in M47, ar
ound November 2015. The offset* attributes are only standardized and widely supp
orted for HTML elements."; | 942 return "'Element.offsetTop' is deprecated and will be removed in M47, ar
ound November 2015. The offset* attributes are only standardized and widely supp
orted for HTML elements."; |
952 | 943 |
953 case ElementOffsetLeft: | 944 case ElementOffsetLeft: |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1017 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 1008 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
1018 { | 1009 { |
1019 // FIXME: We may want to handle stylesheets that have multiple owners | 1010 // FIXME: We may want to handle stylesheets that have multiple owners |
1020 // http://crbug.com/242125 | 1011 // http://crbug.com/242125 |
1021 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 1012 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
1022 return getFrom(sheetContents->singleOwnerDocument()); | 1013 return getFrom(sheetContents->singleOwnerDocument()); |
1023 return 0; | 1014 return 0; |
1024 } | 1015 } |
1025 | 1016 |
1026 } // namespace blink | 1017 } // namespace blink |
OLD | NEW |