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

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: one last manual rebaseline Created 3 years, 8 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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 419
420 case UseCounter::V8IDBFactory_WebkitGetDatabaseNames_Method: 420 case UseCounter::V8IDBFactory_WebkitGetDatabaseNames_Method:
421 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60, 421 return willBeRemoved("indexedDB.webkitGetDatabaseNames()", M60,
422 "5725741740195840"); 422 "5725741740195840");
423 423
424 case UseCounter::ChildSrcAllowedWorkerThatScriptSrcBlocked: 424 case UseCounter::ChildSrcAllowedWorkerThatScriptSrcBlocked:
425 return replacedWillBeRemoved("The 'child-src' directive", 425 return replacedWillBeRemoved("The 'child-src' directive",
426 "the 'script-src' directive for Workers", 426 "the 'script-src' directive for Workers",
427 M60, "5922594955984896"); 427 M60, "5922594955984896");
428 428
429 case UseCounter::DeprecatedWebKitLinearGradient:
430 return replacedBy("-webkit-linear-gradient", "linear-gradient");
431
432 case UseCounter::DeprecatedWebKitRepeatingLinearGradient:
433 return replacedBy("-webkit-repeating-linear-gradient",
434 "repeating-linear-gradient");
435
436 case UseCounter::DeprecatedWebKitGradient:
437 return replacedBy("-webkit-gradient",
438 "linear-gradient or radial-gradient");
439
440 case UseCounter::DeprecatedWebKitRadialGradient:
441 return replacedBy("-webkit-radial-gradient", "radial-gradient");
442
443 case UseCounter::DeprecatedWebKitRepeatingRadialGradient:
444 return replacedBy("-webkit-repeating-radial-gradient",
445 "repeating-radial-gradient");
446
429 // Features that aren't deprecated don't have a deprecation message. 447 // Features that aren't deprecated don't have a deprecation message.
430 default: 448 default:
431 return String(); 449 return String();
432 } 450 }
433 } 451 }
434 452
435 } // namespace blink 453 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698