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

Side by Side Diff: third_party/WebKit/Source/core/frame/Deprecation.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, 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 void clearSuppression();
25
26 protected:
27 void suppress(CSSPropertyID unresolvedProperty);
28 bool isSuppressed(CSSPropertyID unresolvedProperty);
29 // CSSPropertyIDs that aren't deprecated return an empty string.
30 static String deprecationMessage(CSSPropertyID unresolvedProperty);
31
32 BitVector m_cssPropertyDeprecationBits;
33 };
34
35 } // namespace blink
36
37 #endif // Deprecation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698