| 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 924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 935 | 935 |
| 936 case MediaStreamLabel: | 936 case MediaStreamLabel: |
| 937 return "'MediaStream.label' is deprecated and will be removed in M47, ar
ound November 2015. Please use 'MediaStream.id' instead."; | 937 return "'MediaStream.label' is deprecated and will be removed in M47, ar
ound November 2015. Please use 'MediaStream.id' instead."; |
| 938 | 938 |
| 939 case MediaStreamStop: | 939 case MediaStreamStop: |
| 940 return "'MediaStream.stop()' is deprecated and will be removed in M47, a
round November 2015. Please use 'MediaStream.active' instead."; | 940 return "'MediaStream.stop()' is deprecated and will be removed in M47, a
round November 2015. Please use 'MediaStream.active' instead."; |
| 941 | 941 |
| 942 case MediaStreamEnded: | 942 case MediaStreamEnded: |
| 943 return "'MediaStream.ended' is deprecated and will be removed in M47, ar
ound November 2015. Please use 'MediaStream.active' instead."; | 943 return "'MediaStream.ended' is deprecated and will be removed in M47, ar
ound November 2015. Please use 'MediaStream.active' instead."; |
| 944 | 944 |
| 945 case PermissionStatusStatus: | |
| 946 return "PermissionStatus.status is deprecated and will be removed in M47
, around November 2015. Please use PermissionStatus.state instead."; | |
| 947 | |
| 948 case ElementOffsetParent: | 945 case ElementOffsetParent: |
| 949 return "'Element.offsetParent' is deprecated and will be removed in M47,
around Novemver 2015. The offset* attributes are only standardized and widely s
upported for HTML elements."; | 946 return "'Element.offsetParent' is deprecated and will be removed in M47,
around Novemver 2015. The offset* attributes are only standardized and widely s
upported for HTML elements."; |
| 950 | 947 |
| 951 case ElementOffsetTop: | 948 case ElementOffsetTop: |
| 952 return "'Element.offsetTop' is deprecated and will be removed in M47, ar
ound Novemver 2015. The offset* attributes are only standardized and widely supp
orted for HTML elements."; | 949 return "'Element.offsetTop' is deprecated and will be removed in M47, ar
ound Novemver 2015. The offset* attributes are only standardized and widely supp
orted for HTML elements."; |
| 953 | 950 |
| 954 case ElementOffsetLeft: | 951 case ElementOffsetLeft: |
| 955 return "'Element.offsetLeft' is deprecated and will be removed in M47, a
round Novemver 2015. The offset* attributes are only standardized and widely sup
ported for HTML elements."; | 952 return "'Element.offsetLeft' is deprecated and will be removed in M47, a
round Novemver 2015. The offset* attributes are only standardized and widely sup
ported for HTML elements."; |
| 956 | 953 |
| 957 case ElementOffsetWidth: | 954 case ElementOffsetWidth: |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1015 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 1012 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 1016 { | 1013 { |
| 1017 // FIXME: We may want to handle stylesheets that have multiple owners | 1014 // FIXME: We may want to handle stylesheets that have multiple owners |
| 1018 // http://crbug.com/242125 | 1015 // http://crbug.com/242125 |
| 1019 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 1016 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 1020 return getFrom(sheetContents->singleOwnerDocument()); | 1017 return getFrom(sheetContents->singleOwnerDocument()); |
| 1021 return 0; | 1018 return 0; |
| 1022 } | 1019 } |
| 1023 | 1020 |
| 1024 } // namespace blink | 1021 } // namespace blink |
| OLD | NEW |