| Index: Source/core/rendering/style/BorderEdge.h
 | 
| diff --git a/Source/core/rendering/style/BorderEdge.h b/Source/core/rendering/style/BorderEdge.h
 | 
| new file mode 100644
 | 
| index 0000000000000000000000000000000000000000..38418578891d69addf0c92d07b283a9aec573d92
 | 
| --- /dev/null
 | 
| +++ b/Source/core/rendering/style/BorderEdge.h
 | 
| @@ -0,0 +1,41 @@
 | 
| +// Copyright 2014 The Chromium Authors. All rights reserved.
 | 
| +// Use of this source code is governed by a BSD-style license that can be
 | 
| +// found in the LICENSE file.
 | 
| +
 | 
| +#ifndef BorderEdge_h
 | 
| +#define BorderEdge_h
 | 
| +
 | 
| +#include "core/rendering/style/RenderStyleConstants.h"
 | 
| +#include "platform/graphics/Color.h"
 | 
| +
 | 
| +namespace blink {
 | 
| +
 | 
| +struct BorderEdge {
 | 
| +    BorderEdge(int edgeWidth, const Color& edgeColor, EBorderStyle edgeStyle, bool edgeIsTransparent, bool edgeIsPresent = true);
 | 
| +    BorderEdge();
 | 
| +
 | 
| +    bool hasVisibleColorAndStyle() const;
 | 
| +    bool shouldRender() const;
 | 
| +    bool presentButInvisible() const;
 | 
| +    bool obscuresBackgroundEdge(float scale) const;
 | 
| +    bool obscuresBackground() const;
 | 
| +    int usedWidth() const;
 | 
| +
 | 
| +    void getDoubleBorderStripeWidths(int& outerWidth, int& innerWidth) const;
 | 
| +
 | 
| +    bool sharesColorWith(const BorderEdge& other) const;
 | 
| +
 | 
| +    EBorderStyle borderStyle() const  { return static_cast<EBorderStyle>(style); }
 | 
| +
 | 
| +    int width;
 | 
| +    Color color;
 | 
| +    bool isTransparent;
 | 
| +    bool isPresent;
 | 
| +
 | 
| +private:
 | 
| +    unsigned style: 4; // EBorderStyle
 | 
| +};
 | 
| +
 | 
| +} // namespace blink
 | 
| +
 | 
| +#endif // BorderEdge_h
 | 
| 
 |