Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(830)

Side by Side Diff: Source/core/frame/UseCounter.cpp

Issue 1297433004: Update prefixed EME deprecation message. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « LayoutTests/media/encrypted-media/prefixed/encrypted-media-syntax-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 841 matching lines...) Expand 10 before | Expand all | Expand 10 after
852 852
853 case PrefixedOfflineAudioContext: 853 case PrefixedOfflineAudioContext:
854 return replacedBy("webkitOfflineAudioContext", "OfflineAudioContext"); 854 return replacedBy("webkitOfflineAudioContext", "OfflineAudioContext");
855 855
856 case RangeExpand: 856 case RangeExpand:
857 return replacedBy("Range.expand()", "Selection.modify()"); 857 return replacedBy("Range.expand()", "Selection.modify()");
858 858
859 case PrefixedMediaAddKey: 859 case PrefixedMediaAddKey:
860 case PrefixedMediaGenerateKeyRequest: 860 case PrefixedMediaGenerateKeyRequest:
861 case PrefixedMediaCancelKeyRequest: 861 case PrefixedMediaCancelKeyRequest:
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."; 862 return "The prefixed Encrypted Media Extensions APIs are deprecated and will be removed in M47 (beta around October 2015). Please use 'navigator.request MediaKeySystemAccess()' instead.";
863 863
864 case CanPlayTypeKeySystem: 864 case CanPlayTypeKeySystem:
865 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 M47 (beta around October 2015). Please use 'navigator.requestMediaKey SystemAccess()' instead.";
866 866
867 case SVGSVGElementForceRedraw: 867 case SVGSVGElementForceRedraw:
868 return "'SVGSVGElement.forceRedraw()' is deprecated, please do not use i t. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__svg__S VGSVGElement__forceRedraw)."; 868 return "'SVGSVGElement.forceRedraw()' is deprecated, please do not use i t. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__svg__S VGSVGElement__forceRedraw).";
869 869
870 case SVGSVGElementSuspendRedraw: 870 case SVGSVGElementSuspendRedraw:
871 return "'SVGSVGElement.suspendRedraw()' is deprecated, please do not use it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__svg_ _SVGSVGElement__suspendRedraw)."; 871 return "'SVGSVGElement.suspendRedraw()' is deprecated, please do not use it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__svg_ _SVGSVGElement__suspendRedraw).";
872 872
873 case SVGSVGElementUnsuspendRedraw: 873 case SVGSVGElementUnsuspendRedraw:
874 return "'SVGSVGElement.unsuspendRedraw()' is deprecated, please do not u se it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__sv g__SVGSVGElement__unsuspendRedraw)."; 874 return "'SVGSVGElement.unsuspendRedraw()' is deprecated, please do not u se it. It is a no-op, as per SVG2 (https://svgwg.org/svg2-draft/struct.html#__sv g__SVGSVGElement__unsuspendRedraw).";
875 875
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
1011 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) 1011 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents)
1012 { 1012 {
1013 // FIXME: We may want to handle stylesheets that have multiple owners 1013 // FIXME: We may want to handle stylesheets that have multiple owners
1014 // http://crbug.com/242125 1014 // http://crbug.com/242125
1015 if (sheetContents && sheetContents->hasSingleOwnerNode()) 1015 if (sheetContents && sheetContents->hasSingleOwnerNode())
1016 return getFrom(sheetContents->singleOwnerDocument()); 1016 return getFrom(sheetContents->singleOwnerDocument());
1017 return 0; 1017 return 0;
1018 } 1018 }
1019 1019
1020 } // namespace blink 1020 } // namespace blink
OLDNEW
« no previous file with comments | « LayoutTests/media/encrypted-media/prefixed/encrypted-media-syntax-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698