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

Unified Diff: third_party/WebKit/Source/core/frame/UseCounter.h

Issue 1585383003: Add deprecation message for -webkit-background-composite (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/UseCounter.h
diff --git a/third_party/WebKit/Source/core/frame/UseCounter.h b/third_party/WebKit/Source/core/frame/UseCounter.h
index 11ebf3cbb33dbf53668a935d050d4124693d2908..b0b89d051898f8d876353d314d46c99b7fcdf3c8 100644
--- a/third_party/WebKit/Source/core/frame/UseCounter.h
+++ b/third_party/WebKit/Source/core/frame/UseCounter.h
@@ -991,12 +991,17 @@ public:
static void countDeprecation(const LocalFrame*, Feature);
static void countDeprecation(ExecutionContext*, Feature);
static void countDeprecation(const Document&, Feature);
+
+ static void showDeprecationWarning(const LocalFrame*, CSSPropertyID);
// Use countDeprecationIfNotPrivateScript() instead of countDeprecation()
// if you don't want to count metrics in private scripts. You should use
// countDeprecationIfNotPrivateScript() in a binding layer.
static void countDeprecationIfNotPrivateScript(v8::Isolate*, ExecutionContext*, Feature);
static String deprecationMessage(Feature);
+ // CSSPropertyIDs that aren't deprecated don't have a deprecation message.
alancutter (OOO until 2018) 2016/01/20 00:58:27 // CSSPropertyIDs that aren't deprecated return an
+ static String deprecationMessage(CSSPropertyID);
+
// Return whether the Feature was previously counted for this document.
// NOTE: only for use in testing.
static bool isCounted(Document&, Feature);
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp ('k') | third_party/WebKit/Source/core/frame/UseCounter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698