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

Unified Diff: Source/core/layout/style/AppliedTextDecoration.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/shapes/ShapeOutsideInfo.h ('k') | Source/core/layout/style/AppliedTextDecoration.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/style/AppliedTextDecoration.h
diff --git a/Source/core/layout/style/AppliedTextDecoration.h b/Source/core/layout/style/AppliedTextDecoration.h
deleted file mode 100644
index 9136f1811a2d81484c218df1ae87d98c16a27920..0000000000000000000000000000000000000000
--- a/Source/core/layout/style/AppliedTextDecoration.h
+++ /dev/null
@@ -1,33 +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 AppliedTextDecoration_h
-#define AppliedTextDecoration_h
-
-#include "core/css/StyleColor.h"
-#include "core/layout/style/ComputedStyleConstants.h"
-
-namespace blink {
-
-class AppliedTextDecoration {
-public:
- AppliedTextDecoration(TextDecoration, TextDecorationStyle, StyleColor);
- explicit AppliedTextDecoration(TextDecoration);
-
- TextDecoration line() const { return static_cast<TextDecoration>(m_line); }
- TextDecorationStyle style() const { return static_cast<TextDecorationStyle>(m_style); }
-
- bool isSimpleUnderline() const { return m_line == TextDecorationUnderline && m_style == TextDecorationStyleSolid && m_color.isCurrentColor(); }
- bool operator==(const AppliedTextDecoration&) const;
- bool operator!=(const AppliedTextDecoration& o) const { return !(*this == o); }
-
-private:
- unsigned m_line : TextDecorationBits;
- unsigned m_style : 3; // TextDecorationStyle
- StyleColor m_color;
-};
-
-} // namespace blink
-
-#endif // AppliedTextDecoration_h
« no previous file with comments | « Source/core/layout/shapes/ShapeOutsideInfo.h ('k') | Source/core/layout/style/AppliedTextDecoration.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698