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

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

Issue 2866933002: Revert sending deprecation messages for prefixed gradients. (Closed)
Patch Set: rebaseline 2 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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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