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 835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 | 846 |
847 case PrefixedWindowURL: | 847 case PrefixedWindowURL: |
848 return replacedBy("webkitURL", "URL"); | 848 return replacedBy("webkitURL", "URL"); |
849 | 849 |
850 case PrefixedAudioContext: | 850 case PrefixedAudioContext: |
851 return replacedBy("webkitAudioContext", "AudioContext"); | 851 return replacedBy("webkitAudioContext", "AudioContext"); |
852 | 852 |
853 case PrefixedOfflineAudioContext: | 853 case PrefixedOfflineAudioContext: |
854 return replacedBy("webkitOfflineAudioContext", "OfflineAudioContext"); | 854 return replacedBy("webkitOfflineAudioContext", "OfflineAudioContext"); |
855 | 855 |
856 case RangeCompareNode: | |
857 return replacedBy("Range.compareNode()", "Range.compareBoundaryPoints()"
); | |
858 | |
859 case RangeExpand: | 856 case RangeExpand: |
860 return replacedBy("Range.expand()", "Selection.modify()"); | 857 return replacedBy("Range.expand()", "Selection.modify()"); |
861 | 858 |
862 case PrefixedMediaAddKey: | 859 case PrefixedMediaAddKey: |
863 case PrefixedMediaGenerateKeyRequest: | 860 case PrefixedMediaGenerateKeyRequest: |
864 case PrefixedMediaCancelKeyRequest: | 861 case PrefixedMediaCancelKeyRequest: |
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."; | 862 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."; |
866 | 863 |
867 case CanPlayTypeKeySystem: | 864 case CanPlayTypeKeySystem: |
868 return "canPlayType()'s 'keySystem' parameter is deprecated and will be
ignored in M46 (beta around September 2015). Please use 'navigator.requestMediaK
eySystemAccess()' instead."; | 865 return "canPlayType()'s 'keySystem' parameter is deprecated and will be
ignored in M46 (beta around September 2015). Please use 'navigator.requestMediaK
eySystemAccess()' instead."; |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
968 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 965 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
969 { | 966 { |
970 // FIXME: We may want to handle stylesheets that have multiple owners | 967 // FIXME: We may want to handle stylesheets that have multiple owners |
971 // http://crbug.com/242125 | 968 // http://crbug.com/242125 |
972 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 969 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
973 return getFrom(sheetContents->singleOwnerDocument()); | 970 return getFrom(sheetContents->singleOwnerDocument()); |
974 return 0; | 971 return 0; |
975 } | 972 } |
976 | 973 |
977 } // namespace blink | 974 } // namespace blink |
OLD | NEW |