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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyleConstants.h

Issue 2914613002: Add keyword_subset field template and generate text-decoration-line. (Closed)
Patch Set: Rebase Created 3 years, 5 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 | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/ComputedStyleConstants.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
index 7e7726869d834e4ee4fb0f133710314601be221e..605797288f62665bfd9a12f867184cf4a2df5002 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyleConstants.h
@@ -149,27 +149,6 @@ enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE };
enum EAnimPlayState { kAnimPlayStatePlaying, kAnimPlayStatePaused };
-static const size_t kTextDecorationBits = 4;
-enum class TextDecoration : unsigned {
- kNone = 0x0,
- kUnderline = 0x1,
- kOverline = 0x2,
- kLineThrough = 0x4,
- kBlink = 0x8
-};
-inline TextDecoration operator|(TextDecoration a, TextDecoration b) {
- return static_cast<TextDecoration>(static_cast<unsigned>(a) |
- static_cast<unsigned>(b));
-}
-inline TextDecoration& operator|=(TextDecoration& a, TextDecoration b) {
- return a = static_cast<TextDecoration>(static_cast<unsigned>(a) |
- static_cast<unsigned>(b));
-}
-inline TextDecoration& operator^=(TextDecoration& a, TextDecoration b) {
- return a = static_cast<TextDecoration>(static_cast<unsigned>(a) ^
- static_cast<unsigned>(b));
-}
-
static const size_t kTextDecorationSkipBits = 3;
enum class TextDecorationSkip { kNone = 0x0, kObjects = 0x1, kInk = 0x2 };
inline TextDecorationSkip operator&(TextDecorationSkip a,
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698