| 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 838 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 849 | 849 |
| 850 case PrefixedWindowURL: | 850 case PrefixedWindowURL: |
| 851 return replacedBy("webkitURL", "URL"); | 851 return replacedBy("webkitURL", "URL"); |
| 852 | 852 |
| 853 case PrefixedAudioContext: | 853 case PrefixedAudioContext: |
| 854 return replacedBy("webkitAudioContext", "AudioContext"); | 854 return replacedBy("webkitAudioContext", "AudioContext"); |
| 855 | 855 |
| 856 case PrefixedOfflineAudioContext: | 856 case PrefixedOfflineAudioContext: |
| 857 return replacedBy("webkitOfflineAudioContext", "OfflineAudioContext"); | 857 return replacedBy("webkitOfflineAudioContext", "OfflineAudioContext"); |
| 858 | 858 |
| 859 case RangeCompareNode: | |
| 860 return replacedBy("Range.compareNode()", "Range.compareBoundaryPoints()"
); | |
| 861 | |
| 862 case RangeExpand: | 859 case RangeExpand: |
| 863 return replacedBy("Range.expand()", "Selection.modify()"); | 860 return replacedBy("Range.expand()", "Selection.modify()"); |
| 864 | 861 |
| 865 case PrefixedMediaAddKey: | 862 case PrefixedMediaAddKey: |
| 866 case PrefixedMediaGenerateKeyRequest: | 863 case PrefixedMediaGenerateKeyRequest: |
| 867 case PrefixedMediaCancelKeyRequest: | 864 case PrefixedMediaCancelKeyRequest: |
| 868 return "The prefixed Encrypted Media Extensions APIs are deprecated and
will be removed in M46 (beta around September 2015). Please use 'navigator.reque
stMediaKeySystemAccess()' instead."; | 865 return "The prefixed Encrypted Media Extensions APIs are deprecated and
will be removed in M46 (beta around September 2015). Please use 'navigator.reque
stMediaKeySystemAccess()' instead."; |
| 869 | 866 |
| 870 case CanPlayTypeKeySystem: | 867 case CanPlayTypeKeySystem: |
| 871 return "canPlayType()'s 'keySystem' parameter is deprecated and will be
ignored in M46 (beta around September 2015). Please use 'navigator.requestMediaK
eySystemAccess()' instead."; | 868 return "canPlayType()'s 'keySystem' parameter is deprecated and will be
ignored in M46 (beta around September 2015). Please use 'navigator.requestMediaK
eySystemAccess()' instead."; |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 987 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 984 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 988 { | 985 { |
| 989 // FIXME: We may want to handle stylesheets that have multiple owners | 986 // FIXME: We may want to handle stylesheets that have multiple owners |
| 990 // http://crbug.com/242125 | 987 // http://crbug.com/242125 |
| 991 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 988 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 992 return getFrom(sheetContents->singleOwnerDocument()); | 989 return getFrom(sheetContents->singleOwnerDocument()); |
| 993 return 0; | 990 return 0; |
| 994 } | 991 } |
| 995 | 992 |
| 996 } // namespace blink | 993 } // namespace blink |
| OLD | NEW |