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