| 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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 return String::Format( | 387 return String::Format( |
| 388 "The service worker responded to the navigation request with a " | 388 "The service worker responded to the navigation request with a " |
| 389 "redirected response. This will result in an error in %s.", | 389 "redirected response. This will result in an error in %s.", |
| 390 milestoneString(M59)); | 390 milestoneString(M59)); |
| 391 | 391 |
| 392 case UseCounter::kCSSSelectorInternalMediaControlsOverlayCastButton: | 392 case UseCounter::kCSSSelectorInternalMediaControlsOverlayCastButton: |
| 393 return willBeRemoved( | 393 return willBeRemoved( |
| 394 "-internal-media-controls-overlay-cast-button selector", M59, | 394 "-internal-media-controls-overlay-cast-button selector", M59, |
| 395 "5714245488476160"); | 395 "5714245488476160"); |
| 396 | 396 |
| 397 case UseCounter::kCSSZoomReset: | |
| 398 return willBeRemoved("\"zoom: reset\"", M59, "4997605029314560"); | |
| 399 | |
| 400 case UseCounter::kCSSZoomDocument: | |
| 401 return willBeRemoved("\"zoom: document\"", M59, "4997605029314560"); | |
| 402 | |
| 403 case UseCounter::kSelectionAddRangeIntersect: | 397 case UseCounter::kSelectionAddRangeIntersect: |
| 404 return "The behavior that Selection.addRange() merges existing Range and " | 398 return "The behavior that Selection.addRange() merges existing Range and " |
| 405 "the specified Range was removed. See " | 399 "the specified Range was removed. See " |
| 406 "https://www.chromestatus.com/features/6680566019653632 for more " | 400 "https://www.chromestatus.com/features/6680566019653632 for more " |
| 407 "details."; | 401 "details."; |
| 408 | 402 |
| 409 case UseCounter::kSubtleCryptoOnlyStrictSecureContextCheckFailed: | 403 case UseCounter::kSubtleCryptoOnlyStrictSecureContextCheckFailed: |
| 410 return String::Format( | 404 return String::Format( |
| 411 "Web Crypto API usage inside secure frames with non-secure ancestors " | 405 "Web Crypto API usage inside secure frames with non-secure ancestors " |
| 412 "is deprecated. The API will no longer be exposed in these contexts " | 406 "is deprecated. The API will no longer be exposed in these contexts " |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 447 "details.", | 441 "details.", |
| 448 milestoneString(M60)); | 442 milestoneString(M60)); |
| 449 | 443 |
| 450 // Features that aren't deprecated don't have a deprecation message. | 444 // Features that aren't deprecated don't have a deprecation message. |
| 451 default: | 445 default: |
| 452 return String(); | 446 return String(); |
| 453 } | 447 } |
| 454 } | 448 } |
| 455 | 449 |
| 456 } // namespace blink | 450 } // namespace blink |
| OLD | NEW |