| 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 BorderEdge_h | 5 #ifndef BorderEdge_h |
| 6 #define BorderEdge_h | 6 #define BorderEdge_h |
| 7 | 7 |
| 8 #include "core/style/ComputedStyleConstants.h" | 8 #include "core/style/ComputedStyleConstants.h" |
| 9 #include "platform/graphics/Color.h" | 9 #include "platform/graphics/Color.h" |
| 10 #include "wtf/Allocator.h" | 10 #include "platform/wtf/Allocator.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 struct BorderEdge { | 14 struct BorderEdge { |
| 15 STACK_ALLOCATED(); | 15 STACK_ALLOCATED(); |
| 16 | 16 |
| 17 public: | 17 public: |
| 18 BorderEdge(float edge_width, | 18 BorderEdge(float edge_width, |
| 19 const Color& edge_color, | 19 const Color& edge_color, |
| 20 EBorderStyle edge_style, | 20 EBorderStyle edge_style, |
| (...skipping 24 matching lines...) Expand all Loading... |
| 45 bool is_present; | 45 bool is_present; |
| 46 | 46 |
| 47 private: | 47 private: |
| 48 unsigned style : 4; // EBorderStyle | 48 unsigned style : 4; // EBorderStyle |
| 49 float width_; | 49 float width_; |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 } // namespace blink | 52 } // namespace blink |
| 53 | 53 |
| 54 #endif // BorderEdge_h | 54 #endif // BorderEdge_h |
| OLD | NEW |