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

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, 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 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 showConsoleWarning(const LocalFrame*, CSSPropertyID);
Timothy Loh 2016/01/25 04:48:41 please name all of the CSSPropertyID values here a
nainar 2016/01/25 05:33:22 Done.
24
25 protected:
26 void suppress(CSSPropertyID);
27 bool isSuppressed(CSSPropertyID);
28 // CSSPropertyIDs that aren't deprecated return an empty string.
29 static String deprecationMessage(CSSPropertyID);
30
31 BitVector m_cssPropertyDeprecationBits;
32 };
33
34 } // namespace blink
35
36 #endif // Deprecation_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698