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

Unified Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 2856513002: Revert of CSS Motion Path: delete implementation of motion-offset property (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/frame/Deprecation.cpp
diff --git a/third_party/WebKit/Source/core/frame/Deprecation.cpp b/third_party/WebKit/Source/core/frame/Deprecation.cpp
index a2fdb48282e6db259159bf6b3fdbb172f765fa01..3fbc1223ee9db8d78e6f6db7e8b196dae7d12190 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -15,6 +15,7 @@
namespace {
enum Milestone {
+ M58,
M59,
M60,
M61,
@@ -26,6 +27,8 @@
// https://www.chromium.org/developers/calendar
switch (milestone) {
+ case M58:
+ return "M58, around April 2017";
case M59:
return "M59, around June 2017";
case M60:
@@ -114,10 +117,13 @@
}
String Deprecation::DeprecationMessage(CSSPropertyID unresolved_property) {
- // TODO: Add a switch here when there are properties that we intend to
- // deprecate.
- // Returning an empty string for now.
- return g_empty_string;
+ switch (unresolved_property) {
+ case CSSPropertyAliasMotionOffset:
+ return replacedWillBeRemoved("motion-offset", "offset-distance", M58,
+ "6390764217040896");
+ default:
+ return g_empty_string;
+ }
}
void Deprecation::CountDeprecation(const LocalFrame* frame,
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | third_party/WebKit/Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698