Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(54)

Side by Side Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 2746583003: Send deprecation messages for prefixed gradients now that it's possible. (Closed)
Patch Set: recommit Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698