| 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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 381 "'Performance.clearResourceTimings'"); | 381 "'Performance.clearResourceTimings'"); |
| 382 | 382 |
| 383 case UseCounter::PrefixedPerformanceSetResourceTimingBufferSize: | 383 case UseCounter::PrefixedPerformanceSetResourceTimingBufferSize: |
| 384 return replacedBy("'Performance.webkitSetResourceTimingBufferSize'", | 384 return replacedBy("'Performance.webkitSetResourceTimingBufferSize'", |
| 385 "'Performance.setResourceTimingBufferSize'"); | 385 "'Performance.setResourceTimingBufferSize'"); |
| 386 | 386 |
| 387 case UseCounter::PrefixedPerformanceResourceTimingBufferFull: | 387 case UseCounter::PrefixedPerformanceResourceTimingBufferFull: |
| 388 return replacedBy("'Performance.onwebkitresourcetimingbufferfull'", | 388 return replacedBy("'Performance.onwebkitresourcetimingbufferfull'", |
| 389 "'Performance.onresourcetimingbufferfull'"); | 389 "'Performance.onresourcetimingbufferfull'"); |
| 390 | 390 |
| 391 case UseCounter::HTMLKeygenElement: | |
| 392 return willBeRemoved("The <keygen> element", M57, "5716060992962560"); | |
| 393 | |
| 394 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: | 391 case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: |
| 395 return String::format( | 392 return String::format( |
| 396 "EME requires that contentType strings accepted by " | 393 "EME requires that contentType strings accepted by " |
| 397 "requestMediaKeySystemAccess() include codecs. Non-standard support " | 394 "requestMediaKeySystemAccess() include codecs. Non-standard support " |
| 398 "for contentType strings without codecs will be removed in %s. " | 395 "for contentType strings without codecs will be removed in %s. " |
| 399 "Please specify the desired codec(s) as part of the contentType.", | 396 "Please specify the desired codec(s) as part of the contentType.", |
| 400 milestoneString(M58)); | 397 milestoneString(M58)); |
| 401 | 398 |
| 402 case UseCounter::VRDeprecatedFieldOfView: | 399 case UseCounter::VRDeprecatedFieldOfView: |
| 403 return replacedBy("VREyeParameters.fieldOfView", | 400 return replacedBy("VREyeParameters.fieldOfView", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 414 return willBeRemoved("HTMLObjectElement legacy caller", M58, | 411 return willBeRemoved("HTMLObjectElement legacy caller", M58, |
| 415 "5715026367217664"); | 412 "5715026367217664"); |
| 416 | 413 |
| 417 // Features that aren't deprecated don't have a deprecation message. | 414 // Features that aren't deprecated don't have a deprecation message. |
| 418 default: | 415 default: |
| 419 return String(); | 416 return String(); |
| 420 } | 417 } |
| 421 } | 418 } |
| 422 | 419 |
| 423 } // namespace blink | 420 } // namespace blink |
| OLD | NEW |