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

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

Issue 2686133002: EME: Require codecs parameter for audio/videoCapabilities (Closed)
Patch Set: changes + additional test fixes Created 3 years, 10 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
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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 case UseCounter::CSSDeepCombinator: 376 case UseCounter::CSSDeepCombinator:
377 return "/deep/ combinator is deprecated. See " 377 return "/deep/ combinator is deprecated. See "
378 "https://www.chromestatus.com/features/6750456638341120 for more " 378 "https://www.chromestatus.com/features/6750456638341120 for more "
379 "details."; 379 "details.";
380 380
381 case UseCounter::CSSSelectorPseudoShadow: 381 case UseCounter::CSSSelectorPseudoShadow:
382 return "::shadow pseudo-element is deprecated. See " 382 return "::shadow pseudo-element is deprecated. See "
383 "https://www.chromestatus.com/features/6750456638341120 for more " 383 "https://www.chromestatus.com/features/6750456638341120 for more "
384 "details."; 384 "details.";
385 385
386 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs:
387 return String::format(
388 "EME requires that contentType strings accepted by "
389 "requestMediaKeySystemAccess() include codecs. Non-standard support "
390 "for contentType strings without codecs will be removed in %s. "
391 "Please specify the desired codec(s) as part of the contentType.",
392 milestoneString(M58));
393
394 case UseCounter::VRDeprecatedFieldOfView: 386 case UseCounter::VRDeprecatedFieldOfView:
395 return replacedBy("VREyeParameters.fieldOfView", 387 return replacedBy("VREyeParameters.fieldOfView",
396 "projection matrices provided by VRFrameData"); 388 "projection matrices provided by VRFrameData");
397 389
398 case UseCounter::VRDeprecatedGetPose: 390 case UseCounter::VRDeprecatedGetPose:
399 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); 391 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()");
400 392
401 case UseCounter::HTMLEmbedElementLegacyCall: 393 case UseCounter::HTMLEmbedElementLegacyCall:
402 return willBeRemoved("HTMLEmbedElement legacy caller", M58, 394 return willBeRemoved("HTMLEmbedElement legacy caller", M58,
403 "5715026367217664"); 395 "5715026367217664");
(...skipping 26 matching lines...) Expand all
430 "-internal-media-controls-text-track-list* selectors", M59, 422 "-internal-media-controls-text-track-list* selectors", M59,
431 "5661431349379072"); 423 "5661431349379072");
432 424
433 // Features that aren't deprecated don't have a deprecation message. 425 // Features that aren't deprecated don't have a deprecation message.
434 default: 426 default:
435 return String(); 427 return String();
436 } 428 }
437 } 429 }
438 430
439 } // namespace blink 431 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698