| 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 BasicShapePropertyFunctions_h | 5 #ifndef BasicShapePropertyFunctions_h |
| 6 #define BasicShapePropertyFunctions_h | 6 #define BasicShapePropertyFunctions_h |
| 7 | 7 |
| 8 #include "core/CSSPropertyNames.h" | 8 #include "core/CSSPropertyNames.h" |
| 9 #include "core/style/BasicShapes.h" | 9 #include "core/style/BasicShapes.h" |
| 10 #include "core/style/ComputedStyle.h" | 10 #include "core/style/ComputedStyle.h" |
| 11 #include "wtf/Allocator.h" | 11 #include "platform/wtf/Allocator.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class ComputedStyle; | 15 class ComputedStyle; |
| 16 | 16 |
| 17 class BasicShapePropertyFunctions { | 17 class BasicShapePropertyFunctions { |
| 18 STATIC_ONLY(BasicShapePropertyFunctions); | 18 STATIC_ONLY(BasicShapePropertyFunctions); |
| 19 | 19 |
| 20 public: | 20 public: |
| 21 static const BasicShape* getInitialBasicShape(CSSPropertyID property) { | 21 static const BasicShape* getInitialBasicShape(CSSPropertyID property) { |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 break; | 58 break; |
| 59 default: | 59 default: |
| 60 NOTREACHED(); | 60 NOTREACHED(); |
| 61 } | 61 } |
| 62 } | 62 } |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace blink | 65 } // namespace blink |
| 66 | 66 |
| 67 #endif // BasicShapePropertyFunctions_h | 67 #endif // BasicShapePropertyFunctions_h |
| OLD | NEW |