| 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 BoxBorderPainter_h | 5 #ifndef BoxBorderPainter_h |
| 6 #define BoxBorderPainter_h | 6 #define BoxBorderPainter_h |
| 7 | 7 |
| 8 #include "core/layout/BackgroundBleedAvoidance.h" | 8 #include "core/layout/BackgroundBleedAvoidance.h" |
| 9 #include "core/style/BorderEdge.h" | 9 #include "core/style/BorderEdge.h" |
| 10 #include "platform/geometry/FloatRoundedRect.h" | 10 #include "platform/geometry/FloatRoundedRect.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 70 |
| 71 void drawBoxSideFromPath(GraphicsContext&, | 71 void drawBoxSideFromPath(GraphicsContext&, |
| 72 const LayoutRect&, | 72 const LayoutRect&, |
| 73 const Path&, | 73 const Path&, |
| 74 float thickness, | 74 float thickness, |
| 75 float drawThickness, | 75 float drawThickness, |
| 76 BoxSide, | 76 BoxSide, |
| 77 Color, | 77 Color, |
| 78 EBorderStyle) const; | 78 EBorderStyle) const; |
| 79 void drawDashedDottedBoxSideFromPath(GraphicsContext&, | 79 void drawDashedDottedBoxSideFromPath(GraphicsContext&, |
| 80 const LayoutRect&, |
| 80 const Path&, | 81 const Path&, |
| 81 float thickness, | 82 float thickness, |
| 82 float drawThickness, | 83 float drawThickness, |
| 83 Color, | 84 Color, |
| 84 EBorderStyle) const; | 85 EBorderStyle) const; |
| 86 void drawWideDottedBoxSideFromPath(GraphicsContext&, |
| 87 const LayoutRect&, |
| 88 const Path&, |
| 89 float thickness) const; |
| 85 void drawDoubleBoxSideFromPath(GraphicsContext&, | 90 void drawDoubleBoxSideFromPath(GraphicsContext&, |
| 86 const LayoutRect&, | 91 const LayoutRect&, |
| 87 const Path&, | 92 const Path&, |
| 88 float thickness, | 93 float thickness, |
| 89 float drawThickness, | 94 float drawThickness, |
| 90 BoxSide, | 95 BoxSide, |
| 91 Color) const; | 96 Color) const; |
| 92 void drawRidgeGrooveBoxSideFromPath(GraphicsContext&, | 97 void drawRidgeGrooveBoxSideFromPath(GraphicsContext&, |
| 93 const LayoutRect&, | 98 const LayoutRect&, |
| 94 const Path&, | 99 const Path&, |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 bool m_isUniformStyle; | 140 bool m_isUniformStyle; |
| 136 bool m_isUniformWidth; | 141 bool m_isUniformWidth; |
| 137 bool m_isUniformColor; | 142 bool m_isUniformColor; |
| 138 bool m_isRounded; | 143 bool m_isRounded; |
| 139 bool m_hasAlpha; | 144 bool m_hasAlpha; |
| 140 }; | 145 }; |
| 141 | 146 |
| 142 } // namespace blink | 147 } // namespace blink |
| 143 | 148 |
| 144 #endif | 149 #endif |
| OLD | NEW |