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

Unified Diff: Source/core/rendering/style/StyleRareInheritedData.h

Issue 219633002: Proper support for multiple text decorations. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Resolve decoration colors dynamically. Created 6 years, 8 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
Index: Source/core/rendering/style/StyleRareInheritedData.h
diff --git a/Source/core/rendering/style/StyleRareInheritedData.h b/Source/core/rendering/style/StyleRareInheritedData.h
index 50cf4131846d65db58702b8175a944cdb5449ce0..c536d90579c546571ceaf3f37fdc62eb7b31b633 100644
--- a/Source/core/rendering/style/StyleRareInheritedData.h
+++ b/Source/core/rendering/style/StyleRareInheritedData.h
@@ -27,6 +27,7 @@
#include "core/css/StyleColor.h"
#include "core/rendering/style/DataRef.h"
+#include "core/rendering/style/RefVector.h"
#include "platform/Length.h"
#include "platform/graphics/Color.h"
#include "wtf/PassRefPtr.h"
@@ -35,11 +36,14 @@
namespace WebCore {
+class AppliedTextDecoration;
class CursorList;
class QuotesData;
class ShadowList;
class StyleImage;
+typedef RefVector<AppliedTextDecoration> AppliedTextDecorationList;
+
// This struct is for rarely used inherited CSS3, CSS2, and WebKit-specific properties.
// By grouping them together, we save space, and only allocate this object when someone
// actually uses one of these properties.
@@ -139,6 +143,8 @@ public:
Color tapHighlightColor;
+ RefPtr<AppliedTextDecorationList> appliedTextDecorations;
+
private:
StyleRareInheritedData();
StyleRareInheritedData(const StyleRareInheritedData&);

Powered by Google App Engine
This is Rietveld 408576698