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

Side by Side Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 2588153002: Merge "Add deprecation messages for EME requestMediaKeySystemAccess features" (Closed)
Patch Set: Created 4 years 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/frame/Deprecation.h" 5 #include "core/frame/Deprecation.h"
6 6
7 #include "core/dom/Document.h" 7 #include "core/dom/Document.h"
8 #include "core/dom/ExecutionContext.h" 8 #include "core/dom/ExecutionContext.h"
9 #include "core/frame/FrameConsole.h" 9 #include "core/frame/FrameConsole.h"
10 #include "core/frame/FrameHost.h" 10 #include "core/frame/FrameHost.h"
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 return willBeRemoved("The <keygen> element", M57, "5716060992962560"); 417 return willBeRemoved("The <keygen> element", M57, "5716060992962560");
418 418
419 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: 419 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs:
420 return String::format( 420 return String::format(
421 "EME requires that contentType strings accepted by " 421 "EME requires that contentType strings accepted by "
422 "requestMediaKeySystemAccess() include codecs. Non-standard support " 422 "requestMediaKeySystemAccess() include codecs. Non-standard support "
423 "for contentType strings without codecs will be removed in %s. " 423 "for contentType strings without codecs will be removed in %s. "
424 "Please specify the desired codec(s) as part of the contentType.", 424 "Please specify the desired codec(s) as part of the contentType.",
425 milestoneString(M58)); 425 milestoneString(M58));
426 426
427 case UseCounter::EncryptedMediaCapabilityNotProvided:
428 return String::format(
429 "EME requires that one of 'audioCapabilities' and "
430 "'videoCapabilities' must be non-empty. Non-standard support for "
431 "this will be removed in %s. Please specify at least one valid "
432 "capability for 'audioCapabilities' or 'videoCapabilities'.",
433 milestoneString(M58));
434
427 case UseCounter::VRDeprecatedFieldOfView: 435 case UseCounter::VRDeprecatedFieldOfView:
428 return replacedBy("VREyeParameters.fieldOfView", 436 return replacedBy("VREyeParameters.fieldOfView",
429 "projection matrices provided by VRFrameData"); 437 "projection matrices provided by VRFrameData");
430 438
431 case UseCounter::VRDeprecatedGetPose: 439 case UseCounter::VRDeprecatedGetPose:
432 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); 440 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()");
433 441
434 // Features that aren't deprecated don't have a deprecation message. 442 // Features that aren't deprecated don't have a deprecation message.
435 default: 443 default:
436 return String(); 444 return String();
437 } 445 }
438 } 446 }
439 447
440 } // namespace blink 448 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698