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

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: fix tests 2 Created 3 years, 9 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
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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 "The rtcpMuxPolicy option is being considered for " 435 "The rtcpMuxPolicy option is being considered for "
436 "removal and may be removed no earlier than %s. If you depend on it, " 436 "removal and may be removed no earlier than %s. If you depend on it, "
437 "please see https://www.chromestatus.com/features/5654810086866944 " 437 "please see https://www.chromestatus.com/features/5654810086866944 "
438 "for more details.", 438 "for more details.",
439 milestoneString(M60)); 439 milestoneString(M60));
440 440
441 case UseCounter::V8IDBFactory_WebkitGetDatabaseNames_Method: 441 case UseCounter::V8IDBFactory_WebkitGetDatabaseNames_Method:
442 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60, 442 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60,
443 "5725741740195840"); 443 "5725741740195840");
444 444
445 case UseCounter::DeprecatedWebKitLinearGradient:
446 return replacedBy("-webkit-linear-gradient", "linear-gradient");
447
448 case UseCounter::DeprecatedWebKitRepeatingLinearGradient:
449 return replacedBy("-webkit-repeating-linear-gradient",
450 "repeating-linear-gradient");
451
452 case UseCounter::DeprecatedWebKitGradient:
453 return replacedBy("-webkit-gradient",
454 "linear-gradient or radial-gradient");
455
456 case UseCounter::DeprecatedWebKitRadialGradient:
457 return replacedBy("-webkit-radial-gradient", "radial-gradient");
458
459 case UseCounter::DeprecatedWebKitRepeatingRadialGradient:
460 return replacedBy("-webkit-repeating-radial-gradient",
461 "repeating-radial-gradient");
462
445 // Features that aren't deprecated don't have a deprecation message. 463 // Features that aren't deprecated don't have a deprecation message.
446 default: 464 default:
447 return String(); 465 return String();
448 } 466 }
449 } 467 }
450 468
451 } // namespace blink 469 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698