Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1192)

Unified Diff: Source/core/layout/style/BorderEdge.h

Issue 1045723009: Move core/layout/style to core/style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/style/BorderData.h ('k') | Source/core/layout/style/BorderEdge.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/style/BorderEdge.h
diff --git a/Source/core/layout/style/BorderEdge.h b/Source/core/layout/style/BorderEdge.h
deleted file mode 100644
index 23296bbe107c92c066c71f940809a20062c5027d..0000000000000000000000000000000000000000
--- a/Source/core/layout/style/BorderEdge.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// 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/layout/style/ComputedStyleConstants.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
« no previous file with comments | « Source/core/layout/style/BorderData.h ('k') | Source/core/layout/style/BorderEdge.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698