| 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/LocalFrame.h" | 10 #include "core/frame/LocalFrame.h" |
| (...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 return willBeRemoved( | 379 return willBeRemoved( |
| 380 "-internal-media-controls-overlay-cast-button selector", M61, | 380 "-internal-media-controls-overlay-cast-button selector", M61, |
| 381 "5714245488476160"); | 381 "5714245488476160"); |
| 382 | 382 |
| 383 case UseCounter::kSelectionAddRangeIntersect: | 383 case UseCounter::kSelectionAddRangeIntersect: |
| 384 return "The behavior that Selection.addRange() merges existing Range and " | 384 return "The behavior that Selection.addRange() merges existing Range and " |
| 385 "the specified Range was removed. See " | 385 "the specified Range was removed. See " |
| 386 "https://www.chromestatus.com/features/6680566019653632 for more " | 386 "https://www.chromestatus.com/features/6680566019653632 for more " |
| 387 "details."; | 387 "details."; |
| 388 | 388 |
| 389 case UseCounter::kSubtleCryptoOnlyStrictSecureContextCheckFailed: | |
| 390 return String::Format( | |
| 391 "Web Crypto API usage inside secure frames with non-secure ancestors " | |
| 392 "is deprecated. The API will no longer be exposed in these contexts " | |
| 393 "as of %s. See https://www.chromestatus.com/features/5030265697075200" | |
| 394 " for more details.", | |
| 395 milestoneString(M59)); | |
| 396 | |
| 397 case UseCounter::kRtcpMuxPolicyNegotiate: | 389 case UseCounter::kRtcpMuxPolicyNegotiate: |
| 398 return String::Format( | 390 return String::Format( |
| 399 "The rtcpMuxPolicy option is being considered for " | 391 "The rtcpMuxPolicy option is being considered for " |
| 400 "removal and may be removed no earlier than %s. If you depend on it, " | 392 "removal and may be removed no earlier than %s. If you depend on it, " |
| 401 "please see https://www.chromestatus.com/features/5654810086866944 " | 393 "please see https://www.chromestatus.com/features/5654810086866944 " |
| 402 "for more details.", | 394 "for more details.", |
| 403 milestoneString(M62)); | 395 milestoneString(M62)); |
| 404 | 396 |
| 405 case UseCounter::kV8IDBFactory_WebkitGetDatabaseNames_Method: | 397 case UseCounter::kV8IDBFactory_WebkitGetDatabaseNames_Method: |
| 406 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60, | 398 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60, |
| (...skipping 28 matching lines...) Expand all Loading... |
| 435 return willBeRemoved("SVGPathElement.getPathSegAtLength", M62, | 427 return willBeRemoved("SVGPathElement.getPathSegAtLength", M62, |
| 436 "5638783282184192"); | 428 "5638783282184192"); |
| 437 | 429 |
| 438 // Features that aren't deprecated don't have a deprecation message. | 430 // Features that aren't deprecated don't have a deprecation message. |
| 439 default: | 431 default: |
| 440 return String(); | 432 return String(); |
| 441 } | 433 } |
| 442 } | 434 } |
| 443 | 435 |
| 444 } // namespace blink | 436 } // namespace blink |
| OLD | NEW |