| 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 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 | 376 |
| 377 case UseCounter::kVREyeParametersOffset: | 377 case UseCounter::kVREyeParametersOffset: |
| 378 return replacedBy("VREyeParameters.offset", | 378 return replacedBy("VREyeParameters.offset", |
| 379 "view matrices provided by VRFrameData"); | 379 "view matrices provided by VRFrameData"); |
| 380 | 380 |
| 381 case UseCounter::kCSSSelectorInternalMediaControlsOverlayCastButton: | 381 case UseCounter::kCSSSelectorInternalMediaControlsOverlayCastButton: |
| 382 return willBeRemoved( | 382 return willBeRemoved( |
| 383 "-internal-media-controls-overlay-cast-button selector", M61, | 383 "-internal-media-controls-overlay-cast-button selector", M61, |
| 384 "5714245488476160"); | 384 "5714245488476160"); |
| 385 | 385 |
| 386 case UseCounter::kCSSZoomReset: | |
| 387 return willBeRemoved("\"zoom: reset\"", M59, "4997605029314560"); | |
| 388 | |
| 389 case UseCounter::kCSSZoomDocument: | |
| 390 return willBeRemoved("\"zoom: document\"", M59, "4997605029314560"); | |
| 391 | |
| 392 case UseCounter::kSelectionAddRangeIntersect: | 386 case UseCounter::kSelectionAddRangeIntersect: |
| 393 return "The behavior that Selection.addRange() merges existing Range and " | 387 return "The behavior that Selection.addRange() merges existing Range and " |
| 394 "the specified Range was removed. See " | 388 "the specified Range was removed. See " |
| 395 "https://www.chromestatus.com/features/6680566019653632 for more " | 389 "https://www.chromestatus.com/features/6680566019653632 for more " |
| 396 "details."; | 390 "details."; |
| 397 | 391 |
| 398 case UseCounter::kSubtleCryptoOnlyStrictSecureContextCheckFailed: | 392 case UseCounter::kSubtleCryptoOnlyStrictSecureContextCheckFailed: |
| 399 return String::Format( | 393 return String::Format( |
| 400 "Web Crypto API usage inside secure frames with non-secure ancestors " | 394 "Web Crypto API usage inside secure frames with non-secure ancestors " |
| 401 "is deprecated. The API will no longer be exposed in these contexts " | 395 "is deprecated. The API will no longer be exposed in these contexts " |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 return willBeRemoved("SVGPathElement.getPathSegAtLength", M62, | 438 return willBeRemoved("SVGPathElement.getPathSegAtLength", M62, |
| 445 "5638783282184192"); | 439 "5638783282184192"); |
| 446 | 440 |
| 447 // Features that aren't deprecated don't have a deprecation message. | 441 // Features that aren't deprecated don't have a deprecation message. |
| 448 default: | 442 default: |
| 449 return String(); | 443 return String(); |
| 450 } | 444 } |
| 451 } | 445 } |
| 452 | 446 |
| 453 } // namespace blink | 447 } // namespace blink |
| OLD | NEW |