OLD | NEW |
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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 | 423 |
424 case UseCounter::HTMLKeygenElement: | 424 case UseCounter::HTMLKeygenElement: |
425 return willBeRemoved("The <keygen> element", M57, "5716060992962560"); | 425 return willBeRemoved("The <keygen> element", M57, "5716060992962560"); |
426 | 426 |
427 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: | 427 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: |
428 return String::format( | 428 return String::format( |
429 "EME requires that contentType strings accepted by " | 429 "EME requires that contentType strings accepted by " |
430 "requestMediaKeySystemAccess() include codecs. Non-standard support " | 430 "requestMediaKeySystemAccess() include codecs. Non-standard support " |
431 "for contentType strings without codecs will be removed in %s. " | 431 "for contentType strings without codecs will be removed in %s. " |
432 "Please specify the desired codec(s) as part of the contentType.", | 432 "Please specify the desired codec(s) as part of the contentType.", |
433 milestoneString(M56)); | 433 milestoneString(M58)); |
434 | 434 |
435 case UseCounter::VRDeprecatedFieldOfView: | 435 case UseCounter::VRDeprecatedFieldOfView: |
436 return replacedBy("VREyeParameters.fieldOfView", | 436 return replacedBy("VREyeParameters.fieldOfView", |
437 "projection matrices provided by VRFrameData"); | 437 "projection matrices provided by VRFrameData"); |
438 | 438 |
439 case UseCounter::VRDeprecatedGetPose: | 439 case UseCounter::VRDeprecatedGetPose: |
440 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); | 440 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); |
441 | 441 |
442 // Features that aren't deprecated don't have a deprecation message. | 442 // Features that aren't deprecated don't have a deprecation message. |
443 default: | 443 default: |
444 return String(); | 444 return String(); |
445 } | 445 } |
446 } | 446 } |
447 | 447 |
448 } // namespace blink | 448 } // namespace blink |
OLD | NEW |