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

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

Issue 2895283004: Replace AnimatableValues with ComputedStyle references for CSS Transitions (Closed)
Patch Set: Created 3 years, 7 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 "platform/wtf/Allocator.h" 9 #include "platform/wtf/Allocator.h"
10 #include "platform/wtf/text/AtomicString.h" 10 #include "platform/wtf/text/AtomicString.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class ComputedStyle; 14 class ComputedStyle;
15 class PropertyHandle;
15 16
16 class CSSPropertyEquality { 17 class CSSPropertyEquality {
17 STATIC_ONLY(CSSPropertyEquality); 18 STATIC_ONLY(CSSPropertyEquality);
18 19
19 public: 20 public:
20 static bool PropertiesEqual(CSSPropertyID, 21 static bool PropertiesEqual(const PropertyHandle&,
21 const ComputedStyle&, 22 const ComputedStyle&,
22 const ComputedStyle&); 23 const ComputedStyle&);
23
24 static bool RegisteredCustomPropertiesEqual(
25 const WTF::AtomicString& property_name,
26 const ComputedStyle&,
27 const ComputedStyle&);
28 }; 24 };
29 25
30 } // namespace blink 26 } // namespace blink
31 27
32 #endif // CSSPropertyEquality_h 28 #endif // CSSPropertyEquality_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698