| 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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 milestoneString(M60)); | 417 milestoneString(M60)); |
| 418 | 418 |
| 419 case UseCounter::kV8RTCPeerConnection_GetStreamById_Method: | 419 case UseCounter::kV8RTCPeerConnection_GetStreamById_Method: |
| 420 return willBeRemoved("RTCPeerConnection.getStreamById()", M62, | 420 return willBeRemoved("RTCPeerConnection.getStreamById()", M62, |
| 421 "5751819573657600"); | 421 "5751819573657600"); |
| 422 | 422 |
| 423 case UseCounter::kV8SVGPathElement_GetPathSegAtLength_Method: | 423 case UseCounter::kV8SVGPathElement_GetPathSegAtLength_Method: |
| 424 return willBeRemoved("SVGPathElement.getPathSegAtLength", M62, | 424 return willBeRemoved("SVGPathElement.getPathSegAtLength", M62, |
| 425 "5638783282184192"); | 425 "5638783282184192"); |
| 426 | 426 |
| 427 case UseCounter::kDeprecatedWebKitLinearGradient: |
| 428 return replacedBy("-webkit-linear-gradient", "linear-gradient"); |
| 429 |
| 430 case UseCounter::kDeprecatedWebKitRepeatingLinearGradient: |
| 431 return replacedBy("-webkit-repeating-linear-gradient", |
| 432 "repeating-linear-gradient"); |
| 433 |
| 434 case UseCounter::kDeprecatedWebKitGradient: |
| 435 return replacedBy("-webkit-gradient", |
| 436 "linear-gradient or radial-gradient"); |
| 437 |
| 438 case UseCounter::kDeprecatedWebKitRadialGradient: |
| 439 return replacedBy("-webkit-radial-gradient", "radial-gradient"); |
| 440 |
| 441 case UseCounter::kDeprecatedWebKitRepeatingRadialGradient: |
| 442 return replacedBy("-webkit-repeating-radial-gradient", |
| 443 "repeating-radial-gradient"); |
| 444 |
| 427 // Features that aren't deprecated don't have a deprecation message. | 445 // Features that aren't deprecated don't have a deprecation message. |
| 428 default: | 446 default: |
| 429 return String(); | 447 return String(); |
| 430 } | 448 } |
| 431 } | 449 } |
| 432 | 450 |
| 433 } // namespace blink | 451 } // namespace blink |
| OLD | NEW |