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