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 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
831 return replacedBy("Range.expand()", "Selection.modify()"); | 831 return replacedBy("Range.expand()", "Selection.modify()"); |
832 | 832 |
833 case PrefixedMediaAddKey: | 833 case PrefixedMediaAddKey: |
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: |
| 842 return "Setting AudioBufferSourceNode.buffer more than once is deprecate
d and will no longer work in Chrome 43."; |
| 843 |
841 // Features that aren't deprecated don't have a deprecation message. | 844 // Features that aren't deprecated don't have a deprecation message. |
842 default: | 845 default: |
843 return String(); | 846 return String(); |
844 } | 847 } |
845 } | 848 } |
846 | 849 |
847 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 850 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) |
848 { | 851 { |
849 ASSERT(feature >= firstCSSProperty); | 852 ASSERT(feature >= firstCSSProperty); |
850 ASSERT(feature <= lastCSSProperty); | 853 ASSERT(feature <= lastCSSProperty); |
(...skipping 28 matching lines...) Expand all Loading... |
879 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 882 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
880 { | 883 { |
881 // FIXME: We may want to handle stylesheets that have multiple owners | 884 // FIXME: We may want to handle stylesheets that have multiple owners |
882 // http://crbug.com/242125 | 885 // http://crbug.com/242125 |
883 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 886 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
884 return getFrom(sheetContents->singleOwnerDocument()); | 887 return getFrom(sheetContents->singleOwnerDocument()); |
885 return 0; | 888 return 0; |
886 } | 889 } |
887 | 890 |
888 } // namespace blink | 891 } // namespace blink |
OLD | NEW |