Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright (C) 2012 Google, Inc. All rights reserved. | 3 * Copyright (C) 2012 Google, Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 823 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 834 case PrefixedMediaGenerateKeyRequest: | 834 case PrefixedMediaGenerateKeyRequest: |
| 835 case PrefixedMediaCancelKeyRequest: | 835 case PrefixedMediaCancelKeyRequest: |
| 836 return "The prefixed Encrypted Media Extensions APIs are deprecated and will be removed soon. Please use 'navigator.requestMediaKeySystemAccess()' inste ad."; | 836 return "The prefixed Encrypted Media Extensions APIs are deprecated and will be removed soon. Please use 'navigator.requestMediaKeySystemAccess()' inste ad."; |
| 837 | 837 |
| 838 case CanPlayTypeKeySystem: | 838 case CanPlayTypeKeySystem: |
| 839 return "canPlayType()'s 'keySystem' parameter is deprecated and will be removed soon. Please use 'navigator.requestMediaKeySystemAccess()' instead."; | 839 return "canPlayType()'s 'keySystem' parameter is deprecated and will be removed soon. Please use 'navigator.requestMediaKeySystemAccess()' instead."; |
| 840 | 840 |
| 841 case AudioBufferSourceBufferOnce: | 841 case AudioBufferSourceBufferOnce: |
| 842 return "Setting AudioBufferSourceNode.buffer more than once is deprecate d and will no longer work in Chrome 43."; | 842 return "Setting AudioBufferSourceNode.buffer more than once is deprecate d and will no longer work in Chrome 43."; |
| 843 | 843 |
| 844 case ServiceWorkerClientsGetAll: | |
| 845 return "ServiceWorkerClients.getAll() is deprecated. Please use 'matchAl l' instead"; | |
|
Kunihiko Sakamoto
2015/02/09 10:34:51
The interface name exposed to user is not "Service
| |
| 844 // Features that aren't deprecated don't have a deprecation message. | 846 // Features that aren't deprecated don't have a deprecation message. |
| 845 default: | 847 default: |
| 846 return String(); | 848 return String(); |
| 847 } | 849 } |
| 848 } | 850 } |
| 849 | 851 |
| 850 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 852 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) |
| 851 { | 853 { |
| 852 ASSERT(feature >= firstCSSProperty); | 854 ASSERT(feature >= firstCSSProperty); |
| 853 ASSERT(feature <= lastCSSProperty); | 855 ASSERT(feature <= lastCSSProperty); |
| (...skipping 28 matching lines...) Expand all Loading... | |
| 882 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 884 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
| 883 { | 885 { |
| 884 // FIXME: We may want to handle stylesheets that have multiple owners | 886 // FIXME: We may want to handle stylesheets that have multiple owners |
| 885 // http://crbug.com/242125 | 887 // http://crbug.com/242125 |
| 886 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 888 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
| 887 return getFrom(sheetContents->singleOwnerDocument()); | 889 return getFrom(sheetContents->singleOwnerDocument()); |
| 888 return 0; | 890 return 0; |
| 889 } | 891 } |
| 890 | 892 |
| 891 } // namespace blink | 893 } // namespace blink |
| OLD | NEW |