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

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

Issue 1648593002: Revert of Add deprecation message for -webkit-background-composite (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef Deprecation_h
6 #define Deprecation_h
7
8 #include "core/CSSPropertyNames.h"
9 #include "wtf/BitVector.h"
10 #include "wtf/Noncopyable.h"
11
12 namespace blink {
13
14 class LocalFrame;
15
16 class Deprecation {
17 DISALLOW_NEW();
18 WTF_MAKE_NONCOPYABLE(Deprecation);
19 public:
20 Deprecation();
21 ~Deprecation();
22
23 static void warnOnDeprecatedProperties(const LocalFrame*, CSSPropertyID unre solvedProperty);
24
25 protected:
26 void suppress(CSSPropertyID unresolvedProperty);
27 bool isSuppressed(CSSPropertyID unresolvedProperty);
28 // CSSPropertyIDs that aren't deprecated return an empty string.
29 static String deprecationMessage(CSSPropertyID unresolvedProperty);
30
31 BitVector m_cssPropertyDeprecationBits;
32 };
33
34 } // namespace blink
35
36 #endif // Deprecation_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp ('k') | third_party/WebKit/Source/core/frame/Deprecation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698