| OLD | NEW |
| 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 "platform/wtf/Allocator.h" |
| 10 #include "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 | 15 |
| 16 class CSSPropertyEquality { | 16 class CSSPropertyEquality { |
| 17 STATIC_ONLY(CSSPropertyEquality); | 17 STATIC_ONLY(CSSPropertyEquality); |
| 18 | 18 |
| 19 public: | 19 public: |
| 20 static bool PropertiesEqual(CSSPropertyID, | 20 static bool PropertiesEqual(CSSPropertyID, |
| 21 const ComputedStyle&, | 21 const ComputedStyle&, |
| 22 const ComputedStyle&); | 22 const ComputedStyle&); |
| 23 | 23 |
| 24 static bool RegisteredCustomPropertiesEqual( | 24 static bool RegisteredCustomPropertiesEqual( |
| 25 const WTF::AtomicString& property_name, | 25 const WTF::AtomicString& property_name, |
| 26 const ComputedStyle&, | 26 const ComputedStyle&, |
| 27 const ComputedStyle&); | 27 const ComputedStyle&); |
| 28 }; | 28 }; |
| 29 | 29 |
| 30 } // namespace blink | 30 } // namespace blink |
| 31 | 31 |
| 32 #endif // CSSPropertyEquality_h | 32 #endif // CSSPropertyEquality_h |
| OLD | NEW |