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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSPropertyEquality.h

Issue 2730683002: Add CSS Transition support to registered custom properties (Closed)
Patch Set: Rebased Created 3 years, 9 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CSSPropertyEquality_h 5 #ifndef CSSPropertyEquality_h
6 #define CSSPropertyEquality_h 6 #define CSSPropertyEquality_h
7 7
8 #include "core/CSSPropertyNames.h" 8 #include "core/CSSPropertyNames.h"
9 #include "wtf/Allocator.h" 9 #include "wtf/Allocator.h"
10 #include "wtf/text/AtomicString.h"
10 11
11 namespace blink { 12 namespace blink {
12 13
13 class ComputedStyle; 14 class ComputedStyle;
14 15
15 class CSSPropertyEquality { 16 class CSSPropertyEquality {
16 STATIC_ONLY(CSSPropertyEquality); 17 STATIC_ONLY(CSSPropertyEquality);
17 18
18 public: 19 public:
19 static bool propertiesEqual(CSSPropertyID, 20 static bool propertiesEqual(CSSPropertyID,
20 const ComputedStyle&, 21 const ComputedStyle&,
21 const ComputedStyle&); 22 const ComputedStyle&);
23
24 static bool registeredCustomPropertiesEqual(
25 const WTF::AtomicString& propertyName,
26 const ComputedStyle&,
27 const ComputedStyle&);
22 }; 28 };
23 29
24 } // namespace blink 30 } // namespace blink
25 31
26 #endif // CSSPropertyEquality_h 32 #endif // CSSPropertyEquality_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698