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

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

Issue 2349813002: EME: Update MediaKeySystemConfiguration defaults; require non-empty capabilities (Closed)
Patch Set: changes Created 4 years, 3 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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 339
340 case UseCounter::WebAnimationHyphenatedProperty: 340 case UseCounter::WebAnimationHyphenatedProperty:
341 return "Hyphenated property names in Web Animations keyframes are invali d and therefore ignored. Please use camelCase instead."; 341 return "Hyphenated property names in Web Animations keyframes are invali d and therefore ignored. Please use camelCase instead.";
342 342
343 case UseCounter::HTMLKeygenElement: 343 case UseCounter::HTMLKeygenElement:
344 return willBeRemoved("The <keygen> element", 56, "5716060992962560"); 344 return willBeRemoved("The <keygen> element", 56, "5716060992962560");
345 345
346 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: 346 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs:
347 return String::format("EME requires that contentType strings accepted by requestMediaKeySystemAccess() include codecs. Non-standard support for contentT ype strings without codecs will be removed in %s. Please specify the desired cod ec(s) as part of the contentType.", milestoneString(56)); 347 return String::format("EME requires that contentType strings accepted by requestMediaKeySystemAccess() include codecs. Non-standard support for contentT ype strings without codecs will be removed in %s. Please specify the desired cod ec(s) as part of the contentType.", milestoneString(56));
348 348
349 case UseCounter::EncryptedMediaCapabilityNotProvided:
350 return String::format("EME requires that one of 'audioCapabilities' and 'videoCapabilities' must be non-empty. Non-standard support for this will be rem oved in %s. Please specify at least one valid capability for 'audioCapabilities' or 'videoCapabilities'.", milestoneString(56));
foolip 2016/09/23 08:18:39 This needs an Intent to Deprecate and Remove on bl
jrummell 2016/09/29 20:40:01 Removed message for now until we get some data.
351
349 case UseCounter::UntrustedEventDefaultHandled: 352 case UseCounter::UntrustedEventDefaultHandled:
350 return String::format("A DOM event generated from JavaScript has trigger ed a default action inside the browser. This behavior is non-standard and will b e removed in %s. See https://www.chromestatus.com/features/5718803933560832 for more details.", milestoneString(53)); 353 return String::format("A DOM event generated from JavaScript has trigger ed a default action inside the browser. This behavior is non-standard and will b e removed in %s. See https://www.chromestatus.com/features/5718803933560832 for more details.", milestoneString(53));
351 354
352 case UseCounter::TouchStartUserGestureUtilized: 355 case UseCounter::TouchStartUserGestureUtilized:
353 return willBeRemoved("Performing operations that require explicit user i nteraction on touchstart events", 55, "5649871251963904"); 356 return willBeRemoved("Performing operations that require explicit user i nteraction on touchstart events", 55, "5649871251963904");
354 357
355 case UseCounter::TouchMoveUserGestureUtilized: 358 case UseCounter::TouchMoveUserGestureUtilized:
356 return willBeRemoved("Performing operations that require explicit user i nteraction on touchmove events", 55, "5649871251963904"); 359 return willBeRemoved("Performing operations that require explicit user i nteraction on touchmove events", 55, "5649871251963904");
357 360
358 case UseCounter::TouchEndDuringScrollUserGestureUtilized: 361 case UseCounter::TouchEndDuringScrollUserGestureUtilized:
(...skipping 17 matching lines...) Expand all
376 case UseCounter::WebAudioAutoplayCrossOriginIframe: 379 case UseCounter::WebAudioAutoplayCrossOriginIframe:
377 return willBeRemoved("Web Audio autoplay (without user gesture) from cro ss-origin iframes", 55, "6406908126691328"); 380 return willBeRemoved("Web Audio autoplay (without user gesture) from cro ss-origin iframes", 55, "6406908126691328");
378 381
379 // Features that aren't deprecated don't have a deprecation message. 382 // Features that aren't deprecated don't have a deprecation message.
380 default: 383 default:
381 return String(); 384 return String();
382 } 385 }
383 } 386 }
384 387
385 } // namespace blink 388 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698