| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 PropertyHandle_h | 5 #ifndef PropertyHandle_h |
| 6 #define PropertyHandle_h | 6 #define PropertyHandle_h |
| 7 | 7 |
| 8 #include "core/CSSPropertyNames.h" | 8 #include "core/CSSPropertyNames.h" |
| 9 #include "core/CoreExport.h" | 9 #include "core/CoreExport.h" |
| 10 #include "core/dom/QualifiedName.h" | 10 #include "core/dom/QualifiedName.h" |
| 11 #include "wtf/Allocator.h" | 11 #include "platform/wtf/Allocator.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 // Represents the property of a PropertySpecificKeyframe. | 15 // Represents the property of a PropertySpecificKeyframe. |
| 16 class CORE_EXPORT PropertyHandle { | 16 class CORE_EXPORT PropertyHandle { |
| 17 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 17 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
| 18 | 18 |
| 19 public: | 19 public: |
| 20 explicit PropertyHandle(CSSPropertyID property, | 20 explicit PropertyHandle(CSSPropertyID property, |
| 21 bool isPresentationAttribute = false) | 21 bool isPresentationAttribute = false) |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 } | 141 } |
| 142 | 142 |
| 143 static blink::PropertyHandle emptyValue() { | 143 static blink::PropertyHandle emptyValue() { |
| 144 return blink::PropertyHandle::emptyValueForHashTraits(); | 144 return blink::PropertyHandle::emptyValueForHashTraits(); |
| 145 } | 145 } |
| 146 }; | 146 }; |
| 147 | 147 |
| 148 } // namespace WTF | 148 } // namespace WTF |
| 149 | 149 |
| 150 #endif // PropertyHandle_h | 150 #endif // PropertyHandle_h |
| OLD | NEW |