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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 | 386 |
387 case UseCounter::HTMLKeygenElement: | 387 case UseCounter::HTMLKeygenElement: |
388 return willBeRemoved("The <keygen> element", M57, "5716060992962560"); | 388 return willBeRemoved("The <keygen> element", M57, "5716060992962560"); |
389 | 389 |
390 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: | 390 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: |
391 return String::format( | 391 return String::format( |
392 "EME requires that contentType strings accepted by " | 392 "EME requires that contentType strings accepted by " |
393 "requestMediaKeySystemAccess() include codecs. Non-standard support " | 393 "requestMediaKeySystemAccess() include codecs. Non-standard support " |
394 "for contentType strings without codecs will be removed in %s. " | 394 "for contentType strings without codecs will be removed in %s. " |
395 "Please specify the desired codec(s) as part of the contentType.", | 395 "Please specify the desired codec(s) as part of the contentType.", |
396 milestoneString(M56)); | 396 milestoneString(M58)); |
397 | 397 |
398 case UseCounter::VRDeprecatedFieldOfView: | 398 case UseCounter::VRDeprecatedFieldOfView: |
399 return replacedBy("VREyeParameters.fieldOfView", | 399 return replacedBy("VREyeParameters.fieldOfView", |
400 "projection matrices provided by VRFrameData"); | 400 "projection matrices provided by VRFrameData"); |
401 | 401 |
402 case UseCounter::VRDeprecatedGetPose: | 402 case UseCounter::VRDeprecatedGetPose: |
403 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); | 403 return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); |
404 | 404 |
405 case UseCounter::HTMLEmbedElementLegacyCall: | 405 case UseCounter::HTMLEmbedElementLegacyCall: |
406 return willBeRemoved("HTMLEmbedElement legacy caller", M58, | 406 return willBeRemoved("HTMLEmbedElement legacy caller", M58, |
407 "5715026367217664"); | 407 "5715026367217664"); |
408 | 408 |
409 case UseCounter::HTMLObjectElementLegacyCall: | 409 case UseCounter::HTMLObjectElementLegacyCall: |
410 return willBeRemoved("HTMLObjectElement legacy caller", M58, | 410 return willBeRemoved("HTMLObjectElement legacy caller", M58, |
411 "5715026367217664"); | 411 "5715026367217664"); |
412 | 412 |
413 // Features that aren't deprecated don't have a deprecation message. | 413 // Features that aren't deprecated don't have a deprecation message. |
414 default: | 414 default: |
415 return String(); | 415 return String(); |
416 } | 416 } |
417 } | 417 } |
418 | 418 |
419 } // namespace blink | 419 } // namespace blink |
OLD | NEW |